From 50b40d000daab17fa185f068a693f4df621f09db Mon Sep 17 00:00:00 2001 From: John Braun Date: Thu, 10 Oct 2019 22:12:59 +0200 Subject: [PATCH 1/3] Allow Laravel 5.7 up until 6.* --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index abeb0a7..0021a40 100755 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "laravelcollective/errors", + "name": "jhnbrn90/laravel-errors", "description": "Error pages for the Laravel Framework", "license": "MIT", "homepage": "https://laravelcollective.com", @@ -15,7 +15,7 @@ ], "require": { "php": ">=7.1.3", - "laravel/framework": "^6.0" + "laravel/framework": "5.7 - 6" }, "autoload": { "psr-4": { From 8a25837f21c0b6d3ac296bb8606adf5f9fc409da Mon Sep 17 00:00:00 2001 From: John Braun Date: Thu, 10 Oct 2019 22:13:28 +0200 Subject: [PATCH 2/3] Add installation instructions --- readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 From 145a5e4b190b2b3c4cbeae501ca3943b39556ade Mon Sep 17 00:00:00 2001 From: John Braun Date: Fri, 11 Oct 2019 05:47:06 +0200 Subject: [PATCH 3/3] Restore name of the package For local testing purposes, I've renamed the package but forgot to change it back. This commit restores the original package name. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0021a40..6dfc8d4 100755 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "jhnbrn90/laravel-errors", + "name": "laravelcollective/errors", "description": "Error pages for the Laravel Framework", "license": "MIT", "homepage": "https://laravelcollective.com",