Download the PHP package acacha/names without Composer
On this page you can find all versions of the php package acacha/names. 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 names
Provides alternatives names to Laravel 5 models.
Installation
Migrations
Run:
To add names table to you Laravel project. Is not necessary to modify existent Model tables to add alternatives names to an existing model.
Use
Basically this package uses Laravel polymorphic-relations (1) to add alternative names to models.
You only have to add trait Acacha\Names\Nameable to you model:
This will add polimorphic relation names() that gives access to alternative model names:
Specifications
Table names
Columns:
- id
- shortname: Model/resource short name.
- fullname: resource fullname.
- nickname: resource nickname.
- code: resource code.
- description: resource description.
- notes: resource notes.
- nameable_type : nameable object class
- nameable_id: nameable object id
All versions of names with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^5.3
The package acacha/names contains the following files
Loading the files please wait ....