lawnstarter / laravel-log-test
a simple command that allows you to test the laravel logging functionality
Installs: 1 747
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 0
Open Issues: 1
Requires (Dev)
- laravel/laravel: ^6.12
- mockery/mockery: ^1.3
- phpunit/phpunit: ^9.1@dev
This package is auto-updated.
Last update: 2024-11-10 00:46:06 UTC
README
This package offers a simple command that lets you test the logging functionality by running an artisan command.
This is helpful for any environment where interactive commands like php artisan tinker
cannot be used.
We created this package to ensure our serverless Laravel projects (via Laravel Vapor) correctly sent errors to Rollbar.
Using Laravel Log Test
Install the package
composer require lawnstarter/laravel-log-test
You can then try it out by running:
php artisan log:test
Laravel's auto discovery functionality should automatically enable the command for your application.
Contributing
If you want ot contribute to the package, you are welcome to. Contribution guidelines are still to be determined, but the steps below should help you get started.
Development
To start developing, clone down the github repository and install the dependencies:
composer install
Testing
To run the tests, clone the package, install dependencies and run:
./vendor/bin/phpunit