PHPackages                             braunstetter/valid-form-event - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. braunstetter/valid-form-event

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

braunstetter/valid-form-event
=============================

Fires an event whenever a root form is submitted and valid. So child forms can react and do stuff afterwards.

v0.1.0(3y ago)0647—0%MITPHPPHP ^8.0

Since May 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Braunstetter/valid-form-event)[ Packagist](https://packagist.org/packages/braunstetter/valid-form-event)[ RSS](/packages/braunstetter-valid-form-event/feed)WikiDiscussions main Synced today

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

Valid FormEvent Bundle
======================

[](#valid-formevent-bundle)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c3ef36517e67e3ab252c89e954c266b419485a59b7c80d196ea814e1269b02ac/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f427261756e737465747465722f76616c69642d666f726d2d6576656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/Braunstetter/valid-form-event/?branch=main)[![Code Coverage](https://camo.githubusercontent.com/5ac120fea8615ba43fd9e5106aff1824ac3a4da1d3d34c85263e3292737826d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f427261756e737465747465722f76616c69642d666f726d2d6576656e742f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/Braunstetter/valid-form-event/?branch=main)[![Build Status](https://camo.githubusercontent.com/33f6349a19524daedb301295fa22194d1c4c25065b44509793fae4eb60d44a16/68747470733a2f2f6170702e7472617669732d63692e636f6d2f427261756e737465747465722f76616c69642d666f726d2d6576656e742e7376673f6272616e63683d6d61696e)](https://app.travis-ci.com/Braunstetter/valid-form-event)[![Total Downloads](https://camo.githubusercontent.com/0ccad4b05dc53408636a0951826c6fbacf215d4edacc8c895439506f3da013f0/687474703a2f2f706f7365722e707567782e6f72672f627261756e737465747465722f76616c69642d666f726d2d6576656e742f646f776e6c6f616473)](https://packagist.org/packages/braunstetter/valid-form-event)[![License](https://camo.githubusercontent.com/4f44ee6e029a00d8c7899cae71275342bcbe0c73348e4cf6661b935c5902da11/687474703a2f2f706f7365722e707567782e6f72672f627261756e737465747465722f76616c69642d666f726d2d6576656e742f6c6963656e7365)](https://packagist.org/packages/braunstetter/valid-form-event)

The Symfony documentation recommends keeping logic out of forms and instead doing everything inside a controller. That's probably good advice most of the time, but exceptions prove the rule.

Because when you have flexible forms, like a page builder with flexible sections, it's very helpful if the individual sections could do things once the entire form is valid. (Like uploading an image)

This bundle provides exactly this functionality.

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

[](#installation)

`composer require braunstetter/valid-form-event`

Usage
-----

[](#usage)

```
