Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.45 KB

README.md

File metadata and controls

64 lines (40 loc) · 1.45 KB

Database-ENV

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer:

composer require pdmfc/database-env-php-8-support

Usage

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

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.