liz / model-console
a slim model console
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/liz/model-console
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2025-10-13 23:54:12 UTC
README
update 2017-12-31
add default value to model if the field desc have 'DEFULT'
step 0
mv bin/ dir to project document_root
orm demo in the bin/ dir mv to your path
create database
this command will create a database for your config
php bin/console.php orm:database:create app //config project name(in relations option)
make model
this command will make the app's models to dir /app/src/Finder and finders to dir /app/src/Model
php bin/console.php orm:model:make app
table update
this command will update table by config file
php bin/console.php orm:table:update app