robmasters/genemu-sandbox-bundle

This Bundle provides a sandbox for testing GenemuFormBundle types

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

dev-master 2012-10-18 16:55 UTC

This package is not auto-updated.

Last update: 2024-06-08 11:56:46 UTC


README

This bundle provides a sandbox to showcase how to use various Form Types provided by the GenemuFormBundle

Installation

Step 1: Install the bundle

Add the following dependency to your composer.json file:

{
    "require": {
        "_some_packages": "...",

        "robmasters/genemu-sandbox-bundle": "2.1.*"
    }
}

Step 2: Import routing

Include the bundle's routing in app/config/routing.yml:

rjm_genemu_sandbox:
    resource: "@RJMGenemuSandboxBundle/Resources/config/routing.yml"
    prefix:   /

Step 3: Enable the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new RJM\Bundle\GenemuSandboxBundle\RJMGenemuSandboxBundle(),
    );
}

Step 4: Initialize assets

$ php app/console assets:install web