rahpt / cli-crud
Cli-Crud is an extension of CodeIgniter4 spark CLI. It will help you generate template files more quickly when developing projects with CodeIgniter4
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rahpt/cli-crud
Requires
- php: ^7.3 || ^8.0
- codeigniter4/framework: ^4
This package is auto-updated.
Last update: 2025-10-10 07:37:00 UTC
README
CI4 Spark CLI Extension
Cli-Crud is an extension of CodeIgniter4 spark CLI. It will help you generate template files more quickly when developing projects with CodeIgniter4.
Install
Prerequisites
- CodeIgniter Framework 4.*
- Composer
Composer Install
composer require rahpt/cli-crud
Guide
crud:controller
Create a new controller file.
-
Use
$ php spark create:controller [controller_name] [Options] -
Description:
Create a new controller file. -
Arguments:
- controller_name : The controller name.
-
Options:
-nobase Do not extends BaseControllers Class. -usemodel Choose models. -space Create folders and files according to the path you typed.