Skip to content

willmendesneto/CI-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI-Tools Build Status

A code generator console for Codeigniter Framework. Based in other code generators

  • ZFTools (Zend Framework)
  • Artisan (Laravel Framework)
  • Bake (CakePHP)

How to use

1 Put in your project. You can:

  • Download this files;
  • Clone this repo;

2 Enable PHP command line in your project

After this, open de cmd and navigate to your project folder:

Windows

cd path/of/your/project/

Linux

ls path/of/your/project/

Methods

Generator:view

Generate a view file with the specified name in application/views directory

php ci-tools generator:view [name]

Generator:model

Generate a model file with the specified name in 'application/models' directory

php ci-tools generator:model [name] [methods]

OR

php ci-tools generator:model [name] [extends:class] [methods]

Generator:controller

Generate a controller file with the specified name in application/controllers directory

php ci-tools generator:controller [name] [methods]

OR

php ci-tools generator:controller [name] [extends:class] [methods]

Generator:assets

Generate a view file with the specified name in assets/ directory

php ci-tools generator:assets [name]

List of the external assets files:

Javascript

CSS

Generator:key

Generate a encryption_key for the application in application/config/config.php file

php ci-tools generator:key

* New features soon

About

A code generator console for Codeigniter Framework.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages