Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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...
- Host: GitHub
- URL: https://github.com/cjamcu/fastcode-ci
- Owner: cjamcu
- License: mit
- Archived: true
- Created: 2018-08-23T19:23:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-25T14:31:19.000Z (over 6 years ago)
- Last Synced: 2024-07-31T20:45:48.565Z (5 months ago)
- Topics: code-generator, codeigniter
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- cuban-opensource - fastcode-ci
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`**