PHPackages                             haymetg/laranote - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. haymetg/laranote

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

haymetg/laranote
================

A lightweight model note maker

1.1.3(5y ago)124MITPHP

Since Feb 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/huhu2323/laranote)[ Packagist](https://packagist.org/packages/haymetg/laranote)[ RSS](/packages/haymetg-laranote/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (1)Versions (17)Used By (0)

A note maker for Laravel
========================

[](#a-note-maker-for-laravel)

1. Install Laranote `composer require haymetg/laranote`
2. Run `php artisan vendor:publish --provider="HaymeTG\Laranote\LaranoteServiceProvider"`
3. Use `HasLaranote` trait for models with notes.
4. Use it.

### Trait Methods:

[](#trait-methods)

`createNote()`for creating a note `example: $user->createNote('Im a note');`will fetch all notes saved in the model.

`getNote($index)`for updating a note `example: $user->getNote($index);`will get note by index saved in the model. Please note that this will only return note belong to parent model

`updateNote($index, $noteText)`for updating a note `example: $user->updateNote($index);`will update note by index saved in the model. Please note that this will only update note belong to parent model

`deleteNote($index)`for deleting a note `example: $user->deleteNote($index);`will delete note by index saved in the model. Please note that this will only delete note belong to parent model

`deleteAll()`for deleting a note `example: $user->deleteAll();`will delete all note saved in the model. Please note that this will only delete note belong to parent model

### Trait Accessors:

[](#trait-accessors)

- **notes**`example: $user->notes`Will retrieve all notes saved. This will return a collection
- **first\_note**`example: $user->first_note`Will retrieve the first note created by id.
- **last\_note**`example: $user->last_note`Will retrieve the last note created by id.
- **latest\_note**`example: $user->latest_note`Will retrieve the latest note created by date.

### Model Accessors:

[](#model-accessors)

- **laranotable**`example: $user->laranotable`Will retrieve the parent model of a laranote.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

16

Last Release

1894d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/655567e527aa4944ce2a1d140028f70e649aa9164129db82aa319d367f6f8cc3?d=identicon)[haymetg](/maintainers/haymetg)

---

Top Contributors

[![huhu2323](https://avatars.githubusercontent.com/u/16172309?v=4)](https://github.com/huhu2323 "huhu2323 (20 commits)")

### Embed Badge

![Health badge](/badges/haymetg-laranote/health.svg)

```
[![Health](https://phpackages.com/badges/haymetg-laranote/health.svg)](https://phpackages.com/packages/haymetg-laranote)
```

###  Alternatives

[magepow/flipbook

Magento 2 Flipbook

1113.8k](/packages/magepow-flipbook)[palantirnet/drupal-skeleton

A Drupal project template.

141.4k](/packages/palantirnet-drupal-skeleton)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
