Libraries tagged by Class methods
m0rtis/picklock
22 Downloads
One class package for calling protected and private methods without reflection
greencape/reflector
58 Downloads
A wrapper to the Reflection classes for accessing non-public properties and methods for testing.
galvani/php-redis
167 Downloads
php-redis contains php5 class for connecting with redis database with methods for all available commands in redis
crazy-max/cws-crypto
340 Downloads
PHP class for password hashing with multi encryption methods.
zalevsk1y/container-builder
161 Downloads
Container Builder, provides a simple implementation of a Dependency Injection Container. It allows for easy management of object instances and their dependencies, allowing for more flexible and maintainable code. The module includes methods for adding definition files, retrieving instances, and calling methods on instances with specified arguments. This can help improve code organization and reduce coupling between classes, leading to a more robust and scalable application.
webiik/container
69 Downloads
The Container adds handy methods to most common Pimple functions and then adds automatic injection of dependencies from container to class constructor.
voral/mock-builder
42 Downloads
A PHP utility to generate mock classes by processing source code, leaving only public methods and clearing their bodies. Supports PSR-4 and is ideal for testing complex systems without Dependency Injection.
uk/dynamic-properties
28 Downloads
Helping classes to use dynamic properties declared by get*() and set*() methods
scopez-jelmer/validation-helper
3 Downloads
Some helper methods to help you build up your validation classes quicker
sagittariusx/beluga.dynamic-properties
95 Downloads
Helping classes to use dynamic properties declared by get*() and set*() methods
rodrigodiez/mockable-predis
280 Downloads
A class that extends Predis/Client and has all its magic methods anotated so you can create Prophecy mocks
plinker/core
1075 Downloads
PlinkerRPC PHP client/server makes it really easy to link and execute PHP component classes on remote systems, while maintaining the feel of a local method call.
pine3ree/pine3ree-params-resolver
2161 Downloads
A function/method/invokable-object parameter resolution utility class
pcual-mac/image-basekit-cli
0 Downloads
Small CLI app that handles image storage to be used as part of a wider application. You can assume actual capture of the image happens elsewhere in the wider application and the local path to an image can simply be passed as input to the CLI app. The app should perform basic validation on the image and allow it’s storage, retrieval and deletion on the file system. Note whilst only file system storage is required in this test the module should be written in such a way that makes it easy to plug in future required storage methods eg S3, FTP etc using just a config change along with the new storage class.
onsa/reflective-test-case
23 Downloads
ReflectiveTestCase extends PHPUnit's TestCase with the invokeMethod method for the sake of testing private classes.