soap/workflow-logger

Logger for laravel-workflow package

dev-main 2024-09-08 16:59 UTC

README

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

Provide logging capability for zerodahero/laravel-workflow (Symfony based workflow). The package logs who (as eloqunt model) performed what transition on what object (eloquent model). You can visit my laravel-workflow-demo application to see how to use both packages on laravel application.

Support us

I highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. My address is on 1/8 Watchara road, Tumbon Krabi Yai, Ampher Muang, Krabi 81000 Thailand.

Installation

You can install the package via composer:

composer require soap/workflowlogger

You can publish and run the migrations with:

php artisan vendor:publish --tag="workflowlogger-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="workflowlogger-config"

This is the contents of the published config file:

return [

];

Optionally, you can publish the views using

php artisan vendor:publish --tag="workflowlogger-views"

Usage

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

License

The MIT License (MIT). Please see License File for more information.