Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.58 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.58 KB

Information

Build Status Coverage Status

CraueFormFlowDemoBundle contains the code used by http://craue.de/symfony-playground/en/CraueFormFlow/, a live demo showcasing the features of CraueFormFlowBundle.

Take a branch of CraueFormFlowDemoBundle matching the version of CraueFormFlowBundle you're using.

Installation

Get the bundle

Let Composer download and install the bundle by running

composer require craue/formflow-demo-bundle:@dev

in a shell.

Enable the bundle

If you don't use Symfony Flex, register it manually:

// in config/bundles.php
return [
	// ...
	Craue\FormFlowDemoBundle\CraueFormFlowBundle::class => ['all' => true],
	Craue\FormFlowDemoBundle\CraueFormFlowDemoBundle::class => ['all' => true],
];

Or, for Symfony 3.4:

// in app/AppKernel.php
public function registerBundles() {
	$bundles = [
		// ...
		new Craue\FormFlowBundle\CraueFormFlowBundle(),
		new Craue\FormFlowBundle\CraueFormFlowDemoBundle(),
	];
	// ...
}

Add the routes

# in config/routes.yaml
CraueFormFlowDemoBundle:
  resource: '@CraueFormFlowDemoBundle/Controller/'
  type: annotation

Usage

Start your server:

symfony serve

Go to the demo page:

https://127.0.0.1:8000/CraueFormFlow/