spatie-laravel-php

Enforce Spatie Laravel and PHP coding standards across codebases.

Updated Sep 25, 2025
One-click install
npx skills add https://github.com/angelgarciasolorzano/social-hub --skill spatie-laravel-php-angelgarciasolorzano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spatie-laravel-php
Source: https://github.com/angelgarciasolorzano/social-hub/tree/main/.agents/skills/spatie-laravel-php
Command: npx skills add https://github.com/angelgarciasolorzano/social-hub --skill spatie-laravel-php-angelgarciasolorzano

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures that Laravel and PHP code adheres to Spatie's coding standards, improving consistency and maintainability.

Core Features & Use Cases

  • Code Style Consistency: Enforces Laravel and PSR standards across projects.
  • Refactoring Assistance: Helps refactor code to align with guidelines.
  • Use Case: For developers working on Laravel/PHP projects who want to ensure their code follows best practices.

Quick Start

Apply the spatie-laravel-php skill to your Laravel project to enforce coding standards.

Frequently Asked Questions about spatie-laravel-php

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

FAQPage Schema
How do I enforce Spatie coding standards in a Laravel and PHP project?

Enforce Spatie coding standards in Laravel and PHP by applying automated guidelines that check code style consistency, ensuring adherence to PSR standards and Spatie-specific rules for maintainability.

What is the best way to refactor PHP code to align with Laravel coding standards?

Refactor PHP code to align with Laravel coding standards by applying Spatie-specific guidelines and PSR rules, which helps improve consistency and maintainability across your codebase.

Does this coding standard require existing knowledge of Laravel and PHP practices?

Yes, applying these Spatie Laravel coding standards requires existing knowledge of Laravel and PHP coding practices to properly enforce guidelines and refactor code effectively.

Can I use this to check code style consistency across multiple Laravel projects?

Yes, you can check code style consistency across multiple Laravel projects by applying these Spatie and PSR guidelines to ensure all codebases follow the same maintainability standards.

What specific PHP standards does this enforce for Laravel codebases?

For Laravel codebases, it enforces PSR standards alongside Spatie-specific guidelines, focusing on code quality and maintainability to ensure consistent code style across projects.