Libraries tagged by methods to class

spatie/macroable

739 Favers
64133935 Downloads

A trait to dynamically add methods to a class

Go to Download


doctrine/reflection

2970 Favers
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.

Go to Download


theseer/fdomdocument

256 Favers
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.

Go to Download


tomasvotruba/cognitive-complexity

153 Favers
5569238 Downloads

PHPStan rules to measure cognitive complexity of your classes and methods

Go to Download


lazzard/php-ftp-client

93 Favers
232616 Downloads

This library provides helper classes and methods to manage your FTP files in an OOP way.

Go to Download


kdyby/strict-objects

32 Favers
1732029 Downloads

Simple trait to make your class strict, when calling or accessing undefined member (property or method).

Go to Download


azimkordpour/power-enum

41 Favers
18655 Downloads

This light package provides some methods to your Enum classes to make the most of them.

Go to Download


astrotomic/php-conditional-proxy

31 Favers
171568 Downloads

This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.

Go to Download


debuss-a/mtomsoapclient

35 Favers
172005 Downloads

This class overrides SoapClient::__doRequest() method to implement MTOM for PHP. It decodes XML and integrate attachments in the XML response.

Go to Download


adriansuter/php-autoload-override

23 Favers
66105 Downloads

Override global scoped fully qualified function calls inside your class methods in order to be able to mock them during testing.

Go to Download


securetrading/data

0 Favers
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.

Go to Download


naoray/eloquent-model-analyzer

16 Favers
434930 Downloads

Helpful methods to gain more information about eloquent model classes.

Go to Download


dkd/php-populate

5 Favers
66057 Downloads

Trait for PHP classes, allowing properties to be populated from sources like JSON, via getters but using a single method

Go to Download


marcocesarato/sqlparser

31 Favers
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.

Go to Download


mouf/utils.common.conditioninterface

3 Favers
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.

Go to Download


Next >>