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