Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.

Latest commit

 

History

History
43 lines (32 loc) · 1.59 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.59 KB

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

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

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