php-development
PHP Development provides expert guidance for building robust applications using PHP 8.1+ with strict typing, SOLID principles, and PSR standards. Learn proper code organization through dependency injection, repository patterns, and comprehensive error handling. The skill emphasizes type declarations, security practices, and testing strategies to ensure maintainable, scalable code.
PHP Development teaches SOLID principles and modern PHP 8+ patterns for expert-level coding.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-06-09
PHP Development teaches SOLID principles and modern PHP 8+ patterns for expert-level coding. PHP Development provides expert guidance for building robust applications using PHP 8.1+ with strict typing, SOLID principles, and PSR standards. Learn proper code organization through dependency injection, repository patterns, and comprehensive error handling. The skill emphasizes type declarations, security practices, and testing strategies to ensure maintainable, scalable code.
Use it when
- PHP Development provides expert guidance on applying SOLID principles to your PHP code.
- PHP Development covers essential PSR standards including PSR-12 coding standards, PSR-4 autoloading with Composer.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
Mindrally/skills/php-development
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What PHP 8 development best practices does this skill cover?
PHP Development teaches modern PHP 8.1+ practices including strict typing with declare(strict_types=1), comprehensive type hints, and SOLID principles. The skill guides you through proper code organization using dependency injection, repository patterns, and PSR standards compliance. You'll learn how to write clean, maintainable code that scales effectively while following industry conventions.
How does PHP Development help with SOLID principles?
PHP Development provides expert guidance on applying SOLID principles to your PHP code. You'll learn how Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles improve code quality and maintainability. The skill demonstrates practical implementations through real-world patterns and refactoring techniques specific to PHP 8.1+.
What PSR standards and code organization does the skill teach?
PHP Development covers essential PSR standards including PSR-12 coding standards, PSR-4 autoloading with Composer, and other relevant standards for modern PHP. The skill teaches proper code organization through namespacing, directory structures, and architectural patterns that align with industry best practices for scalable applications.
How can I improve PHP code quality with type hints?
PHP Development emphasizes type declarations and strict typing to enhance code quality. Learn to use scalar type hints, return type declarations, nullable types, and union types in PHP 8+. The skill shows how proper type hints catch errors early, improve IDE support, and make your code self-documenting and more maintainable.
What security best practices does PHP Development cover?
PHP Development teaches secure, maintainable application development including input validation and sanitization, prepared statements for database queries, proper error handling without exposing sensitive information, and secure exception handling. The skill emphasizes defensive coding practices to protect against common vulnerabilities and ensure your applications remain robust.
How do I master dependency injection and testing in PHP?
PHP Development guides you through dependency injection patterns that decouple components and improve testability. Learn to implement constructor injection, service containers, and factory patterns. The skill covers PHPUnit testing framework integration, test-driven development strategies, and how proper dependency management makes unit testing straightforward and effective.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
PHP Development
You are an expert PHP developer with deep knowledge of PHP 8+, object-oriented programming, and SOLID principles.
Core Principles
- Write concise, technically accurate PHP code with proper examples
- Follow SOLID principles for object-oriented programming
- Follow the DRY (Don't Repeat Yourself) principle
- Adhere to PSR coding standards
- Design for maintainability and scalability
PHP Standards
- Use PHP 8.1+ features (typed properties, match expressions, named arguments, enums)
- Follow PSR-12 coding standards
- Declare strict typing:
declare(strict_types=1); - Implement proper error handling and logging
- Use type hints for all parameters and return types
Best Practices
Code Organization
- Use PSR-4 autoloading with Composer
- Implement Repository pattern for data access logic
- Use dependency injection for loose coupling
- Leverage interfaces for abstraction
- Implement proper caching strategies
Naming Conventions
- Use PascalCase for class names
- Use camelCase for method and variable
(truncated - see the full file via the links below)
File tree — 1 file
php-development/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Learn SOLID principles and modern PHP 8+ development patterns”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
This skill guides you through advanced PHP development for Magento 2, enforcing PSR-12 compliance and Magento coding standards throughout. It covers modern PHP practices including constructor property promotion, strict typing, and SOLID principles, alongside Magento-specific patterns like service contracts and repositories.
PHP Specialist guides you through modern PHP 8.x development with language features like enums, readonly properties, and match expressions. It covers the complete toolchain: PSR interoperability, Composer dependency management, static analysis configuration, and coding standards enforcement. Apply it whenever you're authoring, reviewing, or refactoring PHP code to ensure type safety and architectural correctness.
PHP Best Practices audits your code against 51 rules covering type systems, modern PHP 8.x features, PSR standards, SOLID principles, error handling, performance, and security. It detects your project's PHP version and applies only relevant guidance, from union types and match expressions in 8.0 through property hooks and the pipe operator in 8.4+.
PHP Expert provides in-depth instruction on PHP 8+ language features including union types, named arguments, match expressions, attributes, and enums. Learn Laravel framework patterns, Composer dependency management, and object-oriented design principles for building robust applications.
PHP Pro is a senior-level specialist for modern PHP development with Laravel, Symfony, and PHP 8.3+. It enforces strict typing, dependency injection, and PSR compliance while generating typed DTOs, services, controllers, and comprehensive tests. Every implementation passes PHPStan level 9 and PHPUnit/Pest coverage thresholds before delivery.
This skill covers contemporary PHP development with PHP 7.4+ and 8.x features, including strict typing, constructor promotion, union and intersection types, and attributes. It explores object-oriented patterns through traits, interfaces, and abstract classes, plus enums and custom exception handling.