2017 © Pedro Peláez
 

library laravel-whoops-css

Copy the custom Laravel Whoops resources to the vendor folder.

image

gloudemans/laravel-whoops-css

Copy the custom Laravel Whoops resources to the vendor folder.

  • Monday, July 7, 2014
  • by Crinsane
  • Repository
  • 1 Watchers
  • 1 Stars
  • 21 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

LaravelWhoopsCSS

Build Status, (*1)

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!, (*2)

Installation

Install the package through Composer. Edit your project's composer.json file by adding:, (*3)

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

Next, run the Composer update command from the Terminal:, (*4)

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., (*5)

Add a new line to the service providers array:, (*6)

'Gloudemans\LaravelWhoopsCSS\LaravelWhoopsCSSServiceProvider'

Now you have access to a new Artisan command to copy the orange css styles back to the Whoops resources directory:, (*7)

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., (*8)

"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"
]

The Versions

07/07 2014

dev-master

9999999-dev

Copy the custom Laravel Whoops resources to the vendor folder.

  Sources   Download

The Requires

 

by Rob Gloudemans