developing-with-laravel

Develop PHP applications using Laravel framework patterns and best practices.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/garethdaine/agent --skill developing-with-laravel-garethdaine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developing-with-laravel
Source: https://github.com/garethdaine/agent/tree/main/.cursor/skills/developing-with-laravel
Command: npx skills add https://github.com/garethdaine/agent --skill developing-with-laravel-garethdaine

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive patterns and best practices for developing modern, enterprise-grade PHP applications using the Laravel framework, streamlining development and ensuring code quality.

Core Features & Use Cases

  • Framework Patterns: Master Eloquent ORM, routing, validation, middleware, and authentication.
  • Advanced Topics: Explore queues, jobs, events, broadcasting, Artisan CLI, and task scheduling.
  • Use Case: Develop a new feature for a Laravel e-commerce application, including creating Eloquent models, controllers, API resources, and background jobs for order processing.

Quick Start

Use the developing-with-laravel skill to create a new Eloquent model named 'Product' with a 'name' (string) and 'price' (decimal) attribute.

Frequently Asked Questions about developing-with-laravel

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

FAQPage Schema
How do I build a Laravel e-commerce feature with Eloquent models and background jobs?

To build Laravel e-commerce features, create Eloquent models, controllers, and API resources, then use background jobs for asynchronous order processing. This approach streamlines development and ensures enterprise-grade code quality.

What is the best way to structure routing and middleware for a PHP web application?

The best way to structure PHP web applications is using Laravel framework patterns for routing and middleware. This provides comprehensive conventions for request handling and authentication, streamlining enterprise application development.

How do I define an Eloquent ORM model with specific attributes in Laravel?

To define an Eloquent ORM model in Laravel, specify the model name and its attributes, such as a string for 'name' and decimal for 'price'. This facilitates database interactions and adheres to framework best practices.

Can I use Laravel queues and events for backend API development?

Yes, you can use Laravel queues, jobs, and events for backend API development. These advanced features handle asynchronous processing and broadcasting, ensuring robust PHP applications and framework best practices.

Does Laravel task scheduling and Artisan CLI support enterprise application development?

Laravel task scheduling and the Artisan CLI fully support enterprise application development. They provide comprehensive patterns for automating commands and maintaining code quality in modern PHP applications.