PHP code example of vynatu / database-config
1. Go to this page and download the library: Download vynatu/database-config 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/ */
vynatu / database-config example snippets
'providers' => [
...
Vynatu\DatabaseConfig\ConfigServiceProvider::class,
]
// To permanently save items in the database
config()->set('mail.driver', 'mailgun', true); // The last argument sets wether or not to make this change permanent.
bash
php artisan migrate