A field for Symphony CMS that generates UUID values upon saving.
Clone the latest version to your /extensions
folder and run composer to install required packages (see, Dependencies below).
$ git clone https://github.com/pointybeard/uuidfield.git
$ composer update -vv --profile -d ./uuidfield
After finishing the steps above, enable "UUID Field" though the administration interface or, if using Orchestra, with bin/extension enable uuidfield
.
- Add the following extension defintion to your
.orchestra/build.json
file in the"extensions"
block:
{
"name": "uuidfield",
"repository": {
"url": "https://github.com/pointybeard/uuidfield.git"
}
}
- Run the following command to rebuild your Extensions
$ bin/orchestra build \
--skip-import-sections \
--database-skip-import-data \
--database-skip-import-structure \
--skip-create-author \
--skip-skip-seeders \
--skip-git-reset \
--skip-composer \
--skip-postbuild
- This extension works with PHP 7.4 or above.
This extension depends on the following Composer libraries:
- PHP Helpers
- Symphony Section Class Mapper
- Symphony CMS: Extended Base Class Library
- ramsey/uuid library
- paragonie/random_compat
Run composer install
on the extension/uuidfield
directory to install these dependencies.
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
We encourage you to contribute to this project. Please check out the Contributing documentation for guidelines about how to get involved.
- Alannah Kearney - http://github.com/pointybeard
- See also the list of contributors who participated in this project
"UUID Field for Symphony CMS" is released under the MIT License.