third-space-software / laravel-notable
A basic Laravel package for polymorphic notes.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/third-space-software/laravel-notable
Requires
- php: ^8.2|^8.4|^8.5
- illuminate/database: ^12.0
- illuminate/support: ^12.0
README
By: Third Space Software
Installation
- Add package to project
composer require third-space-software/laravel-notable. - Publish package files
php artisan vendor:publish --provider="ThirdSpaceSoftware\LaravelNotable\NotableServiceProvider". - Update
config/laravel-notable.phpwith the correct Author/User class.
Usage
- Add the
ThirdSpaceSoftware\LaravelNotable\Contracts\AuthorsNotescontract to your Author/User model. - Any model that can have notes should implement the
ThirdSpaceSoftware\LaravelNotable\Traits\HasNotestrait.