Download the PHP package aw-studio/laravel-dynamic-attributes without Composer
On this page you can find all versions of the php package aw-studio/laravel-dynamic-attributes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-dynamic-attributes
Laravel Dynamic Attributes
A package for adding dynamic attributes to Elqouent Models.
See also: Laravel Dynamic Relations
Setup
Install the package via composer:
Publish the migrations:
Usage
Just add the HasDynamicAttributes
to a Model:
And voila:
Set Attribute Cast Manually
Usually casts should be set correctly depending on the attribute value:
However you may want to set an attribute cast manually:
Query Scopes
All versions of laravel-dynamic-attributes with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
^8.46
illuminate/contracts Version ^8.46
inertiajs/inertia-laravel Version ^0.4
illuminate/contracts Version ^8.46
inertiajs/inertia-laravel Version ^0.4
The package aw-studio/laravel-dynamic-attributes contains the following files
Loading the files please wait ....