narolalabs / error-lens
See, Understand, and Handle Laravel Errors using ErrorLens
Requires
- php: ^7.3|^8.0|^8.1
- jenssegers/agent: ^2.6
- ramsey/uuid: ^4.2|^4.7
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^5.0|^7.8
- orchestra/testbench: ^6.34.0|^8.8
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
This package is auto-updated.
Last update: 2024-05-02 03:42:51 UTC
README
Version Compatibility
PHP | 7.3, 7.4, 8.0, 8.1 |
---|---|
Laravel | 8.x, 9.x, 10.x |
Installation
Please adhere to the following instructions meticulously to successfully complete the installation process.
Package Installation (Required)
composer require narolalabs/error-lens
Install recommended migration, assets and seeder with single command. (Required)
php artisan error-lens:install
To safeguard against unauthorized access, you can set or reset the username and password for authentication. (Highly recommended but optional)
php artisan error-lens:authentication
Set the configuration as APP_ENV=production
and APP_DEBUG=false
and clear the cache by below command.
php artisan config:clear
Finally, To view all the error logs, visit the https://domain.com/error-lens
Upgrade
While you upgrade the package and wish to install recommended configurations, you can do that with a single command.
php artisan error-lens:update
Additional Configurations
In case you face any issues with the above installation and upgrade commands, you can resolve them by running the individual commands provided below.
Publish and run migration
php artisan vendor:publish --tag="error-lens-migrations"
php artisan migrate
Publish Assets
php artisan vendor:publish --tag="error-lens-assets" --force
If you are not aware or confused about the setting configurations, you can publish the seeder and run it.
php artisan vendor:publish --tag=error-lens-seeds
php artisan db:seed --class=ErrorLensConfigurationSeeder
Screenshots
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.