diff --git a/composer.json b/composer.json index abeb0a7..6dfc8d4 100755 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": ">=7.1.3", - "laravel/framework": "^6.0" + "laravel/framework": "5.7 - 6" }, "autoload": { "psr-4": { diff --git a/readme.md b/readme.md index 57dbdfb..b13302f 100644 --- a/readme.md +++ b/readme.md @@ -6,3 +6,15 @@ [![License](https://poser.pugx.org/LaravelCollective/errors/license.svg)](https://packagist.org/packages/laravelcollective/errors) Official documentation for Errors for The Laravel Framework can be found at the [LaravelCollective](http://laravelcollective.com) website. + +## Installation +You can install the package via composer: +``` +composer require laravelcollective/errors +``` +Publish the error views and svgs: +``` +php artisan vendor:publish --provider="Collective\Errors\ErrorsServiceProvider" --tag="laravel-collective-errors" +``` + +That's it, enjoy your beautiful error pages! \ No newline at end of file