craue/formflow-demo-bundle

Example code showcasing the features of CraueFormFlowBundle.

Installs: 6 539

Dependents: 0

Suggesters: 0

Security: 0

Stars: 27

Watchers: 3

Forks: 12

Open Issues: 2

Type:symfony-bundle

3.6.x-dev 2022-03-31 13:25 UTC

This package is auto-updated.

Last update: 2024-11-29 04:19:06 UTC


README

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/