https://github.com/pointybeard/jsonfield
A field for Symphony CMS that validates and stores JSON data
https://github.com/pointybeard/jsonfield
extension symphony-cms-extension symphonycms
Last synced: about 1 month ago
JSON representation
A field for Symphony CMS that validates and stores JSON data
- Host: GitHub
- URL: https://github.com/pointybeard/jsonfield
- Owner: pointybeard
- License: other
- Created: 2019-12-26T23:56:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T02:33:51.000Z (over 5 years ago)
- Last Synced: 2025-11-14T23:41:39.695Z (7 months ago)
- Topics: extension, symphony-cms-extension, symphonycms
- Language: PHP
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# JSON Field for Symphony CMS
- Version: 1.0.0
- Date: Dec 27 2019
- [Release notes](https://github.com/pointybeard/jsonfield/blob/master/CHANGELOG.md)
- [GitHub repository](https://github.com/pointybeard/jsonfield)
A field for Symphony CMS that validates and stores JSON data
## Installation
This is an extension for [Symphony CMS](http://getsymphony.com). Add it to the `/extensions` folder of your Symphony CMS installation, then enable it through the interface.
### Requirements
This extension requires PHP 7.3 or newer and the **[pointybeard/helpers-functions-json library](https://packagist.org/packages/pointybeard/helpers-functions-json)** (`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"
}
## Usage
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.
## Support
If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/pointybeard/jsonfield/issues),
or better yet, fork the library and submit a pull request.
## Contributing
We encourage you to contribute to this project. Please check out the [Contributing documentation](https://github.com/pointybeard/jsonfield/blob/master/CONTRIBUTING.md) for guidelines about how to get involved.
## License
"JSON Field for Symphony CMS" is released under the [MIT License](http://www.opensource.org/licenses/MIT).