2017 © Pedro Peláez
 

library model-console

a slim model console

image

liz/model-console

a slim model console

  • Tuesday, January 23, 2018
  • by l396635210
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Model Console

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, (*1)

    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, (*2)

    php bin/console.php orm:model:make app

table update

this command will update table by config file, (*3)

    php bin/console.php orm:table:update app

The Versions

23/01 2018

dev-master

9999999-dev

a slim model console

  Sources   Download

MIT

The Requires

  • php >=5.6

 

by liz

slim model console