Libraries tagged by Magic Method
kdyby/strict-objects
1606371 Downloads
Simple trait to make your class strict, when calling or accessing undefined member (property or method).
fooman/phpstan-magento2-magic-methods
92429 Downloads
PhpStan extension to support Magento 2's use of magic methods
tuupola/witchcraft
15349 Downloads
Opionated magic methods as traits
tkachikov/laravel-withtrashed
2037 Downloads
Trait for set magic method withTrashed for models with SoftDelete
shaka/dynamic-update-trait
6592 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.
aedart/athenaeum
5161 Downloads
Athenaeum is a mono repository; a collection of various PHP packages
aedart/overload
11526 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)
ijvo/kdyby-strict-objects
1353 Downloads
Simple trait to make your class strict, when calling or accessing undefined member (property or method).
aedart/athenaeum-properties
1327 Downloads
Provides means to dynamically deal with inaccessible properties, by implementing some of PHP's magic methods
slick/common
6779 Downloads
Slick common package contains a set of useful classes and traits for Slick library
isra00/class-triggers
6 Downloads
Inject magic actions before and after any method of any class
gwl12345/laravel-jetstream-react-shadcn-multilogin
12 Downloads
A starter kit for the Laravel framework using Jetstream, Inertia.js, React (TS), and shadcn (Laravel Authentication Styling). Extended with multiple login methods support, magic link authentication, and passkey (Laragear/WebAuthn) login.
lightningspirit/magic-interfaces
28 Downloads
Provides PHP Interfaces to test some magic methods using instanceof instead of method_exists
jesseschalken/magic-utils
29 Downloads
Traits and functions to help with implementing PHP's magic methods
axebear/php-magic
9 Downloads
PHP micro framework for hooking into magic methods using docblocks and attributes.