Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willmendesneto/ci-tools
A code generator console for Codeigniter Framework.
https://github.com/willmendesneto/ci-tools
Last synced: about 2 months ago
JSON representation
A code generator console for Codeigniter Framework.
- Host: GitHub
- URL: https://github.com/willmendesneto/ci-tools
- Owner: willmendesneto
- Created: 2013-01-15T15:16:02.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-13T12:54:15.000Z (over 11 years ago)
- Last Synced: 2023-03-23T03:36:53.286Z (almost 2 years ago)
- Language: PHP
- Size: 779 KB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CI-Tools [![Build Status](https://travis-ci.org/willmendesneto/CI-Tools.png?branch=master)](https://travis-ci.org/willmendesneto/CI-Tools)
=================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
* jquery.js (http://code.jquery.com/jquery.min.js)
* backbone.js (http://backbonejs.org/backbone.js)
* underscore.js (http://underscorejs.org/underscore.js)
* handlebars.js (http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js)
* jasmine-jquery.js (https://raw.github.com/velesin/jasmine-jquery/master/lib/jasmine-jquery.js)
* live.js (http://livejs.com/live.js)CSS
* normalize.css (https://raw.github.com/necolas/normalize.css/master/normalize.css)
* reset.css (http://meyerweb.com/eric/tools/css/reset/reset200802.css')### Generator:key
Generate a encryption_key for the application in `application/config/config.php` file
php ci-tools generator:key
### * New features soon