spatie/laravel-model-info
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-visit | 0.92 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 756 | 0 | 11.0 | 11.1 | MIT | 7 months ago | |
| spatie/laravel-deleted-models | 0.91 | Automatically copy deleted Eloquent model attributes into a deleted_models table to create a recycle bin for records. Restore deleted models by ID when needed. An alternative to soft deletes for preserving deletion history without keeping rows in place. | 411 | 413 | 26 | 21K | 0 | 13.9 | 25.1 | MIT | 8 months ago | |
| spatie/laravel-there-there | 0.91 | Expose your Laravel app data as JSON for There There. Configure a secret and endpoint, validate incoming requests, and register a sidebar callback to return relevant customer info when agents open a ticket, shown in There There’s sidebar. | 2 | 2 | 0 | 2K | 0 | 8.6 | 42.9 | MIT | 7 months ago | |
| spatie/laravel-stats | 0.90 | Lightweight Laravel package that summarizes database changes over time. Define a stats class, call increase() or decrease() as events happen, then query totals grouped by day, week, or month, returning increments, decrements, and net differences for each period. | 451 | 453 | 35 | 17K | 0 | 16.1 | 23.6 | MIT | 6 months ago | |
| spatie/laravel-model-flags | 0.90 | A Laravel trait that adds flags to Eloquent models without migrations, plus scopes to query flagged models. Useful for tracking process state and building idempotent, restartable code like Artisan commands. | 454 | 455 | 22 | 62K | 0 | 15.7 | 31.9 | MIT | 6 months ago | |
| spatie/laravel-model-states | 0.90 | Add state behaviour to Eloquent models by combining the state pattern and state machines. Define each state as a class, cast it on your model, handle database serialization automatically, and transition between states easily. | 1,307 | 1,309 | 107 | 666K | 0 | 40.1 | 44.0 | MIT | 3 days ago | |
| spatie/laravel-model-status | 0.89 | 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,060 | 83 | 116K | 0 | 22.9 | 29.7 | MIT | 8 months ago | |
| watheqalshowaiter/model-fields | 0.88 | Easily add custom fields to Laravel Eloquent models with watheqalshowaiter/model-fields. A simple trait stores dynamic, validated attributes as JSON, letting you extend models without extra migrations or schema changes. | 40 | 39 | 3 | 9 | 0 | 13.2 | 1.3 | MIT | 4 months ago | |
| spatie/laravel-data | 0.87 | 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-view-models | 0.87 | Move complex view-prep logic out of controllers into dedicated Laravel view model classes. Extend Spatie\ViewModels\ViewModel to transform data for views, expose computed properties, and keep templates clean and focused. | 1,093 | 1,100 | 60 | 85K | 0 | 18.8 | 27.6 | MIT | 8 months ago | |
| visualbuilder/eloquent-schema | 0.87 | Adds MCP tools for Laravel Boost to introspect Eloquent models. Automatically discovers app and vendor models, extracts columns, relationships, and accessors, and serves complete model schemas with caching—helping AI assistants and dev tools generate accurate queries and code faster. | 3 | 3 | 1 | 1K | 0 | 0.0 | 33.8 | — | — | |
| hnhdigital-os/laravel-model-schema | 0.87 | Laravel Model Schema adds schema introspection to Eloquent models, letting you read column names, types, and related metadata directly from the model. Handy for generating forms, filters, validation rules, and admin scaffolding without querying the database manually. | 12 | 12 | 0 | 0 | 0 | 0.4 | — | MIT | 3 years ago | |
| pursehouse/modeler-laravel-eloquent | 0.87 | — | 11 | 11 | 4 | 51 | 1 | 0.6 | 9.9 | MIT | 6 years ago | |
| michael4d45/laravel-model-schema | 0.87 | Laravel package for defining and managing Eloquent model schemas in code, helping keep model attributes, database structure, and related configuration aligned. It offers a single source of truth for model fields and can reduce duplication between models and migrations. | 0 | — | 0 | — | 0 | 16.8 | — | MIT | 2 months ago | |
| waad/laravel-model-metadata | 0.87 | — | 88 | 87 | 3 | 227 | 0 | 11.2 | 8.1 | MIT | 7 months ago | |
| spiral/models | 0.87 | Spiral DataEntity models package. Provides lightweight, type-safe data models/entities for your application with strong static analysis support (Psalm) and test coverage. Part of the Spiral ecosystem; MIT licensed. | 3 | 3 | 0 | 587 | 0 | 3.6 | 30.0 | MIT | 7 years ago | |
| patressz/laravel-model-documenter | 0.87 | Laravel Model Documenter automatically generates clear documentation for Eloquent models, covering attributes, casts, relationships, accessors, mutators, scopes, and more. Keep model reference docs accurate and in sync as your schema and codebase evolve. | 1 | — | 0 | — | 0 | 19.6 | — | MIT | 2 weeks ago | |
| ark4ne/laravel-repository | 0.86 | A Laravel package implementing the repository pattern, providing a structured way to separate data access from business logic. It helps keep model queries organized behind repository classes, making applications easier to test, maintain, and adapt as data sources change. | 0 | — | 0 | — | 0 | 0.0 | — | GPL-3.0 | 5 years ago | |
| cerbero/eloquent-inspector | 0.86 | — | 112 | 112 | 2 | 3K | 0 | 0.6 | 19.0 | MIT | — | |
| appstract/laravel-meta | 0.86 | 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 |
How can I help you explore Laravel packages today?