Download the PHP package thomascombe/laravel-observer-attributes without Composer
On this page you can find all versions of the php package thomascombe/laravel-observer-attributes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thomascombe/laravel-observer-attributes
More information about thomascombe/laravel-observer-attributes
Files in thomascombe/laravel-observer-attributes
Download thomascombe/laravel-observer-attributes
More information about thomascombe/laravel-observer-attributes
Files in thomascombe/laravel-observer-attributes
Vendor thomascombe
Package laravel-observer-attributes
Short Description Use PHP 8 attributes to register eloquent model observers in a Laravel app
License MIT
Homepage https://github.com/thomascombe/laravel-observer-attributes
Package laravel-observer-attributes
Short Description Use PHP 8 attributes to register eloquent model observers in a Laravel app
License MIT
Homepage https://github.com/thomascombe/laravel-observer-attributes
Please rate this library. Is it a good library?
Informations about the package laravel-observer-attributes
Use PHP 8 attributes to register eloquent model observers in a Laravel app
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Add single observer to model:
It's just like:
in EventServiceProvider
Add multiples observers to model:
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
- thomascombe
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-observer-attributes with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
spatie/laravel-package-tools Version ^1.4.3
illuminate/contracts Version ^8.0
spatie/laravel-package-tools Version ^1.4.3
illuminate/contracts Version ^8.0
The package thomascombe/laravel-observer-attributes contains the following files
Loading the files please wait ....