Libraries tagged by Class methods
jms/metadata
173283382 Downloads
Class/method/property metadata management in PHP
dg/bypass-finals
34813988 Downloads
🔓 BypassFinals: removes final and readonly from your code on the fly, so you can mock final classes and methods in PHPUnit, Mockery or Nette Tester.
phpstan/phpstan-deprecation-rules
109892910 Downloads
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
consolidation/annotated-command
80059001 Downloads
Initialize Symfony Console commands from annotated command class methods.
doctrine/reflection
108983001 Downloads
The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection functionality that comes with PHP. It allows you to get the reflection information about classes, methods and properties statically.
spatie/macroable
73199056 Downloads
A trait to dynamically add methods to a class
nunomaduro/mock-final-classes
1532941 Downloads
Allows mocking of final methods and classes in PHP.
tomasvotruba/cognitive-complexity
6977998 Downloads
PHPStan rules to measure cognitive complexity of your classes and methods
theseer/fdomdocument
43302798 Downloads
The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.
kdyby/strict-objects
1770046 Downloads
Simple trait to make your class strict, when calling or accessing undefined member (property or method).
swissspidy/phpstan-no-private
2097321 Downloads
PHPStan rules for detecting usage of pseudo-private functions, classes, and methods.
lazzard/php-ftp-client
265646 Downloads
This library provides helper classes and methods to manage your FTP files in an OOP way.
pocketmine/binaryutils
840255 Downloads
Classes and methods for conveniently handling binary data
adriansuter/php-autoload-override
73207 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
bshaffer/phpunit-retry-annotations
505632 Downloads
Traits for retrying test methods and classes in PHPUnit