developing-with-laravel

Develop Laravel PHP applications with Eloquent ORM, routing, validation, and authentication patterns.

Updated Jan 13, 2026
One-click install
npx skills add https://github.com/FortiumPartners/ensemble-vnext --skill developing-with-laravel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing-with-laravel
Source: https://github.com/FortiumPartners/ensemble-vnext/tree/main/packages/skills/developing-with-laravel
Command: npx skills add https://github.com/FortiumPartners/ensemble-vnext --skill developing-with-laravel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides best-practice patterns and code examples for developing modern, scalable, and maintainable PHP applications using the Laravel framework, addressing common challenges in routing, ORM usage, validation, authentication, and more.

Core Features & Use Cases

  • Framework Mastery: Leverage advanced Eloquent ORM techniques, efficient routing, and robust validation.
  • Enterprise Patterns: Implement the Repository pattern, middleware for access control, and secure authentication strategies.
  • Use Case: When building a new feature that requires complex data relationships and user authentication, consult this Skill for proven patterns in Eloquent, routing, and Sanctum/Passport integration.

Quick Start

Use the developing-with-laravel skill to generate a new Eloquent model with a belongsTo relationship to the User model.

Frequently Asked Questions about developing-with-laravel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to implement complex Eloquent ORM relationships in Laravel?

The best way to manage complex Eloquent ORM relationships in Laravel is using advanced mapping patterns. This approach provides proven code examples for defining relational data structures, ensuring scalable and maintainable database interactions.

How do I set up API authentication using Sanctum or Passport in Laravel?

To set up API authentication, implement secure strategies using Laravel Sanctum or Passport. This provides comprehensive patterns for token generation and middleware access control, facilitating rapid integration of robust user authentication for your applications.

Does this Skill support enterprise backend patterns like the Repository pattern in PHP?

Yes, it fully supports enterprise backend patterns like the Repository pattern in PHP. It offers structured code examples for abstracting data access, ensuring maintainable and scalable Laravel projects suited for enterprise-grade application architecture.

How to handle queues and events for asynchronous processing in Laravel?

To handle queues and events for asynchronous processing in Laravel, utilize the integrated Artisan CLI commands. This provides robust patterns for dispatching background jobs and listening to events, enabling scalable and maintainable application workflows.

Why use Laravel for building scalable and maintainable PHP web applications?

Use Laravel for building scalable and maintainable PHP web applications because it offers advanced Eloquent ORM, efficient routing, and robust validation. These features solve common framework challenges, facilitating rapid development of enterprise-grade projects.