Registry / web-framework / laravel-enso-dynamic-methods

laravel-enso-dynamic-methods

JSON →
library4.0.3phppackagistunverified

Dynamic methods, relations or accessors for models.

composer require laravel-enso/dynamic-methods
INSTALL
IMPORT
SIG · LARAVEL-ENSO-DYNAM
L
laravel-enso-dynamic-methods
web-frameworkphpv4.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DynamicMethods
use LaravelEnso\DynamicMethods\DynamicMethods;

Add a dynamic method to a model.

use LaravelEnso\DynamicMethods\DynamicMethods; $model = new YourModel(); $model->addDynamicMethod('customMethod', function() { return 'dynamic result'; }); echo $model->customMethod();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
laravel-enso-dynamic-methods — pip install laravel-enso-dynamic-methods · libregistry