Laravel Development · page 8
Tools for Laravel artisans: routes, Eloquent, migrations, queues, Blade, validation and more.
603 tools in this category
Describe commentable needs to choose morphTo versus morphMany and generate relation stubs.
Paste a morph class list to generate an enforceMorphMap snippet with short aliases.
Describe a many-to-many with extra columns to generate a custom pivot class wiring.
Describe grandchild access to validate the through chain and generate relation code.
Describe a latest or oldest need to generate an ofMany relation with proper sorting.
Pick a scenario to see trashed query interactions, restore flows, and unique index notes.
Paste a migration and model to flag features that break with non-incrementing composite keys.
Paste model names to predict table, foreign key, and pivot names and flag mismatches.
Describe a date filter to see whereDate and whereMonth pitfalls with timezone notes.
Describe a JSON search to generate where path queries with indexing caveats.
Paste a JSON structure to generate a cast class or array cast with accessor helpers.
Describe status transitions to generate laravel-state wiring with transition guards.
Describe cloning needs to compare replicate, deep copy, and their event side effects.
Describe concurrent creates to see updateOrCreate pitfalls and locking solutions.
Pick a need to see timestamp constants, withoutTimestamps, and custom column naming rules.
Paste models and observers to get a matrix of which lifecycle events each observer receives.
Paste a model to get an ordered boot timeline of traits, casts, global scopes, and events.
Pick a data task to map Collection methods to Eloquent-specific database alternatives.
Describe an aggregate column to generate addSelect subquery patterns.
Describe tree traversal to generate withExpression recursive CTE query code.
Describe an infinite feed to generate cursorPaginate setup with required index notes.
Describe model defaults to compare attribute arrays, defaults API, and database defaults.
Pick a data shape to see a table of column types with MySQL, Postgres, and SQLite mappings.
Describe query patterns to get recommendations for btree, fulltext, unique, or spatial indexes.