thecodingmachine/safe
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| thecodingmachine/phpstan-safe-rule | 0.78 | PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. | 62 | 62 | 25 | 235K | 3 | 15.9 | 53.6 | — | 6 months ago | |
| nette/utils | 0.77 | Handy PHP utility classes from the Nette Framework: strings, arrays, JSON, dates/times, file system helpers, safe reflection, and more. Lightweight, well-tested, and framework-agnostic—useful building blocks for everyday PHP and Laravel projects. | 2,140 | 2,186 | 153 | 11M | 9 | 47.0 | 66.0 | NOASSERTION | 3 weeks ago | |
| mnapoli/hard-mode | 0.76 | 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. | 9 | 9 | 1 | 508 | 0 | 1.3 | 23.7 | MIT | 5 years ago | |
| symplify/coding-standard | 0.76 | 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. | 381 | 382 | 26 | 87K | 0 | 3.5 | 32.3 | MIT | 1 year ago |
How can I help you explore Laravel packages today?