Libraries tagged by methods to class
spatie/macroable
64133935 Downloads
A trait to dynamically add methods to a class
doctrine/reflection
107259753 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.
theseer/fdomdocument
42651530 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.
tomasvotruba/cognitive-complexity
5569238 Downloads
PHPStan rules to measure cognitive complexity of your classes and methods
lazzard/php-ftp-client
232616 Downloads
This library provides helper classes and methods to manage your FTP files in an OOP way.
kdyby/strict-objects
1732029 Downloads
Simple trait to make your class strict, when calling or accessing undefined member (property or method).
azimkordpour/power-enum
18655 Downloads
This light package provides some methods to your Enum classes to make the most of them.
astrotomic/php-conditional-proxy
171568 Downloads
This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.
debuss-a/mtomsoapclient
172005 Downloads
This class overrides SoapClient::__doRequest() method to implement MTOM for PHP. It decodes XML and integrate attachments in the XML response.
adriansuter/php-autoload-override
66105 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
securetrading/data
553332 Downloads
Secure Trading's Data package. Contains getters/setters/deleters for a data object and allows extending classes to define validation methods for specific data keys.
naoray/eloquent-model-analyzer
434930 Downloads
Helpful methods to gain more information about eloquent model classes.
dkd/php-populate
66057 Downloads
Trait for PHP classes, allowing properties to be populated from sources like JSON, via getters but using a single method
marcocesarato/sqlparser
45652 Downloads
This class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components. Currently the class can extract the SQL query method, the names of the tables involved in the query and the field values that are passed as parameters. This parser is pretty light respect phpsqlparser or others php sql parser.
mouf/utils.common.conditioninterface
545621 Downloads
This package contains one interface for condition, and a few classes that implement it. For instance, AndCondition that requires all conditions to be met, and OrCondition that requires at least one condition to be met. A condition is a class that possesses an 'isOk' method. The condition returns true if the condition is met, and false otherwise.