PHP code example of apps-inteligentes / laravel-multi-database-commands
1. Go to this page and download the library: Download apps-inteligentes/laravel-multi-database-commands library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
apps-inteligentes / laravel-multi-database-commands example snippets
return [
/*
* Add here the list of all database connection.
* You can find the connection names in config file: database.connections
*/
'databases' => [
]
];
bash
php artisan vendor:publish --provider="HenryAvila\LaravelMultiDatabaseCommands\LaravelMultiDatabaseCommandsServiceProvider" --tag="laravel_multi_database_commands-config"