trapzpro / laravel-quick-logger
Simple utility for quickly logging anything
Fund package maintenance!
trapzpro
Requires
- php: ^8.0
- illuminate/contracts: ^9.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-faker: ^1.0
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-09-09 17:00:24 UTC
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require trapzpro/laravel-quick-logger
You can publish and run the migrations with:
php artisan vendor:publish --tag="quick-logger-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="quick-logger-config"
This is the contents of the published config file:
return [ 'table_prefix' => null, ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="quick-logger-views"
Usage
use Trapzpro\QuickLogger\QuickLogger; $note = QuickLogger::note('Started important task...'); // much focus $note->end_note = 'Finshed!'; $note->save();
Testing
composer test
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
Support Spatie
Spatie invests a lot of resources into creating best in class open source packages. You can support them by buying one of their paid products.
They highly appreciate you sending a postcard from your hometown, mentioning which of their package(s) you are using. You'll find their address on thier contact page. They publish all received postcards on their virtual postcard wall.
License
The MIT License (MIT). Please see License File for more information.