Automatically parse and load the DATABASE_URL
alexwijn/laravel-database-url is a Laravel package for automatically parse and load the database_url.
It currently has 0 GitHub stars and 1.504 downloads on Packagist.
Install it with composer require alexwijn/laravel-database-url.
Discover more Laravel packages by alexwijn
or browse all Laravel packages to compare alternatives.
Last updated
This package will provide automatically parse and configure you Laravel application to use the custom environment variables that commonly used for services like Heroku and Docker.
Require this package with composer.
composer require alexwijn/laravel-database-url
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
Alexwijn\DatabaseUrl\ServiceProvider::class,
At the moment we support the following configurations: