laravel_12-php_8.5

Scaffold Laravel 12 and PHP 8.5 attribute-based models, migrations, APIs, and Livewire components.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/g1n-ru/aif-skill-mapper --skill laravel-12-php-8-5
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel_12-php_8.5
Source: https://github.com/g1n-ru/aif-skill-mapper/tree/main/skills/laravel_12-php_8.5
Command: npx skills add https://github.com/g1n-ru/aif-skill-mapper --skill laravel-12-php-8-5

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Quickly scaffold and enforce Laravel 12 + PHP 8.5+ patterns across models, migrations, APIs, and Livewire components, ensuring consistency and modern PHP features.

Core Features & Use Cases

  • Attribute-driven patterns: Enforce PHP 8.5 attributes for scopes, factories, observers, and migrations to reduce boilerplate.
  • End-to-end Laravel 12 guidance: Provides conventions for models, controllers, API resources, tests (Pest), and Livewire integration.
  • Use Case: Standardize a new Laravel module with models, migrations, API resources, and tests following the core conventions.

Quick Start

Initialize a Laravel 12+ project with PHP 8.5+, implement models, migrations, API resources, and Livewire components using attribute-based patterns, then validate with Pest tests.

Frequently Asked Questions about laravel_12-php_8.5

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

FAQPage Schema
How do I use PHP 8.5 attributes for Laravel 12 migrations and models?

Use PHP 8.5 attributes for Laravel 12 migrations and models to reduce boilerplate by declaratively defining scopes, factories, and observers. This enforces modern conventions and replaces traditional class-based registration.

What is the best way to scaffold a Laravel 12 API module with Livewire?

Scaffold a Laravel 12 API module with Livewire by applying attribute-based patterns across models, controllers, API resources, and UI components, then validating the implementation end-to-end using Pest tests.

Does this Laravel 12 pattern enforcement follow PSR-12 standards?

Yes, Laravel 12 pattern enforcement follows PSR-12 standards. It requires PHP 8.5+ and applies strict PSR-12 coding conventions alongside attribute-based patterns for migrations, events, and Livewire components.

Can I use Pest for testing Laravel 12 attribute-based migrations?

Yes, you can use Pest for testing Laravel 12 attribute-based migrations. The framework integrates Pest to validate attribute-driven models, API resources, and Livewire components within modern PHP projects.

How do I enforce consistent Laravel 12 patterns across new modules?

Enforce consistent Laravel 12 patterns across new modules by automating attribute-based scaffolding for models, migrations, APIs, and Livewire components. This ensures modern PHP 8.5 features and reduces manual boilerplate.