Skip to content

A field for Symphony CMS that validates and stores JSON data

License

Notifications You must be signed in to change notification settings

pointybeard/jsonfield

Repository files navigation

JSON Field for Symphony CMS

A field for Symphony CMS that validates and stores JSON data

Installation

This is an extension for Symphony CMS. 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 (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, 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 for guidelines about how to get involved.

License

"JSON Field for Symphony CMS" is released under the MIT License.

About

A field for Symphony CMS that validates and stores JSON data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages