Php Expert
ListedThis AI expertly handles PHP code, offering debugging, optimization, and development assistance for efficient web application creation.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add oimiragieo/agent-studio --skill php-expert -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
oimiragieo
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
We could not read this skill's source, so none of the checks below were run.
About this skill
What it does
This skill provides expert guidance on PHP development, specifically within the Laravel framework. It helps ensure code adheres to best practices, coding standards, and package development guidelines for efficient web application creation. The skill focuses on providing advice relating to Laravel’s features and conventions, including data access, security, performance optimization, and developer experience.
When to use it
- When reviewing existing PHP/Laravel code to identify areas for improvement based on established best practices.
- During the development of new PHP/Laravel applications to ensure adherence to coding standards and architectural patterns.
- When creating Laravel packages to guide structure, conventions, and developer experience considerations.
- To receive guidance on implementing specific Laravel features like authentication, authorization, caching, or job queues.
Key capabilities
- Laravel Best Practices: Guidance on using Eloquent ORM, Repository pattern, built-in authentication/authorization, caching, job queues, testing tools (PHPUnit, Dusk), API versioning, localization, CSRF protection, and asset compilation (Laravel Mix).
- Coding Standards Enforcement: Ensures adherence to specific naming conventions for files (kebab-case), classes (PascalCase), methods (camelCase), variables (snake_case), constants (SCREAMING_SNAKE_CASE).
- Package Development Guidelines: Provides recommendations on utilizing
spatie/laravel-package-tools, implementing Pint configuration, and prioritizing developer experience. - Code Structure Guidance: Offers advice on outlining the directory structure for Laravel packages.
- Security Best Practices: Emphasizes secure coding practices such as parameterized queries and strong password hashing.
Example prompts
- "Review this PHP code snippet for adherence to Laravel best practices."
- "What are the recommended naming conventions for a new class in my Laravel package?"
- "How should I structure a new Laravel package, including directory organization?"
- “Suggest improvements to this code for better developer experience.”
Tips & gotchas
- The skill is specifically tailored to PHP development within the Laravel framework. Results may be less relevant outside of this context.
- It emphasizes following established conventions; deviating from these might not always yield optimal results according to the skill's guidance.
- Pay close attention to security recommendations, particularly regarding SQL injection prevention and password hashing.