gloudemans/laravel-whoops-css

Copy the custom Laravel Whoops resources to the vendor folder.
27 1
Install
composer require gloudemans/laravel-whoops-css
PHP:>=5.4.0
Last Updated:Jul 7, 2014
Links: GitHub  ·  Packagist
Maintainer: Crinsane

LaravelWhoopsCSS

Build Status

Would you, like me, like to have the old orange Whoops error page back in you Laravel 4.2 application? This is the package for you!

Installation

Install the package through Composer. Edit your project's composer.json file by adding:

"require": {
	"laravel/framework": "4.1.*",
	"gloudemans/laravel-whoops-css": "dev-master"
}

Next, run the Composer update command from the Terminal:

composer update

Now all you have to do is add the service provider of the package and alias the package. To do this open your app/config/app.php file.

Add a new line to the service providers array:

'Gloudemans\LaravelWhoopsCSS\LaravelWhoopsCSSServiceProvider'

Now you have access to a new Artisan command to copy the orange css styles back to the Whoops resources directory:

php artisan whoops:copy

If you want to set your application up to update these styles every time Whoops is updated, add these commands to the post-install-cmd and post-update-cmd.

"post-install-cmd": [
	"php artisan clear-compiled",
	"php artisan whoops:copy",
	"php artisan optimize"
],
"post-update-cmd": [
	"php artisan clear-compiled",
	"php artisan whoops:copy",
	"php artisan optimize"
]

Related Packages

ampeco/nova-date-range-filter

A Laravel Nova date range filter.

1,047,168 35
laravel-frontend-presets/material-dashboard

Laravel 9.x Front-end preset for material dashboard

293,364 263
darsain/laravel-console

Browser console for Laravel Framework.

57,243 168
teepluss/console

Browser console for Laravel Framework.

51,696 43
andreia/filament-nord-theme

A minimalist Arctic Nord theme for FilamentPHP

47,471 138