A demo form bundle
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Controller
Entity
Form
Resources
AcmeFormDemoBundle.php
README.md

README.md

Symfony Form Demo Bundle

Add this bundle to your project as Git submodules:

      $ git submodule add git://github.com/johnwards/FormDemoBundle.git vendor/bundles/Acme/FormDemoBundle

Add the Acme namespace to your autoloader:

      // app/autoload.php
      $loader->registerNamespaces(array(
            'Acme' => __DIR__.'/../vendor/bundles',
            // your other namespaces
      ));

Add this bundle to your application's kernel:

      // app/AppKernel.php
      public function registerBundles()
      {
          return array(
              // ...
              new Acme\FormDemoBundle\AcmeFormDemoBundle(),
              // ...
          );
       }

Add this to your your routing.yml

      _form_demo:
          resource: "@AcmeFormDemoBundle/Resources/config/routing.yml"

Routes:

      /account/register
      /account
      /researcher