drwrf/mismatch
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
╔██╗ ███╗ ███╗██╗███████╗███╗ ███╗ █████╗ ████████╗ ██████╗██╗ ██╗ ██╗ ██╔╝ ████╗ ████║██║██╔════╝████╗ ████║██╔══██╗╚══██╔══╝██╔════╝██║ ██║ ╚██╗ ██║ ██╔████╔██║██║███████╗██╔████╔██║███████║ ██║ ██║ ███████║ ██║ ██║ ██║╚██╔╝██║██║╚════██║██║╚██╔╝██║██╔══██║ ██║ ██║ ██╔══██║ ██║ ╚██╗ ██║ ╚═╝ ██║██║███████║██║ ╚═╝ ██║██║ ██║ ██║ ╚██████╗██║ ██║ ██╔╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚ A S I M P L E L I B R A R Y F O R C O M P L E X T Y P E S ╝ ╚================================================================╝ Mismatch is a PHP 5.4 library designed to help you quickly model your domain. Take a look, you might like it. <?php namespace Model; use Mismatch; class User { use Mismatch\Model; public function init($m) { $m->id = 'Integer'; $m->name = 'String'; $m->email = 'Email'; $m->role = 'BelongsTo[Model\Role]'; $m->addresses = 'HasMany[Model\Address]'; } }
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published