Download the PHP package astritzeqiri/laravel-metadata without Composer
On this page you can find all versions of the php package astritzeqiri/laravel-metadata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download astritzeqiri/laravel-metadata
More information about astritzeqiri/laravel-metadata
Files in astritzeqiri/laravel-metadata
Download astritzeqiri/laravel-metadata
More information about astritzeqiri/laravel-metadata
Files in astritzeqiri/laravel-metadata
Vendor astritzeqiri
Package laravel-metadata
Short Description Add metadata to laravel models
License MIT
Homepage https://github.com/astritzeqiri/laravel-metadata
Package laravel-metadata
Short Description Add metadata to laravel models
License MIT
Homepage https://github.com/astritzeqiri/laravel-metadata
Please rate this library. Is it a good library?
Informations about the package laravel-metadata
Laravel Meta data
Add metadata to laravel models
Requirements
- PHP >=5.4
- Laravel >= 5.0
Installation
Add laravel-metadata to your composer.json file:
Get composer to install the package:
Registering the Package
Register the service provider within the providers
array found in app/config/app.php
:
If you want you can add an alias to the MetaData model within the aliases
array found in app/config/app.php
:
Then you need to publish the migration files:
And then run the migration:
Usage
Basic Examples
First you need to go to your model and use the HasManyMetaDataTrait:
Updating a meta data entry:
Get meta data entry:
Delete meta data entry:
Filter users by meta_data:
License
All versions of laravel-metadata with dependencies
PHP Build Version
Package Version
The package astritzeqiri/laravel-metadata contains the following files
Loading the files please wait ....