muravian/cigen

Code generates following files in CodeIgniter 4 : models, controllers, routes.

1.0.0 2022-01-11 22:03 UTC

This package is auto-updated.

Last update: 2024-04-12 03:02:40 UTC


README

Code generates following files in CodeIgniter 4 : models, controllers, routes

Created to be used with React DataTable CRUD : https://www.npmjs.com/package/react-datatable-crud

#Installing

Because the package it's still under development in order to install it you'd need first to:

composer config minimum-stability dev

This will allow you to install dev packages.

composer require muravian/cigen

Once installed you need to make sure that you connected to db and created your tables.

CiGen will generate models that will extend a base model in your app folder.

To run the generator you'll need to:

php spark cigen:publish

After this you can successfully install https://www.npmjs.com/package/react-datatable-crud and enjoy your REACT DATATABLE CRUD component with backend API in Codeigniter.