PHPackages                             mainio/c5-symfony-forms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. mainio/c5-symfony-forms

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

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.

v0.1.2(9y ago)21231MITPHPPHP &gt;=5.4.0

Since Jul 30Pushed 9y ago3 watchersCompare

[ Source](https://github.com/mainio/c5pkg_symfony_forms)[ Packagist](https://packagist.org/packages/mainio/c5-symfony-forms)[ Docs](http://www.mainiotech.fi)[ RSS](/packages/mainio-c5-symfony-forms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (6)Used By (0)

Symfony forms for concrete5
===========================

[](#symfony-forms-for-concrete5)

This is a composer package that provides the possibility to use [Symfony forms](https://symfony.com/doc/current/book/forms.html)within concrete5. The advantages are obvious if you have read anything about them but to list a few:

- 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:

[https://github.com/mainio/c5pkg\_twig\_templates](https://github.com/mainio/c5pkg_twig_templates)

How to use?
-----------

[](#how-to-use)

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

```
{
    "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):

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

An example implementation on how to use this is available here:

[https://github.com/mainio/c5\_symfony\_forms\_example](https://github.com/mainio/c5_symfony_forms_example)

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.

License
-------

[](#license)

Licensed under the MIT license. See LICENSE for more information.

Copyright (c) 2015 Mainio Tech Ltd.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~167 days

Total

3

Last Release

3606d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39bf47dabfa0ac8934f8fa2d0faaa26e61c6e179216b862c39270eb182a624d7?d=identicon)[ahukkanen](/maintainers/ahukkanen)

---

Top Contributors

[![ahukkanen](https://avatars.githubusercontent.com/u/864340?v=4)](https://github.com/ahukkanen "ahukkanen (15 commits)")

---

Tags

symfonyconcrete5Forms

### Embed Badge

![Health badge](/badges/mainio-c5-symfony-forms/health.svg)

```
[![Health](https://phpackages.com/badges/mainio-c5-symfony-forms/health.svg)](https://phpackages.com/packages/mainio-c5-symfony-forms)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[artgris/filemanager-bundle

FileManager is a simple Multilingual File Manager Bundle for Symfony

182420.8k9](/packages/artgris-filemanager-bundle)[qossmic/rich-model-forms-bundle

Provides additional data mapper options that ease the use of the Symfony Form component with rich models.

218278.7k](/packages/qossmic-rich-model-forms-bundle)[karser/karser-recaptcha3-bundle

Google ReCAPTCHA v3 for Symfony

1862.4M7](/packages/karser-karser-recaptcha3-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
