composer/pcre
Type-safe wrappers around PHP's preg_* functions that fail loudly instead of returning unexpected nulls. Enforces PREG_UNMATCHED_AS_NULL, simplifies return types for PHPStan and Psalm, and includes a PHPStan extension for better regex analysis.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/type | 0.85 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| donatello-za/rake-php-plus | 0.84 | A dependency-free PHP implementation of RAKE (Rapid Automatic Keyword Extraction) for extracting keywords and key phrases from text. Includes stopword lists, multi-language support, customizable scoring, and straightforward integration into existing projects. | 268 | — | 48 | — | 2 | 3.3 | 0.4 | MIT | 1 year ago |
|
| larastan/larastan | 0.84 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,547 | 6,560 | 529 | 11M | 39 | 85.8 | 78.7 | MIT | 3 days ago | |
| phpstan/phpstan-php-parser | 0.84 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago | |
| kitano/php-expression | 0.84 | kitano/php-expression is a lightweight PHP library for parsing and evaluating expressions safely without eval. It supports variables, operators, and functions, making it useful for dynamic formulas, rules, and configurable logic in PHP applications. | 30 | 30 | 3 | 0 | 2 | 0.6 | — | MIT | — | |
| composer/semver | 0.84 | A standalone PHP library for parsing, validating, and comparing semantic version numbers and constraints, extracted from Composer. It normalizes versions, handles stability flags and branches, and powers dependency version checks. Requires PHP 5.3.2+. | 3,304 | 3,332 | 81 | 18M | 0 | 48.5 | 60.5 | MIT | 1 week ago | |
| mpociot/human-regex | 0.84 | Human Regex lets you build regular expressions in PHP with readable, fluent method calls instead of cryptic syntax. Chain start(), then(), capture(), and end() to compose patterns that are easier to write, review, and maintain. | 113 | 113 | 6 | 0 | 1 | 0.8 | — | MIT | — | |
| marvin255/random-string-generator | 0.84 | A lightweight PHP package for generating random strings with configurable length and character sets. Ideal for access tokens, passwords, and unique identifiers, with optional Laravel integration and a simple, framework-agnostic API. | 1 | 1 | 1 | 503 | 0 | 8.5 | 35.7 | MIT | 7 months ago | |
| jakub-onderka/php-code-style | 0.84 | A PHP coding style toolkit for consistent formatting and style enforcement across projects. Helps standardize code layout and conventions, making reviews easier and reducing style-related noise in diffs for teams and CI pipelines. | 0 | 0 | 1 | 28 | 0 | 0.4 | 20.2 | — | 12 years ago | |
| paysera/lib-php-cs-fixer-config | 0.84 | Shared PHP CS Fixer configuration from Paysera that enforces a consistent coding style across PHP projects. Install via Composer and extend the provided ruleset to standardize formatting and keep your codebase clean. | 10 | — | 20 | — | 3 | 15.1 | 2.6 | — | 4 months ago |
|
| orchestra/parser | 0.84 | Orchestra Parser is a lightweight PHP package from the Orchestra Platform that turns structured data formats into usable PHP arrays through a simple, extensible API, making it easy to read and transform configuration or markup in Laravel applications. | 0 | 468 | — | 23K | — | 0.3 | 55.3 | — | — | |
| bnf/phpstan-psr-container | 0.83 | PHPStan dynamic return type extension for PSR-11 ContainerInterface. Improves type inference for $container->get() so services are typed correctly during static analysis. Install via Composer and include extension.neon (or use phpstan/extension-installer). | 13 | 13 | 4 | 208K | 1 | 0.6 | 55.2 | GPL-2.0 | 1 year ago | |
| php-standard-library/option | 0.83 | Option type for PHP with explicit Some/None presence semantics, replacing nullable values so absence is handled intentionally instead of silently. Part of the PHP Standard Library. | 1 | 1 | 0 | 113K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| apie/regex-tools | 0.83 | Utility package from the Apie ecosystem that provides internal tools for working with regular expressions in PHP, including helpers for building and validating regex patterns. Maintained in the Apie monorepo; primarily intended for internal use. | 0 | 0 | 0 | 90 | 0 | 0.0 | 27.1 | MIT | — | |
| php-static-analysis/phpstan-extension | 0.83 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| sllh/composer-lint | 0.83 | Composer plugin that extends composer validate with extra linting rules for composer.json. Installs globally or per project, auto-enables on install, and can be configured via COMPOSER_HOME/config.json. | 14 | 15 | 5 | 4K | 3 | 2.3 | 34.6 | MIT | 5 years ago | |
| soyhuce/phpstan-extension | 0.83 | A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. | 1 | — | 1 | — | 0 | 0.9 | 1.5 | MIT | 1 year ago | |
| phpstan/phpstan | 0.83 | PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. | 14,147 | 14,221 | 972 | 19M | 1,056 | 94.9 | 77.1 | MIT | 3 days ago | |
| florianwolters/component-core-stringutils | 0.83 | StringUtils is a lightweight PHP component providing static string helper methods for everyday tasks such as emptiness checks, trimming, case conversion, and substring handling, with predictable behavior and easy integration into any PHP project. | 5 | 5 | 5 | 1K | 0 | 0.2 | 30.9 | LGPL-3.0 | — | |
| onramplab/onr-phpcs-laravel | 0.83 | Opinionated PHP_CodeSniffer ruleset for Laravel projects. Provides a ready-to-use PHPCS configuration with Laravel-focused coding standards to help keep code style consistent across your app and team. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.1 | Unlicense | — |
How can I help you explore Laravel packages today?