PHPackages                             ansien/rapid-form-bundle - 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. ansien/rapid-form-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

ansien/rapid-form-bundle
========================

A bundle that will help you quickly create forms for your Symfony application

1.1.7(2y ago)325312[1 issues](https://github.com/ansien/RapidFormBundle/issues)MITPHPPHP &gt;=8.0

Since Mar 6Pushed 2y ago4 watchersCompare

[ Source](https://github.com/ansien/RapidFormBundle)[ Packagist](https://packagist.org/packages/ansien/rapid-form-bundle)[ RSS](/packages/ansien-rapid-form-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (15)Used By (0)

RapidFormBundle - Create Symfony forms at record speed using PHP 8 attributes!
==============================================================================

[](#rapidformbundle---create-symfony-forms-at-record-speed-using-php-8-attributes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5993043661ef52354947cff65792fbfa2da58e5a57bdf05ba6e53d9468d1a8c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e7369656e2f72617069642d666f726d2d62756e646c652e737667)](https://packagist.org/packages/ansien/rapid-form-bundle)[![Total Downloads](https://camo.githubusercontent.com/2b3791594d36ded82907b999104c79ce09531eee67533aa0fa29923fed90c5f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e7369656e2f72617069642d666f726d2d62756e646c652e737667)](https://packagist.org/packages/ansien/rapid-form-bundle)[![GitHub](https://camo.githubusercontent.com/335960707558ce7ade6e9b7265ecaac65cfea483982a77cadbbab1e657fe85b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616e7369656e2f5261706964466f726d42756e646c65)](https://camo.githubusercontent.com/335960707558ce7ade6e9b7265ecaac65cfea483982a77cadbbab1e657fe85b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616e7369656e2f5261706964466f726d42756e646c65)

[![Example](https://raw.githubusercontent.com/ansien/RapidFormBundle/master/.github/readme_example.png)](https://raw.githubusercontent.com/ansien/RapidFormBundle/master/.github/readme_example.png)

The goal of this bundle is to make it possible to build Symfony forms using [PHP 8 attributes](https://stitcher.io/blog/attributes-in-php-8) on your [DTO](https://blog.martinhujer.cz/symfony-forms-with-request-objects/).

#### The problem

[](#the-problem)

Making forms in Symfony is fairly simple. But once you start using DTO's there will always be two classes you'll have to maintain: your DTO and your Symfony form type. This is not ideal because it creates unnecessary work, maintenance and can also easily lead to bugs.

#### The solution

[](#the-solution)

This bundle will significantly speed up the creation of forms inside your Symfony application. With the provided PHP 8 attributes you can quickly build forms by decorating your DTO and you won't have to maintain two different classes anymore.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require ansien/rapid-form-bundle
```

Usage
-----

[](#usage)

#### Form

[](#form)

```
