Libraries tagged by methods to class
spatie/macroable
45466470 Downloads
A trait to dynamically add methods to a class
doctrine/reflection
102184325 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
40866730 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
3536321 Downloads
PHPStan rules to measure cognitive complexity of your classes and methods
kdyby/strict-objects
1585132 Downloads
Simple trait to make your class strict, when calling or accessing undefined member (property or method).
lazzard/php-ftp-client
152847 Downloads
This library provides helper classes and methods to manage your FTP files in an OOP way.
astrotomic/php-conditional-proxy
116584 Downloads
This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.
debuss-a/mtomsoapclient
150179 Downloads
This class overrides SoapClient::__doRequest() method to implement MTOM for PHP. It decodes XML and integrate attachments in the XML response.
naoray/eloquent-model-analyzer
415962 Downloads
Helpful methods to gain more information about eloquent model classes.
adriansuter/php-autoload-override
35009 Downloads
Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.
azimkordpour/power-enum
9582 Downloads
This light package provides some methods to your Enum classes to make the most of them.
securetrading/data
406804 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.
steefdw/standards-enums
35639 Downloads
The Standards Enums package provides a simple and consistent way to work with countries, languages, currencies, and locales using enums.Each Enum comes with methods for accessing related information, like the name, flag, description, and more.Additionally, helper methods are provided to easily get all possible values or sort them by their name in a given language.These methods can be used with all Enum classes, regardless of whether they represent languages, countries, currencies, or locales.
marcocesarato/sqlparser
34441 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
499514 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.