laravel-expert

Provide Laravel guidance for migrations, Eloquent patterns, middleware, and service container usage.

Updated Jul 13, 2023
One-click install
npx skills add https://github.com/changgenglu/changgenglu-blog --skill laravel-expert-changgenglu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-expert
Source: https://github.com/changgenglu/changgenglu-blog/tree/main/prompt_engineering/gemini/skills/laravel-expert
Command: npx skills add https://github.com/changgenglu/changgenglu-blog --skill laravel-expert-changgenglu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel projects often struggle to stay in sync across major framework versions, ensure architectural consistency, and apply Laravel-specific best practices efficiently.

Core Features & Use Cases

  • Cross-version guidance for Laravel releases (9.x, 10.x, 11.x, 12.x) and PHP compatibility to enable safe migrations.
  • Design and usage patterns for the Service Container, Middleware, Eloquent, Validation, and Policy/Gate implementations to improve maintainability.
  • Use cases include migrating a legacy application to a newer Laravel version, refactoring for modern practices, and enforcing consistent architecture across teams.

Quick Start

Audit your Laravel project for cross-version readiness and ask for a migration and best-practices plan.

Frequently Asked Questions about laravel-expert

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

FAQPage Schema
How do I migrate my Laravel application across major framework versions?

Migrating Laravel across major framework versions requires auditing cross-version readiness and applying specific migration and best-practice plans. This guidance covers version releases 9.x through 12.x and PHP compatibility to enable safe transitions.

What is the best way to design Laravel middleware and use the service container?

Designing Laravel middleware and utilizing the service container involves applying specific design and usage patterns to improve maintainability. This approach ensures consistent architecture and enforces best-practice implementation across real projects.

Can I use Eloquent patterns and Policy implementations to refactor a legacy Laravel project?

Eloquent patterns and Policy or Gate implementations can be used to refactor a legacy Laravel project. This guidance helps enforce consistent architecture across teams and modernize older applications efficiently.

Does this Laravel guidance cover compatibility for PHP versions and framework releases like 11.x?

This Laravel guidance covers compatibility for PHP versions alongside framework releases including 11.x and 12.x. It provides cross-version guidance to ensure your project meets cross-version compatibility requirements safely.

Why does my Laravel project struggle with architectural consistency across teams?

Laravel projects often struggle with architectural consistency across teams due to a lack of applied best practices. Implementing standardized Service Container, Middleware, and Validation usage patterns improves maintainability and resolves this issue.

When should I not use a specific Laravel version migration path?

You should evaluate version migration paths carefully when your current application relies on deprecated features without clear cross-version equivalents. Audit your Laravel project for cross-version readiness first to identify compatibility gaps before proceeding.