← CodeClarityLab Home
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Pull Request Description Templates
Structured PR templates in .github/PULL_REQUEST_TEMPLATE.md that prompt authors for context, testing evidence, and checklists — improving review quality and reducing reviewer cognitive load.
2mo ago style beginner
PHP-CS-Fixer vs PHP_CodeSniffer PHP 7.1+
Two PHP code style tools: PHP_CodeSniffer detects and optionally fixes violations, PHP-CS-Fixer auto-fixes code to match a configured style — both enforce consistent formatting across a codebase.
2mo ago style beginner
PHPCS + PHPStan in CI (Workflow Guide) PHP 5.0+
Running PHP_CodeSniffer for style and PHPStan for type/logic errors as separate CI steps — each catching a distinct class of problem.
2mo ago style intermediate
PHPDoc / Docblock PHP 5.0+
Structured comment blocks that document functions, classes, and properties — read by IDEs, static analysis tools, and documentation generators.
2mo ago style beginner
PHPStan Levels 0–9 Explained PHP 7.1+
PHPStan's 10 strictness levels — from basic undefined variable checks (0) to full generic type inference and strict mixed handling (9).
2mo ago style intermediate
Psalm Type Annotations PHP 7.1+
Psalm's docblock annotations — @param, @return, @template, @psalm-type — extend PHP's native type system to express generics, aliases, and complex types.
2mo ago style intermediate
PSR-11: Container Interface PHP 5.3+
A standard ContainerInterface with get() and has() enabling framework-agnostic service resolution from any PSR-11-compliant DI container.
2mo ago style intermediate
PSR-12 Coding Standard PHP 7.1+
The PHP-FIG extended coding style guide that supersedes PSR-2, covering namespaces, imports, classes, and control structures.
2mo ago style beginner
PSR-14: Event Dispatcher PHP 7.2+
Standard EventDispatcherInterface and ListenerProviderInterface for framework-agnostic event dispatch and handler registration.
2mo ago style intermediate
PSR-15: HTTP Handlers & Middleware PHP 7.0+
Defines RequestHandlerInterface and MiddlewareInterface for composable, framework-agnostic HTTP middleware pipelines.
2mo ago style intermediate
PSR-17: HTTP Factories PHP 7.1+
Standard factory interfaces for creating PSR-7 HTTP objects — decoupling library code from any specific PSR-7 implementation.
2mo ago style intermediate
PSR-1: Basic Coding Standard PHP 5.3+
The foundational PHP-FIG standard defining file encoding, PHP tags, namespace/class naming, and the single-responsibility rule for files.
2mo ago style beginner
PSR-3: Logger Interface PHP 5.3+
A common LoggerInterface with eight RFC 5424 severity methods (emergency, alert, critical, error, warning, notice, info, debug).
2mo ago style beginner
PSR-4 Autoloading Standard PHP 5.3+
Maps PHP namespaces to directory structures so classes are automatically loaded without explicit require statements.
2mo ago style beginner
PSR-6: Caching Interface PHP 5.5+
Standard CacheItemPoolInterface and CacheItemInterface for framework-agnostic cache integration — decouple code from specific cache backends.
2mo ago style intermediate
PSR-7: HTTP Message Interface PHP 5.3+
Immutable interfaces for HTTP requests and responses, enabling framework-agnostic HTTP handling and middleware composition.
2mo ago style intermediate
✓ schema.org compliant