Libraries tagged by Magic Method

kdyby/strict-objects

32 Favers
1502721 Downloads

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

Go to Download


fooman/phpstan-magento2-magic-methods

16 Favers
84575 Downloads

PhpStan extension to support Magento 2's use of magic methods

Go to Download


aedart/athenaeum

23 Favers
5120 Downloads

Athenaeum is a mono repository; a collection of various PHP packages

Go to Download


aedart/athenaeum-properties

0 Favers
1095 Downloads

Provides means to dynamically deal with inaccessible properties, by implementing some of PHP's magic methods

Go to Download


tuupola/witchcraft

23 Favers
15193 Downloads

Opionated magic methods as traits

Go to Download


aedart/overload

2 Favers
11166 Downloads

Provides means to dynamically deal with inaccessible properties, by implementing PHP's magic methods; __get(), __set(), __isset(), and __unset(). This package, however, enforces the usage of getters- and setters-methods, ensuring that if a property is indeed available, then its corresponding getter or setter method will be invoked. The term 'overload', in this context, refers to PHP’s own definition hereof. (http://php.net/manual/en/language.oop5.overloading.php)

Go to Download


ijvo/kdyby-strict-objects

0 Favers
642 Downloads

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

Go to Download


tkachikov/laravel-withtrashed

2 Favers
605 Downloads

Trait for set magic method withTrashed for models with SoftDelete

Go to Download


keven/magician

2 Favers
24 Downloads

Register magic methods handlesr from traits and abstract classes. DO NOT USE IN PRODUCTION.

Go to Download


carloswph/mainframe

3 Favers
5 Downloads

Provides a container in which objects can be pushed, and then an interface to call methods that can be found inside the queued objects, and executed sequentially.

Go to Download


slick/common

0 Favers
6595 Downloads

Slick common package contains a set of useful classes and traits for Slick library

Go to Download


isra00/class-triggers

7 Favers
6 Downloads

Inject magic actions before and after any method of any class

Go to Download


shaka/dynamic-update-trait

0 Favers
78 Downloads

The Dynamic Update Trait for Laravel provides a convenient way to dynamically update model attributes using magic methods. This trait allows you to update individual model attributes without explicitly defining setter methods for each attribute. It simplifies the process of updating model fields by providing a generic update method that can be called with dynamic method names.

Go to Download


rodrigodiez/mockable-predis

0 Favers
252 Downloads

A class that extends Predis/Client and has all its magic methods anotated so you can create Prophecy mocks

Go to Download


netsilik/struct

1 Favers
287 Downloads

Getters and setters made easy by rule bound magic methods. Support for Read-only public properties.

Go to Download


Next >>