Skip to content
P

php-best-practices

PHP 8.x modern patterns, PSR standards, and SOLID principles

by asyrafhussinFree

#7462in AI Skills
0In stores

Description

php-best-practices is an agent skill with modern PHP 8.x patterns, PSR standards, type system guidance and SOLID principles. It contains 51…

Highlights

  • 51 rules for PHP 8.x code
  • PSR standards and SOLID principles
  • Type system guidance
  • Detects PHP version from composer.json and php -v
  • Advice limited to the project's version

Ratings & Reviews

No ratings yet

Be the first to rate php-best-practices.

People also visit

P

php-pro

Modern PHP development with strict typing, enterprise patterns

AI Skills
Get
P

PhpCodeArcheology/PhpCodeArcheology

PHP static analysis: code quality metrics, problem detection

AI Skills
Get
C

clean-code-principles

SOLID principles, design patterns, DRY, KISS, and clean code fundamentals

AI Skills
Get
C

code-reviewer

Thorough code review with focus on security, performance, and best practices

AI Skills
Get
W

woocommerce-code-review

Review WooCommerce code changes for coding standards compliance

AI Skills
Get
C

code-review-skill

Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+

AI Skills
Get

php-best-practices FAQ

What does the skill cover?

Modern PHP 8.x patterns, PSR standards, type safety and SOLID principles, in 51 rules.

Why does it check the PHP version first?

The skill says features vary between PHP 8.0 and 8.5, so it only suggests syntax the project's version supports.

Where does it find the version?

In the php requirement of composer.json and in the installed runtime, via php -v.

How do I install it?

Run npx skills add https://github.com/asyrafhussin/agent-skills --skill php-best-practices.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best php-best-practices alternatives?

Popular alternatives to php-best-practices include php-pro, PhpCodeArcheology/PhpCodeArcheology and clean-code-principles. See all php-best-practices alternatives

Developer Stuff

Badges