adriansuter/php-autoload-override
Override fully qualified function calls inside PHP class methods so you can mock them in tests. Works with Composer PSR-4 autoloading (PHP 8.2+). Use OverrideFactory to map functions (e.g., rand) to custom implementations for deterministic PHPUnit tests.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| open-southeners/extended-php | 0.82 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 286 | 0 | 7.2 | 34.0 | MIT | 1 year ago | |
| avris/function-mock | 0.81 | Mock PHP functions in unit tests without changing your code. avris/function-mock lets you replace and control built-in and user-defined function calls at runtime, making it easier to test legacy code, edge cases, and hard-to-isolate behavior. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| wyrihaximus/test-utilities | 0.81 | Test utilities for api-clients packages, providing a PHPStan extension so test classes can extend WyriHaximus\TestUtilities\TestCase, with automatic registration via phpstan/extension-installer or manual inclusion of extension.neon. | 7 | 7 | 1 | 204K | 6 | 35.0 | 69.0 | MIT | 5 days ago | |
| phpstan/phpstan | 0.81 | 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 | 4 days ago | |
| nayjest/manipulator | 0.81 | Fast, lightweight PHP object manipulation helpers—like symfony/property-access but simpler (~300 LOC) and no reflection. Instantiate classes, set public properties, and assign values via setters from arrays (snake/camel case), with optional property creation. | 10 | 10 | 1 | 11K | 3 | 4.1 | 41.7 | MIT | 10 years ago | |
| belsym/test-bundle | 0.81 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| dciss/poo-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dosfarma/testing | 0.80 | Laravel testing helpers for Dosfarma projects. Provides lightweight utilities and abstractions to speed up PHPUnit/Pest setup, fakes, and common assertions across apps and packages, helping you write clearer, reusable tests with less boilerplate. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| devanoxltd/core | 0.80 | Core package for Laravel projects by Devanox, providing module support, helpers, and multi-tenancy features. It includes publishable config, migrations, views, translations, and assets, plus tenancy setup commands. Built for Devanox Private Limited projects on Laravel 13 and PHP 8.5+. | 0 | 0 | 0 | 0 | 0 | 16.6 | — | NOASSERTION | 2 months ago | |
| axstrad/use-case-test-bundle | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| braunstetter/helper | 0.80 | braunstetter/helper is a small PHP/Laravel helper package that groups handy utility functions for everyday development—common string, array, and miscellaneous helpers you can reuse across projects to reduce boilerplate and speed up coding. | 0 | 0 | 0 | 82 | 0 | 1.2 | 26.5 | — | 4 years ago | |
| herrera-io/phpunit-test-case | 0.80 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 32 | 0 | 0.0 | 12.0 | MIT | — | |
| symfonycasts/internal-test-helpers | 0.80 | Internal test utilities from SymfonyCasts to streamline PHPUnit and Symfony/Laravel package testing. Provides shared helpers, fixtures, and assertions used across SymfonyCasts projects to reduce boilerplate and keep tests consistent and readable. | 0 | — | 2 | — | 0 | 0.1 | — | — | — | |
| php-standard-library/foundation | 0.79 | Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... | 1 | 1 | 0 | 105K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| phpcompatibility/phpcompatibility-paragonie | 0.67 | PHP_CodeSniffer rulesets that extend PHPCompatibility to account for Paragonie polyfills (random_compat and sodium_compat), reducing false positives when checking PHP cross-version compatibility. Includes separate RandomCompat and SodiumCompat standards. | 10 | 12 | 2 | 2M | 0 | 5.0 | 56.0 | LGPL-3.0 | 11 months ago | |
| php-amqplib/php-amqplib | 0.67 | Pure PHP implementation of the AMQP 0-9-1 protocol, tested against RabbitMQ. Supports exchange bindings, publisher confirms, basic nack, and consumer cancel notify, with no C extensions required. | 4,599 | 4,710 | 1,023 | 3M | 15 | 70.8 | 54.4 | LGPL-2.1 | 1 month ago | |
| videlalvaro/php-amqplib | 0.67 | Pure PHP implementation of the AMQP 0-9-1 protocol, tested against RabbitMQ. This library powers the official RabbitMQ PHP tutorials and supports publisher confirms, basic nack, consumer cancel notify, and exchange-to-exchange bindings. | 4,599 | 4,609 | 1,023 | 11K | 15 | 70.8 | 18.0 | LGPL-2.1 | 1 month ago | |
| phpcompatibility/php-compatibility | 0.66 | PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support. | 2,311 | 2,314 | 203 | 3M | 89 | 48.2 | 65.3 | LGPL-3.0 | 11 months ago | |
| composer/class-map-generator | 0.64 | Scan PHP directories and extract a class map mapping every class, interface, trait, and enum to its file path. Supports multiple scans, sorted output, and detection of ambiguous classes for robust autoloading and code analysis. | 208 | 209 | 25 | 12M | 0 | 27.8 | 65.0 | MIT | 4 days ago | |
| laminas/laminas-code | 0.64 | Generate, analyze, and manipulate PHP code with Laminas Code. Provides reflection utilities, code generators, docblock parsing, and class/file generation helpers for building frameworks, tooling, and meta-programming workflows. | 1,904 | 1,908 | 86 | 4M | 21 | 47.0 | 62.7 | BSD-3-Clause | 1 week ago |
How can I help you explore Laravel packages today?