News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Whoops! PHP Errors for Cool Kids
June 06, 2013 @ 10:46:12

On NetTuts.com there's a new post spotlighting an interesting tool you can use to help make debugging an easier (and prettier) experience in PHP, the Whoops library.

Whoops is a small library, available as a Composer package, that helps you handle errors and exceptions across your PHP projects. Out of the box, you get a sleek, intuitive and informative error page each time something goes pants-up in your application.

It provides you with detailed error messages, a "code view" of where the error was found, support for Ajax/JSON requests and providers for several popular frameworks. The system is made up of a set of handlers that execute in order to provide the resulting page of output. He goes through how to install the tool (via Composer) and what you'll need to know to put it to use. He shows how to change up some of the configuration options and add in some extra info to the output. There's also a section specifically about integrating it with the Laravel 4 framework.

0 comments voice your opinion now!
whoops error output composer tutorial introduction

Link: http://net.tutsplus.com/tutorials/php/whoops-php-errors-for-cool-kids

blog comments powered by Disqus

Similar Posts

Till Klampaeckel's Blog: Yahoo: oauth_problem=consumer_key_rejected

SitePoint PHP Blog: The Joy of Regular Expressions [2]

Zend Developer Zone: Accepting Credit Card Payments with OXID eShop CE and AlertPay

Errumm.co.uk: My first experience in building a FaceBook Application in PHP

Christopher Kunz's Blog: Warning about the article "SQL Injection" in current "PHP Magazin"


Community Events











Don't see your event here?
Let us know!


podcast hack code symfony2 application overview hhvm security composer component language example package opinion introduction framework install facebook release unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework