mnapoli/hard-mode
Hard Mode is a small PHP library by Matthieu Napoli that encourages writing more explicit, robust code by making certain “bad practices” harder or impossible at runtime. Useful for catching hidden assumptions and improving code quality in existing projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symplify/easy-testing | 0.82 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 41 | 42 | 3 | 29K | 0 | 0.1 | 27.7 | MIT | — | |
| malukenho/docheader | 0.81 | Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. | 68 | 68 | 8 | 13K | 2 | 22.0 | 37.7 | MIT | 8 years ago | |
| laragraph/utils | 0.80 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 7 | 502K | 0 | 25.1 | 65.0 | MIT | 1 month ago | |
| symplify/coding-standard | 0.79 | Ready-to-use PHP CS Fixer and PHP_CodeSniffer rules bundled as a coding standard, with Symplify tooling integration. Helps keep projects consistent, modern, and clean with configurable rule sets suited for CI and team workflows. | 379 | 379 | 26 | 82K | 3 | 24.0 | 38.4 | MIT | 10 months ago | |
| thecodingmachine/safe | 0.76 | Safe PHP functions: a drop-in wrapper around PHP’s native functions that converts warnings and notices into exceptions, improving type safety and error handling. Includes namespaced alternatives for many standard functions with IDE/static analysis support. | 2,480 | 2,488 | 165 | 4M | 29 | 55.4 | 66.2 | MIT | 1 month ago | |
| thecodingmachine/phpstan-strict-rules | 0.76 | Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. | 289 | 289 | 27 | 71K | 9 | 34.1 | 43.3 | — | 4 years ago | |
| phpstan/phpstan-strict-rules | 0.75 | Extra strict, opinionated PHPStan rules for strongly typed PHP. Catches loose/unsafe patterns like non-boolean conditions, useless casts, non-numeric arithmetic, missing strict flags in in_array/array_search, variable overwrites in loops, and switch type mismatches. | 691 | 695 | 58 | 2M | 36 | 45.5 | 74.4 | MIT | 1 month ago | |
| squizlabs/php_codesniffer | 0.75 | PHP_CodeSniffer (PHPCS) provides phpcs to detect coding standard violations and phpcbf to automatically fix them. Tokenizes PHP files against defined standards to keep code clean and consistent, suitable for teams and CI. | 1,489 | 1,693 | 97 | 6M | 158 | 59.4 | 89.6 | BSD-3-Clause | 4 months ago | |
| phpmd/phpmd | 0.74 | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,418 | 2,494 | 350 | 2M | 86 | 68.3 | 81.5 | BSD-3-Clause | 2 years ago | |
| dms/coding-standard | 0.74 | DMS Coding Standard provides a customized PHPCS ruleset for consistent PHP code style across repositories. Based on PSR-1/PSR-2 with Doctrine flavor, enforcing strict_types declarations and return type spacing rules. | 1 | 1 | 1 | 24 | 0 | 20.9 | 18.1 | — | 2 years ago | |
| wyrihaximus/coding-standard | 0.64 | PHP coding standard package for consistent formatting and style in PHP projects. Provides ready-to-use rulesets and configuration to streamline linting, code style checks, and enforcement across teams and CI pipelines. | 0 | 0 | 0 | 30K | 1 | 29.1 | 65.0 | MIT | 2 months ago |
How can I help you explore Laravel packages today?