2017 © Pedro Peláez
 

library c5-symfony-forms

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

image

mainio/c5-symfony-forms

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  • Tuesday, June 28, 2016
  • by ahukkanen
  • Repository
  • 4 Watchers
  • 2 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Symfony forms for concrete5

This is a composer package that provides the possibility to use Symfony forms within concrete5. The advantages are obvious if you have read anything about them but to list a few:, (*1)

  • Automatic form tags generation based on the defined fields
  • Automatic CSRF validation
  • Automatic field errors based on the defined validators
  • Automatic saving of forms directly into Doctrine entities
  • Less things to worry about in your controller logic
  • Streamlining your development pipeline with single pages
  • Making developing single page views with forms a lot faster
  • Less bugs in your code due to the nature of generalized and well tested components

This package depends on the twig templates package for building the form views:, (*2)

https://github.com/mainio/c5pkg_twig_templates, (*3)

How to use?

Add a composer.json file into your concrete5 package's directory. Into that file, add the following content:, (*4)

{
    "require": {
        "mainio/c5-symfony-forms": "*"
    }
}

And then run composer install in the same directory. After this, add the following on top of your package controller (after the namespace definition):, (*5)

include(dirname(__FILE__) . '/vendor/autoload.php');

An example implementation on how to use this is available here:, (*6)

https://github.com/mainio/c5_symfony_forms_example, (*7)

In order to use this, you will need to be running PHP 5.4 or newer in order to take advantage of the necessary trait provided by this package., (*8)

License

Licensed under the MIT license. See LICENSE for more information., (*9)

Copyright (c) 2015 Mainio Tech Ltd., (*10)

The Versions

28/06 2016

dev-release/0.1.2

dev-release/0.1.2 http://www.mainiotech.fi

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  Sources   Download

MIT

The Requires

 

symfony forms concrete5

28/06 2016

v0.1.2

0.1.2.0 http://www.mainiotech.fi

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  Sources   Download

MIT

The Requires

 

symfony forms concrete5

16/06 2016

dev-master

9999999-dev http://www.mainiotech.fi

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  Sources   Download

MIT

The Requires

 

symfony forms concrete5

13/02 2016

dev-symfony-version-update

dev-symfony-version-update http://www.mainiotech.fi

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  Sources   Download

MIT

The Requires

 

symfony forms concrete5

05/02 2016

v0.1.1

0.1.1.0 http://www.mainiotech.fi

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  Sources   Download

MIT

The Requires

 

symfony forms concrete5

30/07 2015

v0.1

0.1.0.0 http://www.mainiotech.fi

Makes it possible to easily use the Symfony form builder within the concrete5 context. Utilizes the mainio/c5-twig-templates for easy building of the form view layer.

  Sources   Download

MIT

The Requires

 

symfony forms concrete5