Download the PHP package royalcms/metable without Composer
On this page you can find all versions of the php package royalcms/metable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download royalcms/metable
More information about royalcms/metable
Files in royalcms/metable
Download royalcms/metable
More information about royalcms/metable
Files in royalcms/metable
Vendor royalcms
Package metable
Short Description The Royalcms metable package.
License MIT
Homepage http://royalcms.cn
Package metable
Short Description The Royalcms metable package.
License MIT
Homepage http://royalcms.cn
Please rate this library. Is it a good library?
Informations about the package metable
Royalcms-Metable
Royalcms-Metable is a package for easily attaching arbitrary data to Eloquent models for Royalcms 5.
Features
- One-to-many polymorphic relationship allows attaching data to Eloquent models without needing to adjust the database schema.
- Type conversion system allows data of numerous different scalar and object types to be stored and retrieved. See the documentation for the list of supported types.
Example Usage
Attach some metadata to an eloquent model
Query the model by its metadata
Retrieve the metadata from a model
Add the Royalcms\Component\Metable\Metable
trait to any eloquent model class that you want to be able to attach metadata to.
License
This package is released under the MIT license (MIT).
All versions of metable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
The package royalcms/metable contains the following files
Loading the files please wait ....