Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Laravel 13 best practices: architecture and Eloquent v1.0.0

Use this resource to structure a Laravel 13 application: controllers, models, migrations and validation

New

  • 470 downloads
  • 101 likes
  • 128 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install laravel-architecture-eloquent-practices

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies 31 rules in seven categories: architecture, Eloquent and database, controllers, validation, security, performance and API. It proposes action classes, DTOs, services or value objects as needed. You get structured Laravel code consistent with framework conventions.

Mostly picked by

Updated November 2, 2026

Card for the “Laravel 13 best practices: architecture and Eloquent” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rule categories by priority and essential patterns
  • rules/: rules on action classes, DTOs, services, value objects, repositories and API resources

Good fit for

  • You create Laravel controllers, models and migrations
  • Your Laravel code is growing and needs better structure

Not for

    Tags

    • laravel
    • eloquent
    • architecture
    • validation

    About

    You say

    “Split this controller into an action class and a DTO for order creation.”

    Card for the “Laravel 13 best practices: architecture and Eloquent” skill

    Skill published by asyrafhussin under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to structure a Laravel 13 application: controllers, models, migrations and validation
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md160.2 KB
    • LICENSE1.1 KB
    • metadata.json3.2 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md2.1 KB
    • rules/_sections.md2.4 KB
    • rules/_template.md1.5 KB
    • rules/arch-action-classes.md3.8 KB
    • rules/arch-dto-pattern.md5.5 KB
    • rules/arch-event-driven.md5.9 KB
    • rules/arch-feature-folders.md6.2 KB
    • rules/arch-queue-routing.md3.1 KB
    • rules/arch-repository-pattern.md6.1 KB
    • rules/arch-service-classes.md7.1 KB
    • rules/arch-value-objects.md6.3 KB
    • rules/controller-api-resources.md7 KB
    • rules/controller-dependency-injection.md5.3 KB
    • rules/controller-form-requests.md6.1 KB
    • rules/controller-middleware.md5.7 KB
    • rules/controller-resource-controllers.md6.1 KB
    • rules/controller-resource-methods.md5 KB
    • rules/controller-single-action.md4 KB
    • rules/eloquent-accessors-mutators.md4.7 KB
    • rules/eloquent-casts.md5.5 KB
    • rules/eloquent-chunking.md3.6 KB
    • rules/eloquent-eager-loading.md2.9 KB
    • rules/eloquent-model-events.md5.4 KB
    • rules/eloquent-pruning.md5.3 KB
    • rules/eloquent-query-scopes.md4.8 KB
    • rules/eloquent-relationships.md5.1 KB
    • rules/eloquent-soft-deletes.md4.3 KB
    • rules/eloquent-vector-search.md4.4 KB
    • rules/sec-mass-assignment.md4.7 KB
    • rules/validation-after-hooks.md7.6 KB
    • rules/validation-array-validation.md6.7 KB
    • rules/validation-conditional-rules.md6.6 KB
    • rules/validation-custom-rules.md6.9 KB
    • rules/validation-form-requests.md6.1 KB
    • SKILL.md9.5 KB

    Origin and licence

    Listed unmodified

    Author
    asyrafhussin
    Source
    github.com/asyrafhussin/agent-skills/tree/1aa0ff717c10309226c9e678f00873976450fd76/skills/laravel-best-practices
    Licence
    MIT

    Notice

    « laravel-best-practices » (asyrafhussin, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.