Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Latest commit

 

History

History
48 lines (29 loc) · 1.04 KB

index.md

File metadata and controls

48 lines (29 loc) · 1.04 KB

Getting Started With GOSFormBundle

By default Symfony2 provide form component, GOSFormBundle is built on top. We allowed you to simply move the process executed when your form are sent. Why ? To keep your controller clean, without logic, and to have a generic structure to handle your forms.

Prerequisites

This bundle requires Symfony2.1 at least.

Installation

Installation is very quick :)

  1. Download GOSFormBundle using composer
  2. Enable the bundle

Step 1 : Download GOSFormBundle using composer

php composer.phar require gos/form-bundle "~1.0"

Composer will install the bundle to your project's vendor/gos directory.

Step 2 : Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Gos\Bundle\FormBundle\GosFormBundle(),
    );
}

Next step