Skip to content

mdpatrick/FormDemoBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

      // application/ApplicationKernel.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

About

A demo form bundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%