Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cjamcu/fastcode-ci

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...
https://github.com/cjamcu/fastcode-ci

code-generator codeigniter

Last synced: about 2 months ago
JSON representation

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...

Awesome Lists containing this project

README

        

# FastCodeCi
**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...

## Functionalities

- [x] Create CRUD of a table
- [ ] Create Panel Admin
- [x] Create a Controller file
- [x] Create a Model file
- [x] Create a Entity file
- [x] Create a Migration file
- [x] Create a Command file.

## Installation
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',
];
```

## Start using it
Everything is ready to start generating repetitive code with FastCodeCi

### Commands

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`**