- Version: 1.0.0
- Date: Dec 27 2019
- Release notes
- GitHub repository
A field for Symphony CMS that validates and stores JSON data
This is an extension for Symphony CMS. Add it to the /extensions
folder of your Symphony CMS installation, then enable it through the interface.
This extension requires PHP 7.3 or newer and the pointybeard/helpers-functions-json library (pointybeard/helpers-functions-json
) to be installed via Composer. Either run composer install
on the extension/jsonfield
directory or require this package in your main composer.json file like so:
"require": {
"php": ">=7.3",
"pointybeard/helpers-functions-json": "~1.0.0"
}
Once enabled, you can add the 'Json' field to your sections. Attempting to save an entry with invalid JSON will cause an error to be thrown and prevent saving.
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.
"JSON Field for Symphony CMS" is released under the MIT License.