Download the PHP package locomotivemtl/charcoal-contrib-formio without Composer
On this page you can find all versions of the php package locomotivemtl/charcoal-contrib-formio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download locomotivemtl/charcoal-contrib-formio
More information about locomotivemtl/charcoal-contrib-formio
Files in locomotivemtl/charcoal-contrib-formio
Package charcoal-contrib-formio
Short Description Charcoal service provider to add a form builder property input using form.io.
License MIT
Homepage https://locomotivemtl.github.io/charcoal-contrib-formio/
Informations about the package charcoal-contrib-formio
Charcoal Contrib Formio
A Charcoal Charcoal service provider to add a form builder property input using form.io.
Table of Contents
- Installation
- Dependencies
- Service Provider
- Parameters
- Services
- Configuration
- Usage
- Development
- API Documentation
- Development Dependencies
- Coding Style
- Credits
- License
Installation
The preferred (and only supported) method is with Composer:
Dependencies
Required
- PHP 5.6+: PHP 7 is recommended.
Configuration
Add the formio module to the modules list in the site's config file.
Usage
Three property type are provided by this package :
formio/form
(Form builder input)formio/schema
(Form schema)formio/submission
(To save a form submission)
Note that formio properties do not support l10n
for now.
To update a form when saving the object you must call the method createOrUpdateRelation()
on the property.
This example saves or updates the form builder schema for a property called test
. This code should be found in the object's controller.
Development
To install the development environment:
To run the scripts (phplint, phpcs, and phpunit):
Resources
-
The Form rendering documentation. Useful for front-end rendering of stored form.io structures. https://github.com/formio/formio.js/wiki/Form-Renderer
-
The Form.io sdk documentation. http://formio.github.io/formio.js/app/sdk
- Front-end frameworks. https://help.form.io/developer/frameworks
API Documentation
- The auto-generated
phpDocumentor
API documentation is available at:
https://locomotivemtl.github.io/charcoal-contrib-formio/docs/master/ - The auto-generated
apigen
API documentation is available at:
https://codedoc.pub/locomotivemtl/charcoal-contrib-formio/master/
Development Dependencies
- [php-coveralls/php-coveralls][phpcov]
- [phpunit/phpunit][phpunit]
- [squizlabs/php_codesniffer][phpcs]
Coding Style
The charcoal-contrib-formio module follows the Charcoal coding-style:
- PSR-1
- PSR-2
- PSR-4, autoloading is therefore provided by Composer.
- phpDocumentor comments.
- .editorconfig for coding standards.
Coding style validation / enforcement can be performed with
composer phpcs
. An auto-fixer is also available withcomposer phpcbf
.
Credits
License
Charcoal is licensed under the MIT license. See LICENSE for details.
All versions of charcoal-contrib-formio with dependencies
ext-json Version *
locomotivemtl/charcoal-admin Version ~0.14
locomotivemtl/charcoal-property Version ~0.7
locomotivemtl/charcoal-translator Version ~0.3.6