Download the PHP package devhelp/flow-control-bundle without Composer

On this page you can find all versions of the php package devhelp/flow-control-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flow-control-bundle

Build Status SensioLabsInsight

Installation

Composer is preferred way to install FlowControlBundle, please check composer website for more information.

Purpose

FlowControlBundle provides integration with FlowControl library regarding controller actions. It allows you to define your actions as flow steps, meaning that user won't be able to enter an action unless he/she reaches expected step in your flow.

You can, for example:

Usage

There is a sandbox app available on github where you can take closer look at the bundle and how it can be used

Define your flow in config.yml

Define controller actions as flow steps

Done!

Now if you enter an url for action that is a step in some flow, your access will be restricted if the move is not valid

FAQ

How does it change the steps in flow ?

Every action that ends with successful or redirect response is treated as success and ending such action will result in changing current step in the flow for every valid move

Where are the current steps stored ?

'devhelp.flow_control.current_steps' service is responsible for it. Default implementation stores current steps in session

How can I change the way current steps are stored

Right now it is not configurable from the bundle itself (will be soon), but you can use CompilerPass to replace 'devhelp.flow_control.current_steps' service with custom implementation

I don't want my action to automatically update current steps

You can disable this in action configuration

How can I manually update my moves ?

Take a look at the FlowStepsUpdateListener for guidance

How can I customize what happens once no valid steps are found for the action ?

Currently suggested way is to intercept NoValidStepsFoundException on 'kernel.exception' event and replace the Response

Credits

Brought to you by : Devhelp.pl (http://devhelp.pl)


All versions of flow-control-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/framework-bundle Version ~2
devhelp/flow-control Version 1.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package devhelp/flow-control-bundle contains the following files

Loading the files please wait ....