FastCodeCi are several command line interface tools for CodeIgniter 4 that allows you to quickly create a repetitive code in record time. The exit code is so clean that it allows modification without problems...
- Create CRUD of a table
- Create Panel Admin
- Create a Controller file
- Create a Model file
- Create a Entity file
- Create a Migration file
- Create a Command file.
1- Add the following to the require-dev
section of your project's
"cjam/fastcode-ci" :"dev-master"
2-composer update
3- open up /application/Config/Autoload.php
and create the FastCode
namespace in the $psr4
array:
$psr4 = [
'FastCode' => ROOTPATH.'vendor/cjam/fastcode-ci',
];
Everything is ready to start generating repetitive code with FastCodeCi
Commands | Functionality | Parameters |
---|---|---|
php spark create:crud |
Create CRUD from table | Table,Model name , Controller name |
php spark create:controller |
Create a Controller file | Controller name |
php spark create:model |
Create a Model file | Table , Model Name |
php spark create:entity |
Create a Entity file | Table |
php spark create:command |
Create a Command file | Command Name, Group , Description |
php spark create:migration |
Create a Migration file | Migration Name |
In all operations you need the Namespace parameter, if you leave it blank it is assumed that you are using App