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
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| ajgl/logout-redirector-bundle | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| ajgl/validator-es | — | 1 | 1 | 0 | 191 | 0 | 0.1 | 27.3 | MIT | — | |
| assoconnect/php-date | — | 7 | 7 | 1 | 293 | 0 | 21.3 | 24.4 | MIT | 3 months ago | |
| bentools/crontab-bundle | — | 2 | 2 | 1 | 0 | 0 | 0.6 | — | — | 5 years ago | |
| bentools/shh | Shh! is a lightweight PHP library for handling secrets: generate RSA key pairs, change private key passphrases, encrypt/decrypt payloads, and store encrypted secrets safely so only holders of the private key can decrypt. | 4 | 4 | 0 | 202 | 0 | 0.9 | 22.3 | — | 4 years ago | |
| bentools/shh-bundle | — | 3 | 3 | 0 | 137 | 0 | 1.2 | 21.4 | — | 1 year ago | |
| coddin-web/idp-openid-connect-bundle | — | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| cushon/health-bundle | — | 0 | 1 | 1 | 25 | 0 | 1.5 | 19.5 | MIT | 3 years ago | |
| dobryprogramator/smartform-bundle | — | 0 | 0 | 0 | 0 | 0 | 5.4 | — | MIT | 4 years ago | |
| fidry/console | Lightweight, robust wrapper around symfony/console. Uses a single IO object (SymfonyStyle-like, with access to Input/Output) plus typed, validated args/options. Prefer explicit interfaces over inheritance; works with Symfony or standalone CLI apps. | 19 | 19 | 3 | 109K | 6 | 8.8 | 54.0 | MIT | 1 year ago | |
| hosmelq/sse | WHATWG-compliant PHP 8.2+ client for consuming Server-Sent Events. Connect via GET/POST using Guzzle, iterate events with a memory-efficient generator, and access data/event/id/retry fields with optional JSON decoding. | 14 | 14 | 0 | 614 | 0 | 3.0 | 21.2 | MIT | 10 months ago | |
| humbug/box | — | 1,310 | 1,315 | 109 | 23K | 72 | 44.3 | 49.9 | MIT | 2 months ago | |
| humbug/php-scoper | PHP-Scoper prefixes your project and its dependencies into a unique namespace to avoid conflicts, especially when building PHARs that bundle vendor code and run alongside other PHP projects with overlapping packages or versions. | 802 | 803 | 76 | 127K | 22 | 38.1 | 46.3 | MIT | 3 months ago | |
| infection/infection | Infection is a PHP mutation testing framework that measures how well your tests detect small code changes. Run it in CI to get a Mutation Score Indicator (MSI), uncover weak assertions, and improve test quality. PHP 8.3+. | 2,202 | 2,213 | 183 | 751K | 165 | 66.3 | 68.3 | BSD-3-Clause | 2 weeks ago | |
| infection/phpspec-adapter | — | 3 | 3 | 1 | 4K | 1 | 22.8 | 50.5 | BSD-3-Clause | 2 weeks ago | |
| kcs/class-finder | Discover and filter PHP classes and namespaces in your project using Composer’s autoloader with PSR resolution. Iterate found classes and reflections, then narrow results by interfaces, subclasses, annotations, PHP 8 attributes, directories, namespaces, or custom callbacks. | 31 | 31 | 6 | 82K | 2 | 4.3 | 47.0 | MIT | 1 year ago | |
| laragraph/utils | 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 | 8 | 555K | 0 | 20.2 | 62.6 | MIT | 3 months ago | |
| mll-lab/graphql-php-scalars | Custom scalar types for webonyx/graphql-php, including BigInt, Date/DateTime/DateTimeTz, Email, JSON, and IntRange for bounded integers. Drop-in types for schema definitions with strict parsing and DateTimeImmutable conversion for date scalars. | 147 | 139 | 14 | 150K | 0 | 11.3 | 42.0 | MIT | 11 months ago | |
| nuwave/lighthouse | Lighthouse is a Laravel-first GraphQL server framework. Define schemas, resolve data with Eloquent, and handle common GraphQL tasks with built-in directives and extensibility. Docs at lighthouse-php.com. Note: repo planned to move to spawnia/lighthouse. | 3,493 | 3,500 | 469 | 330K | 106 | 77.6 | 58.8 | MIT | 2 months ago | |
| pelago/emogrifier | Emogrifier converts CSS from blocks and stylesheets into inline style attributes in HTML. Ideal for HTML email rendering in clients with poor CSS support (e.g., Outlook, Gmail), ensuring consistent styling across email and mobile readers. | 949 | 959 | 160 | 794K | 80 | 45.1 | 69.8 | MIT | 6 months ago | |
| rebing/graphql-laravel | Code-first GraphQL integration for Laravel built on webonyx/graphql-php. Define schemas, types, queries and mutations in PHP with support for multiple schemas, middleware, resolver middleware, privacy rules, and n+1 avoidance via dataloaders or SelectFields. | 2,212 | 2,224 | 271 | 193K | 0 | 50.5 | 31.6 | MIT | 1 week ago | |
| sabberworm/php-css-parser | Parse and manipulate CSS in PHP with a fast, flexible parser. Convert CSS into an object model, inspect and edit rules, selectors, and declarations, then render back to CSS. Useful for minifying, rewriting assets, or building CSS tooling. | 1,821 | 1,832 | 152 | 6M | 135 | 56.6 | 79.3 | MIT | 3 months ago | |
| solido/php-coding-standards | Solido PHP coding standards meta-package: shared dev requirements for Solido suite tooling and analyzers (e.g., PHPStan, PHP_CodeSniffer). Use dev-master; no stable releases. Include as a dev dependency in all Solido PHP packages. | 4 | 4 | 1 | 671 | 1 | 0.3 | 29.3 | — | — | |
| thecodingmachine/phpstan-safe-rule | 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 | 227K | 3 | 15.8 | 53.4 | — | 6 months ago | |
| webmozarts/console-parallelization | Parallelize Symfony Console commands using multiple processes. A main process distributes items to child workers, restarts workers after segments to avoid slowdown, and supports batching with hooks for setup/teardown (e.g., DB flush) for faster bulk jobs. | 227 | 227 | 17 | 54K | 6 | 12.2 | 36.0 | MIT | 1 year ago | |
| webonyx/graphql-php | webonyx/graphql-php is a GraphQL server implementation for PHP, following the official GraphQL specification and modeled after graphql-js. Build schemas, execute queries, validate documents, and extend via types, resolvers, and tooling for production APIs. | 4,715 | 4,739 | 574 | 2M | 38 | 81.4 | 63.9 | MIT | 1 month ago | |
| worksome/envy | — | 688 | 687 | 32 | 41K | 0 | 21.8 | 29.2 | MIT | 3 months ago |
How can I help you explore Laravel packages today?