You can install the package via composer:
composer require pdmfc/database-env-php-8-support
Add the DatabaseEnv setConfig()
to AppServiceProvider
// app/Providers/AppServiceProvider.php
public function boot(): void
{
DatabaseEnv::setConfig();
...
}
Run the DatabaseEnv migration
php artisan migrate
Run the DatabaseEnv command database-env:add
to add the key=value pair variable of .env to database
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.