1.0.0 2025-06-24 13:59 UTC

This package is auto-updated.

Last update: 2025-06-24 14:01:06 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

Laravel Notes is a lightweight, flexible package that adds user-authored notes to any Eloquent model. Notes are timestamped, associated with a user, and designed to be easily integrated into admin dashboards or activity logs. Fully compatible with Laravel 10+, Livewire, and Tailwind UI components.

Installation

You can install the package via composer:

composer require daniellefence/notes

Usage

use DanielleFence\Notes\Models\Note;

$model->notes()->create([
    'body' => 'This is a note.',
    'user_id' => auth()->id(),
]);

$notes = $model->notes; // returns all notes associated with the model

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email sbarron@daniellefence.net instead of using the issue tracker.

Credits

License

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

Developed and Maintained By

Developed and maintained by the IT/Marketing department at Danielle Fence and Outdoor Living.