rtablada / traffic-signs
Installs: 510
Dependents: 0
Suggesters: 0
Security: 0
Stars: 17
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/rtablada/traffic-signs
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
- illuminate/view: 4.0.x
- symfony/http-foundation: 2.3.*
This package is not auto-updated.
Last update: 2025-10-20 19:16:04 UTC
README
Traffic Signs is a simple Package that aims to add pretty error pages for simple production projects in Laravel 4.
Traffic Signs simply listens for an error code and then returns a nice view in response with an error message.
Installation
This package is distributed using Composer. To install this, simply add "rtablada/traffic-signs": "dev-master" to your composer.json.
Then in your /app/config/app.php file, add 'Rtablada\TrafficSigns\TrafficSignsServiceProvider', to your Service Providers.
Using Traffic Signs
Traffic Signs works behind the scenes and listens for HTTP Exceptions. To try this out, browse to an unset route and see a new 404 page.
I am working to make Traffic Signs more flexible and stronger.
Configuration
You can further configure by publishing the config using php artisan config:publish rtablada/traffic-signs.
To change the messages for different error codes by modifying key value pages.
You can set a custom error view by changing the view property. The View is sent $code and $message variables.