Libraries tagged by methods to class
spatie/macroable
66904899 Downloads
A trait to dynamically add methods to a class
doctrine/reflection
107906000 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.
tomasvotruba/cognitive-complexity
5911148 Downloads
PHPStan rules to measure cognitive complexity of your classes and methods
theseer/fdomdocument
42885487 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.
lazzard/php-ftp-client
244838 Downloads
This library provides helper classes and methods to manage your FTP files in an OOP way.
kdyby/strict-objects
1744743 Downloads
Simple trait to make your class strict, when calling or accessing undefined member (property or method).
azimkordpour/power-enum
20283 Downloads
This light package provides some methods to your Enum classes to make the most of them.
astrotomic/php-conditional-proxy
178674 Downloads
This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.
debuss-a/mtomsoapclient
174574 Downloads
This class overrides SoapClient::__doRequest() method to implement MTOM for PHP. It decodes XML and integrate attachments in the XML response.
securetrading/data
574590 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
436332 Downloads
Helpful methods to gain more information about eloquent model classes.
adriansuter/php-autoload-override
68630 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
dkd/php-populate
67701 Downloads
Trait for PHP classes, allowing properties to be populated from sources like JSON, via getters but using a single method
marcocesarato/sqlparser
47338 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
552768 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.