pmvc-plugin / guid
Id of Things
Installs: 1 125
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- pmvc/pmvc: *
Requires (Dev)
README
Id of things
GetModel Sample
- Algolia
- Ssdb
- Others
Global Table
- GlobalKey
- format: guid->key
- https://github.com/pmvc-plugin/guid/blob/master/src/models/GlobalGuidKey.php
- Get Key
\PMVC\plug('guid')->manager()->getKey($guid);
- GlobalGuid
- format: key->guid
- https://github.com/pmvc-plugin/guid/blob/master/src/models/GlobalKeyGuid.php
- Get Guid
\PMVC\plug('guid')->manager()->getGuid($key);
Install with Composer
1. Download composer
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
2. Install by composer.json or use command-line directly
2.1 Install GUID by adding a dependency to pmvc-plugin/guid to the require section of your project's composer.json configuration file.
- vim composer.json
{
"require": {
"pmvc-plugin/guid": "dev-master"
}
}
- php composer.phar install
2.2 Or use composer command-line
- php composer.phar require pmvc-plugin/guid