PHP code example of behzadhosseinpoor / laravel-database-manager
1. Go to this page and download the library: Download behzadhosseinpoor/laravel-database-manager 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/ */
behzadhosseinpoor / laravel-database-manager example snippets
bash
php artisan database-manager:install
config/database-manager.php
return [
'default_connection' => env('DATABASE_MANAGER_DEFAULT_CONNECTION'),
'name' => env('DATABASE_MANAGER_NAME'),
'domain' => env('DATABASE_MANAGER_DOMAIN'),
'path' => env('DATABASE_MANAGER_PATH', 'database-manager'),
'middleware' => [
'web'
],
'connections' => [
'mysql'
]
];