Libraries tagged by methods to class
adamczykpiotr/laravel-make-transformer
200 Downloads
Laravel 7.x package to add artisan method `make:transformer ClassTransformer`
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.
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.
sikessem/reflex
0 Downloads
Use PHP's Reflection API to dynamically manage classes/objects, call methods/functions and many more.
kachuru/util
137 Downloads
Utility classes and methods that are fun to have around
jonathanwkelly/ups-shipping-rate
7 Downloads
This is a very simple class that uses the UPS web service to get a shipping rate. Basically, you pass it the shipping method you'd like to use, the destination / shipper zip codes, the package dimensions, and receive a shipping quote. There are plenty of values that are hard-coded in the XML request that could be passed in dynamically for a more robust rating process.
greencape/reflector
58 Downloads
A wrapper to the Reflection classes for accessing non-public properties and methods for testing.
fkolcu/attribute-authorization-bundle
3 Downloads
This bundle provides attribute to authorize user on class or method level
f1ames/pear_image_iptc
321 Downloads
This package provides a mechanism for modifying IPTC header information. The class abstracts the functionality of iptcembed() and iptcparse() in addition to providing methods that properly handle replacing IPTC header fields back into image files.
mima/cache-proxy
17 Downloads
Decorator for public methods of any classes for proxy request to cache
milantex/tpc
14 Downloads
This project provides a mechanism to specify types for class properties. Also, property types have additional parameters, such as the regular expression pattern for strings, minimum and maximum value for integers etc. The special setter method handles type checking and will set the given value only if it is valid for the given type and its additional parameters. Check the documentation for an example.
jclaveau/php-visibility-violator
201 Downloads
Class providing simple helpers to violate the defined visibility of methods and properties
ivanstan/symfony-extend-request
5 Downloads
Adds ability to extend Symfony request class and use child class as controller method parameter type
celtak/dog-database
5 Downloads
A class that allows to use a MySQL database and make calls to this database not through queries but through methods
blainesch/magicoracle
18 Downloads
A proxy class developed for unit testing that makes all methods and properties public to you.