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