Usage Overview
How to add notes to your models
Usage Overview
Add the HasNotes trait to any model to make it notable, then create and read notes through the notes()
relationship.
- Notes — create, read, author, and soft-delete notes.
- Attachments — attach files to a note.
php
use OiLab\OiLaravelNotes\Concerns\HasNotes;
class Order extends Model
{
use HasNotes;
}