Simple bash script to auto create model and controller from codeignator project root
Copy mazzako.sh to your_codeignator_project_root
Add executable permission
To create model
./mazzako.sh model YourModelName
To create Controller
./mazzako.sh controller YourControllerName
Check Model and Controller folder, this script already has basic php script for specific model or controller
Won't replace existing File
must include modeles or controllers folders
- Add auto route on routes.php
- View generate
- Generate Helper, Library,Hooks
- List Library, helpers,Hooks
- check codeignator Version
- List All registered routes
- Set and generate Base/Site url