Libraries tagged by Magic Method

kdyby/strict-objects

32 Favers
1727112 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
100459 Downloads

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

Go to Download


tkachikov/laravel-withtrashed

2 Favers
4627 Downloads

Trait for set magic method withTrashed for models with SoftDelete

Go to Download


tuupola/witchcraft

23 Favers
15532 Downloads

Opionated magic methods as traits

Go to Download


aedart/overload

2 Favers
12587 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


aedart/athenaeum-properties

0 Favers
1918 Downloads

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

Go to Download


ijvo/kdyby-strict-objects

0 Favers
3276 Downloads

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

Go to Download


shaka/dynamic-update-trait

2 Favers
7948 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


aedart/athenaeum

25 Favers
5164 Downloads

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

Go to Download


isra00/class-triggers

7 Favers
6 Downloads

Inject magic actions before and after any method of any class

Go to Download


laravilt/auth

0 Favers
515 Downloads

Complete authentication system for Laravilt with 8 methods: login, registration, OTP, 2FA, password reset, social auth, passkeys, and magic links

Go to Download


lightningspirit/magic-interfaces

0 Favers
28 Downloads

Provides PHP Interfaces to test some magic methods using instanceof instead of method_exists

Go to Download


jesseschalken/magic-utils

1 Favers
29 Downloads

Traits and functions to help with implementing PHP's magic methods

Go to Download


blackcube/magic-compose

0 Favers
30 Downloads

Simple solution for magic methods and method composition using attributes

Go to Download


axebear/php-magic

0 Favers
50 Downloads

PHP micro framework for hooking into magic methods using docblocks and attributes.

Go to Download


Next >>