Download the PHP package dottwatson/laravel-model-meta without Composer

On this page you can find all versions of the php package dottwatson/laravel-model-meta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-model-meta

Laravel Model Meta

Extend your models with unlimited meta attributes

Build Status

Easly add meta data to your model, without change any logic. This package can gives you the ability to extend your laravel model with a configurable set of meta data. Each meta will be automatically inserted,upadted or deleted, following your model modifications and lifecycle.

Meta data will be treated exactly like attributes, so they can be cast, hidden, and have accessories and mutators available. You don't need to know any new syntax, as it is all manageable with the standard model conventions.

Installation

then publish config files

File config/model-meta-types.php

Here you can set all the available meta types. You can add any kind of meta type for all your needs

Fill free to define all your own meta types

config/model-meta.php

Here you can define all the meta data available on your model.

You can also assign a meta list directly on the model (see below).

Implements meta on your existing model

Define meta directly on the model

For default, the meta data are relationed to the model primary key. For customize it on your needs add this in your model

Commands

This create a preset model under app\Models, and if passed, creates also the table into database

This creates a standalone meta table ready to be used in your model according with the property.

Queries

No modifications are required, No extra methods are implemented. If you use the model builder,each meta will automatically be treated as if it were a column in your table.


All versions of laravel-model-meta with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dottwatson/laravel-model-meta contains the following files

Loading the files please wait ....