Skip to content

trapzpro/laravel-quick-logger

Repository files navigation

Simple utility for quickly logging anything

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

About

Simple utility for quickly logging anything

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages