The TastyIgniter DebugBar extension a seamless integration of barryvdh/laravel-debugbar and ide-helper, is a powerful tool for developers. It provides a convenient way to profile your TastyIgniter application and generate helper files for IDEs, making local development a breeze.
- Profiling: Measure and visualize the performance of your application.
- Database Queries: Monitor and optimize your database queries.
- IDE Helper: Generate helper files for your IDE to improve code completion and navigation.
You can install the extension via composer using the following command:
composer require tastyigniter/ti-ext-debugbar:"^4.0" -W
To enable the DebugBar, set APP_DEBUG
to true
in your .env
file. Once enabled, the DebugBar will appear at the bottom of all admin pages. Please note, you must be logged in as an admin to view the DebugBar on the frontend.
You can measure the time of your code execution by using the Debugbar
facade:
use Debugbar;
Debugbar::startMeasure('render','Time for rendering');
// Do something
Debugbar::stopMeasure('render');
To generate IDE helper files, which improve code completion and navigation in your IDE, run the following command:
php artisan ide-helper:generate
Please see CHANGELOG for more information on what has changed recently.
If you encounter a bug in this extension, please report it using the Issue Tracker on GitHub.
Contributions are welcome! Please read TastyIgniter's contributing guide.
For reporting security vulnerabilities, please see our our security policy.
TastyIgniter Coupons extension is open-source software licensed under the MIT license.