Laravel Custom Helpers
Standardizes the creation, registration, and organization of global helper functions within Laravel applications.
The Laravel Custom Helpers skill equips Claude with the specific patterns needed to implement and maintain global PHP helper functions. It provides a structured approach to creating dedicated support files, configuring Composer autoloading, and ensuring that helpers remain 'pure' and testable. This skill is essential for developers looking to reduce code duplication and improve the readability of Blade templates and controllers without compromising architectural integrity.
Key Features
01Value object integration for domain-specific logic
02Best practices for helper organization and naming
03Automated Composer autoload configuration logic
04Guidance on creating pure, side-effect-free functions
05Standardized helper file structure and placement
06137 GitHub stars
Use Cases
01Refactoring inline logic into reusable and unit-testable helpers
02Simplifying repetitive logic within Laravel Blade templates
03Creating global formatting utilities for currencies, dates, or strings