Skip to content

Console tools for Codeigniter3, allows to work with migrations and app files

Notifications You must be signed in to change notification settings

vimalmistry/codeigniter-terminal-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

CodeIgniter Terminal Tools

Maintenance controller for CodeIgniter3 console

Migration configs

Open /application/config/migration.php and set:

$config['migration_enabled'] = TRUE;
$config['migration_type'] = 'timestamp';

Terminal commands

Migration commands:
tools migration "name"            Create new migration file.
tools migrate "version"           Run all migrations. The version number is optional.
tools reset "version"             Reset all migrations. The version number is optional.

File commands:
tools controller "name"           Create new controller.
tools model "name"                Create new model.
tools library "name"              Create new library.

--------------------------------------------------------------------------------------
Example:
php index.php tools help

About

Console tools for Codeigniter3, allows to work with migrations and app files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages