spatie/laravel-schemaless-attributes
Add “schemaless” JSON attributes to Laravel Eloquent models. Store arbitrary key/value data in one JSON column with a fluent API: get/set via properties or arrays, dot-notation access, defaults, forget keys, and query scopes for matching attributes.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-valuestore | 0.85 | Store and retrieve loose key/value data in a JSON file with a simple API. Supports put/get with defaults, has/all, forget/flush, increment, and helpers like ArrayAccess and Countable—handy for app settings or small persistent state. | 763 | 768 | 47 | 50 | 0 | 9.1 | 0.4 | MIT | 1 year ago | |
| spatie/laravel-searchable | 0.85 | Structured, case-insensitive search across Eloquent models and other sources. Register models/attributes (or custom search aspects) and get grouped, typed results with titles and URLs—ideal for building unified search pages in Laravel apps. | 1,373 | 1,381 | 110 | 79K | 0 | 25.4 | 25.7 | MIT | 8 months ago | |
| spatie/eloquent-sortable | 0.84 | Add sortable behavior to Laravel Eloquent models via a trait. Automatically sets an order column on create (max + 1) and provides a scope to retrieve records in the correct order. Ideal for drag-and-drop lists and custom ordering. | 1,517 | 1,529 | 138 | 2M | 0 | 26.9 | 44.2 | MIT | 8 months ago | |
| spatie/spatie-content-api | 0.84 | Laravel/PHP package powering Spatie’s promotional-site content API. Fetch posts for a product or project (e.g., mailcoach) via a simple ContentApi facade and expose consistent, reusable content to your frontend or other services. | 5 | 5 | 2 | 2K | 0 | 6.4 | 35.3 | MIT | 1 year ago | |
| spatie/laravel-data | 0.84 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| spatie/laravel-model-status | 0.84 | Add status history to any Eloquent model with Spatie’s HasStatuses trait. Set statuses (strings or enums), store reasons/extra info, and retrieve current or previous statuses via convenient helpers like status() and latestStatus(). | 1,056 | 1,062 | 83 | 114K | 0 | 23.0 | 29.6 | MIT | 8 months ago | |
| rushing/laravel-data-schemas | 0.83 | Define structured data schemas in Laravel with a fluent API, helping you validate, cast, and transform data consistently across requests, models, and APIs. Lightweight, expressive, and easy to integrate. | 1 | 1 | 0 | 3K | 1 | 0.1 | 43.6 | MIT | — | |
| spatie/laravel-model-info | 0.83 | Inspect Laravel Eloquent models to discover their file name, table name, attributes (name/type) and relations (name/type/related model). Also includes a ModelFinder to automatically locate all models in your application. | 182 | 183 | 23 | 44K | 0 | 14.8 | 34.7 | MIT | 8 months ago | |
| spatie/laravel-sluggable | 0.83 | Generate unique slugs for Eloquent models on create or update via a Sluggable attribute or HasSlug trait. Includes collision suffixes, translatable slugs, and self-healing URLs with 308 redirects. | 1,560 | 1,586 | 190 | 867K | 0 | 43.5 | 44.5 | MIT | 1 week ago | |
| trappistes/laravel-custom-fields | 0.83 | Flexible EAV custom fields for Laravel Eloquent: add dynamic attributes without schema changes. Supports strong types (int, bool, json, date, ranges), polymorphic relations for any model, eager loading to avoid N+1, auto casting, batch upsert, validation, and soft deletes. | 0 | 0 | 0 | 0 | 0 | 16.3 | — | — | 5 months ago | |
| juststeveking/laravel-data-object-tools | 0.83 | Handy tools and helpers for working with data objects in Laravel. Simplifies creating, validating, transforming, and casting DTOs, helping you keep application data flow clean, type-safe, and consistent across your codebase. | 66 | 66 | 9 | 74 | 1 | 1.1 | 4.5 | MIT | 2 years ago | |
| spatie/laravel-superseeder | 0.83 | A Laravel package from Spatie for “super seeding”: convenient helpers and structure to build and run powerful database seeders, generate realistic test data, and quickly spin up complete demo environments with sensible defaults and relationships. | 0 | 2 | — | 0 | — | 0.0 | — | — | — | |
| spatie/php-cloneable | 0.83 | Trait for PHP 8.1+ that makes objects with readonly properties cloneable. Safely “clone with changes” by copying an object while overriding readonly fields—handy until PHP gets native clone-with support. | 97 | 98 | 7 | 213K | 0 | 1.6 | 46.1 | MIT | 2 years ago | |
| appstract/laravel-meta | 0.83 | Appstract Laravel Meta makes it easy to add, manage, and render SEO-friendly meta tags in Laravel apps. Define titles, descriptions, Open Graph and Twitter tags in PHP, then output them cleanly in your Blade views. | 129 | — | 12 | — | 0 | 1.4 | — | MIT | 8 years ago | |
| spatie/laravel-settings | 0.83 | Store strongly typed application settings in Laravel using a database, Redis, or another repository. Define each settings group as a PHP class with typed properties, inject it anywhere via Laravel's container, update values, and persist them with a single save() call. | 1,521 | 1,529 | 140 | 1M | 0 | 42.2 | 46.2 | MIT | 2 days ago | |
| kodeine/laravel-meta | 0.83 | Metable trait for Laravel Eloquent models adds fluent meta data support, letting you get, set, and unset metadata like normal model attributes. Requires Laravel 8+ and a per-model meta table migration. | 419 | 425 | 88 | 54K | 2 | 24.3 | 32.6 | MIT | 3 months ago | |
| davidwesdijk/laravel-polymorphic-eav | 0.83 | Add flexible, polymorphic EAV attributes to any Laravel model. Store custom fields as attribute-value pairs without schema changes, attach them to multiple models, and query them with familiar Eloquent syntax. Great for dynamic product or user metadata. | 6 | 6 | 4 | 0 | 2 | 0.7 | 0.4 | MIT | 5 years ago | |
| sofa/eloquence-mappable | 0.83 | — | 51 | 51 | 38 | 5K | 3 | 4.3 | 27.9 | MIT | 5 years ago | |
| rinvex/laravel-attributes | 0.83 | — | 430 | 428 | 108 | 214 | 3 | 3.1 | 2.2 | MIT | — | |
| thinktomorrow/dynamic-attributes | 0.82 | thinktomorrow/dynamic-attributes lets Laravel Eloquent models carry flexible custom attributes without schema changes. Store extra key-value data through a familiar relation, with casting and querying support, so models can be extended dynamically per record. | 10 | — | 1 | — | 0 | 0.1 | — | MIT | 6 years ago |
How can I help you explore Laravel packages today?