Download the PHP package viicslen/laravel-alertable without Composer
On this page you can find all versions of the php package viicslen/laravel-alertable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download viicslen/laravel-alertable
More information about viicslen/laravel-alertable
Files in viicslen/laravel-alertable
Package laravel-alertable
Short Description This is my package laravel-alertable
License MIT
Homepage https://github.com/viicslen/laravel-alertable
Informations about the package laravel-alertable
Laravel Alertable
This is a simple package to add alerts to your laravel models.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
First define any model as alertable by adding the HasAlerts
trait to your model (and optionally the Alertable
interface):
Create an alert:
Retrieve alerts:
Delete alerts:
Testing
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
- Victor Rivero
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-alertable with dependencies
spatie/laravel-package-tools Version ^1.14.2
illuminate/contracts Version ^10.0|^11.0