Download the PHP package hafijul233/ci-recharge without Composer
On this page you can find all versions of the php package hafijul233/ci-recharge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hafijul233/ci-recharge
More information about hafijul233/ci-recharge
Files in hafijul233/ci-recharge
Package ci-recharge
Short Description CLI and Graphical Interface Tools for Codeigniter 4
License MIT
Informations about the package ci-recharge
Codeigniter4 Recharge
CI-recharge is a CLI Tools for skeleton file generation for CodeIgniter4 PHP Framework. It is currently offering only skeleton generation using the php spark make commands. Default Namespace for all files are App and location will be detected from autoloader services.
Features
Currently available features
- Configuration File
- Configuration File with Namespace
- Basic Controller File
- Basic Controller with Namespace
- Basic Controller with Specific Parent Class
- REST Controller File
- REST Controller with Namespace
- REST Controller with Specific Parent Class
- Entity File
- Entity File with Namespace
- Filter File
- Filter File with Namespace
- Migration File
- Migration File with Namespace
- Model File
- Model File with Namespace
- Seeder File
- Seeder File with Namespace
Notices
CI-Recharge Dose not create any folder to store files. For Entity a folder named
Entitiesmust be created under namespace Example: - app
- Config
- Controllers
Entities- Models
- Views
Command Syntax
Detail Implementation of every command are given in src\Example\ Folder.
nsrepresents Namespace nameconfrepresents Configuration namecontrepresents Controller namerestrepresents Rest Controller namebaserepresents Base Controller nameenrepresents Entity namefnrepresents Filter namemgrepresents Migration namemdrepresents Model namesdrepresents Seeder name
Basic Syntax are given below for make series:
| Command | syntax |
|---|---|
| Config | php spark create:config |
| Config with Namespace | php spark create:config -n ns |
| Controller | php spark create:controller cont |
| Controller with Namespace | php spark create:controller cont -n ns |
| Controller with Parent | php spark create:controller cont -b base |
| Controller with Parent and Namespace | php spark create:controller cont -n ns -b base |
| REST Controller | php spark create:controller cont -rest |
| REST Controller with Namespace | php spark create:controller cont -n ns -rest |
| REST Controller with Parent | php spark create:controller cont -b base -rest |
| REST Controller with Parent and Namespace | php spark create:controller cont -n ns -b base -rest |
| Entity | php spark create:entity en |
| Entiy with Namespace | php spark create:entity en -n ns |
| Filter | php spark create:filter fn |
| Filter with Namespace | php spark create:filter fn -n ns |
| Migration | php spark create:migrate mg |
| Migration with Namespace | php spark create:migrate mg -n ns |
| Model | php spark create:model md |
| Model with Namespace | php spark create:model md -n ns |
| Seeder | php spark create:seed sd |
| Seeder with Namespace | php spark create:seed sd -n ns |
Future Development
- Create new migration files from existing database tables
- Create new seeder files from table data

