O'Reilly logo

Learning FuelPHP for Effective PHP Development by Ross Tweedie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Profiling

FuelPHP includes a profiler which is based on PHP Quick Profiler. This allows you to profile and debug your code, all without needing to write extra functions within the application. The profiler can be switched on and off via the application config.php file. To enable the profiler, simply change the 'profiling' variable to true, and set it to false to disable the profiler.

The profiler also includes a database-profiling tool, but, due to the resources required, it is disabled by default. The database profiler will need to be enabled corresponding to the environment used so that the development environment can have it enabled without affecting other environments. It can be enabled in the environment's db.php file using the true value, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required