You can install the package via composer:
composer require pdmfc/database-env-php-8-supportAdd the DatabaseEnv setConfig() to AppServiceProvider
// app/Providers/AppServiceProvider.php
public function boot(): void
{
DatabaseEnv::setConfig();
...
}Run the DatabaseEnv migration
php artisan migrateRun the DatabaseEnv command database-env:add to add the key=value pair variable of .env to database
composer testPlease see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email vhugo@vitorhugo.pt 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.