Database Commands for CodeIgniter 4
Switch branches/tags
Nothing to show
Clone or download
Latest commit ce054d1 Nov 16, 2018
Permalink
Failed to load latest commit information.
src Update Nov 16, 2018
.gitignore Update preview image location Nov 8, 2018
README.md Update Nov 16, 2018
composer.json Update Nov 16, 2018

README.md

Database Commands for CodeIgniter 4

Adds the following commands to the Database group:

Command Description
db:create Creates a database
db:delete Deletes a database
db:delete_table Deletes a database table
db:list Lists databases
db:query Executes a SQL query
db:show Shows databases information
db:show_table Shows a database table structure

Preview

Image of Database Commands for CodeIgniter 4

Configuration

Map the NatanFelles\CodeIgniter\DB namespace to the src folder of this project.

For example:

Open the application/Config/Autoload.php file and add a $psr4 index like this:

$psr4['NatanFelles\CodeIgniter\DB'] = ROOTPATH . 'codeigniter-db/src';

Contribute

Any contribution related to bugs or improvements of this project will be very well accepted.

If you can, consider a donation:

Paypal donation