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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:PHP 69.2%Language:Hack 30.8%