Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/craue/craueformflowdemobundle
Example code showcasing the features of CraueFormFlowBundle.
https://github.com/craue/craueformflowdemobundle
bundle demo php symfony symfony-bundle
Last synced: 3 months ago
JSON representation
Example code showcasing the features of CraueFormFlowBundle.
- Host: GitHub
- URL: https://github.com/craue/craueformflowdemobundle
- Owner: craue
- License: mit
- Created: 2013-06-09T22:12:38.000Z (over 11 years ago)
- Default Branch: 3.6.x
- Last Pushed: 2022-03-31T13:29:09.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T06:25:54.421Z (3 months ago)
- Topics: bundle, demo, php, symfony, symfony-bundle
- Language: PHP
- Homepage:
- Size: 303 KB
- Stars: 27
- Watchers: 3
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Information
[![Build Status](https://app.travis-ci.com/craue/CraueFormFlowDemoBundle.svg?branch=3.6.x)](https://app.travis-ci.com/craue/CraueFormFlowDemoBundle)
[![Coverage Status](https://coveralls.io/repos/github/craue/CraueFormFlowDemoBundle/badge.svg?branch=3.6.x)](https://coveralls.io/github/craue/CraueFormFlowDemoBundle?branch=3.6.x)CraueFormFlowDemoBundle contains the code used by http://craue.de/symfony-playground/en/CraueFormFlow/, a live demo
showcasing the features of [CraueFormFlowBundle](https://github.com/craue/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
```sh
composer require craue/formflow-demo-bundle:@dev
```in a shell.
## Enable the bundle
If you don't use Symfony Flex, register it manually:
```php
// in config/bundles.php
return [
// ...
Craue\FormFlowDemoBundle\CraueFormFlowBundle::class => ['all' => true],
Craue\FormFlowDemoBundle\CraueFormFlowDemoBundle::class => ['all' => true],
];
```Or, for Symfony 3.4:
```php
// in app/AppKernel.php
public function registerBundles() {
$bundles = [
// ...
new Craue\FormFlowBundle\CraueFormFlowBundle(),
new Craue\FormFlowBundle\CraueFormFlowDemoBundle(),
];
// ...
}
```## Add the routes
```yaml
# in config/routes.yaml
CraueFormFlowDemoBundle:
resource: '@CraueFormFlowDemoBundle/Controller/'
type: annotation
```# Usage
Start your server:
```sh
symfony serve
```Go to the demo page:
```
https://127.0.0.1:8000/CraueFormFlow/
```