Skip to content
#

morph-map

Here are 5 public repositories matching this topic...

Polymorphic bookmarks for Laravel Eloquent models, with JSON-object metadata: CanBookmark and HasBookmarks traits, bookmark() that replaces or keeps the metadata in one call, an immutable BookmarkMeta value object, a unique index per pair, native relations and scopes, events, and UUID and ULID keys.

  • Updated Nov 13, 2026
  • PHP

Polymorphic ratings for Laravel Eloquent models: CanRate and HasRatings traits, rate() that creates or updates and reports created, updated or unchanged with the previous value, exact per-model scales, optional comments, average, count, sum and distribution in SQL, a unique index per pair, events, and UUID and ULID keys.

  • Updated Nov 13, 2026
  • PHP

Polymorphic emoji reactions for Laravel Eloquent models, with registered types, grouped catalogs, single or multiple mode, and database-enforced uniqueness: CanReact and HasReactions traits, react, unreact and toggle, N+1-free ReactionView listings for Blade and JSON, a reaction policy, events, and UUID and ULID keys.

  • Updated Nov 14, 2026
  • PHP

Polymorphic favorites for Laravel Eloquent models: CanFavorite and HasFavorites traits, favorite, unfavorite and toggle with explicit changed-state results, a unique index per favoriter and favoritable pair, native relations for counts and eager loading, and UUID and ULID keys.

  • Updated Nov 12, 2026
  • PHP

Polymorphic likes for Laravel Eloquent models: CanLike and HasLikes traits, like, unlike and toggle with explicit changed-state results, a unique index per liker and likeable pair, native relations for counts and eager loading, and UUID and ULID keys.

  • Updated Nov 12, 2026
  • PHP

Add this topic to your repo

To associate your repository with the morph-map topic, visit your repo's landing page and select "manage topics."

Learn more