9 | @endsection
10 |
11 | @section('message', __($exception->getMessage() ?: __('Sorry, we are doing some maintenance. Please check back soon.')))
12 |
--------------------------------------------------------------------------------
/src/ErrorsServiceProvider.php:
--------------------------------------------------------------------------------
1 | publishes([
17 | __DIR__.'/publish/errors' => resource_path('views/errors'),
18 | __DIR__.'/publish/svg' => public_path('svg'),
19 | ], 'laravel-collective-errors');
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/publish/svg/laravel.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | [](https://packagist.org/packages/laravelcollective/errors)
4 | [](https://packagist.org/packages/laravelcollective/errors)
5 | [](https://packagist.org/packages/laravelcollective/errors)
6 | [](https://packagist.org/packages/laravelcollective/errors)
7 |
8 | Official documentation for Errors for The Laravel Framework can be found at the [LaravelCollective](http://laravelcollective.com) website.
9 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "laravelcollective/errors",
3 | "description": "Error pages for the Laravel Framework",
4 | "license": "MIT",
5 | "homepage": "https://laravelcollective.com",
6 | "support": {
7 | "issues": "https://github.com/LaravelCollective/errors/issues",
8 | "source": "https://github.com/LaravelCollective/errors"
9 | },
10 | "authors": [
11 | {
12 | "name": "Matt Lantz",
13 | "email": "matt@laravelcollective.com"
14 | }
15 | ],
16 | "require": {
17 | "php": ">=7.1.3",
18 | "laravel/framework": "^6.0|^7.0"
19 | },
20 | "autoload": {
21 | "psr-4": {
22 | "Collective\\Errors\\": "src/"
23 | }
24 | },
25 | "extra": {
26 | "branch-alias": {
27 | "dev-master": "1.0-dev"
28 | },
29 | "laravel": {
30 | "providers": [
31 | "Collective\\Errors\\ErrorsServiceProvider"
32 | ]
33 | }
34 | },
35 | "minimum-stability": "dev",
36 | "prefer-stable": true,
37 | "abandoned": true
38 | }
39 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Matt Lantz
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/src/publish/svg/404.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/publish/svg/503.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/publish/svg/403.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/publish/errors/illustrated-layout.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | @yield('title')
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
458 |
459 |
460 |