Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ specific driver(s) of your choosing.

This __will override__, at runtime, any `default` database connection values for `host`, `port`, `username`, `password`, and `database`

> Laravel 5.8+ supports Database URL config officially. See [Laravel Database Config](https://laravel.com/docs/5.8/database#configuration).

## Requirements
(package will likely work with prior versions of Laravel and PHP but is untested)
- PHP >= 7.1.3
- Laravel >= 5.6
- Laravel 5.6 or 5.7

## Installation
`$ composer require rootinc/laravel-db-url`
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "library",
"require": {
"php": "^7.1.3",
"laravel/framework": "^5.6"
"laravel/framework": "^5.6|^5.7"
},
"license": "MIT",
"authors": [
Expand Down