Download the PHP package adobrovolsky97/illuminar without Composer
On this page you can find all versions of the php package adobrovolsky97/illuminar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adobrovolsky97/illuminar
More information about adobrovolsky97/illuminar
Files in adobrovolsky97/illuminar
Package illuminar
Short Description Debug tool for Laravel Framework
License MIT
Informations about the package illuminar
Illuminar
Illuminar is a Laravel package that provides a set of watchers to track various activities in your application. It is designed to help developers monitor and debug their applications more effectively.
Features
-
Dumps
-
DB Queries: all queries including slow, duplicated, group duplicated queries
-
Model Events Tracking
-
Jobs Tracking
-
Events Tracking
-
Cache Tracking
-
Sent Mail Tracking & Mailable Previews
-
HTTP Request Tracking
-
Environment Variables
- Exceptions Tracking
Installation
You can install the package via composer:
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
Configuration
You can configure Illuminar by publishing its configuration file:
This will publish required assets
to public/vendor/illuminar
and illuminar.php
config file to your config
directory. In this file, you can
enable or disable Illuminar and configure its watchers.
Usage
Enabling Illuminar
Illuminar is enabled when ILLUMINAR_ENABLED=true
in your .env
file.
Debug data can be viewed at the APP_URL/illuminar
route.
Dumps
Illuminar provides a illuminar()->dump(...$args)
function that can be used to dump variables to the illuminar screen.
It is similar to the dd
helper function, but it does not terminate the script execution.
There is a blade directive @illuminar(...$args)
that can be used to dump variables to the illuminar screen from blade templates.
It is possible to add custom tags and colors to the dump, so it is easier to find it in the dump list.
DB Queries & Slow Queries Tracking
Illuminar can track all DB queries and slow queries. It will display the query, bindings, execution time, and query caller.
Model Events Tracking
Illuminar can track all model events. It will display the event name, model event caller and attributes changes.
By default, it is tracking: 'restored', 'updated', 'created', 'deleted'. It is possible to update it in the config file.
Jobs Tracking
Illuminar can track all jobs. It will display the job name, job caller, job status, and job payload.
Events Tracking
Illuminar can track all events. It will display the event name, event caller, and event payload.
Cache Tracking
Illuminar can track all cache operations. It will display the cache operation name, cache operation caller, and cache operation payload.
Sent Mail Tracking & Mailable Previews
Illuminar can track all sent mails. It will display the mail subject, mail recipient, mail sender, and mail payload, also it is possible to view mail content after it is being sent or event without sending it.
HTTP Request Tracking
Illuminar can track all HTTP requests. It will display the request method, request url, request headers, request payload, and request caller.
Environment Variables
Illuminar can display all environment variables.
Exceptions Tracking
Illuminar can track all exceptions. It will display the exception data.
Illuminar stores data to the storage/illuminar
directory and the data is being re-written on each request.
It could be used to debug the application not only on local but also on dev or production as it does not store a lot of data so the database will not be overloaded and could be easily disabled with .env variable.
License
The Illuminar package is open-sourced software licensed under the MIT license.
All versions of illuminar with dependencies
ext-json Version *
laravel/framework Version ^8.37|^9.0|^10.0|^11.0
symfony/var-dumper Version ^5.4|^6.0|^7.0
guzzlehttp/guzzle Version ^7.0