2017 © Pedro PelĂĄez
 

symfony-bundle states-bundle

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

image

unialteri/states-bundle

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  • Sunday, December 10, 2017
  • by frenchcomp
  • Repository
  • 3 Watchers
  • 2 Stars
  • 514 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 51 Versions
  • 0 % Grown

The README.md

Teknoo Software - States bundle

SensioLabsInsight Build Status, (*1)

States allows you to create PHP classes following the State Pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and this improve maintainability., (*2)

This package is bundle to adapt the library States to Symfony 2+., (*3)

Short Example

/**
 * File States/English.php
 */
class English extends \Teknoo\States\State\AbstractState 
{
    public function sayHello(): string
    {
        return 'Good morning, '.$this->name;
    }

    public function displayDate(\DateTime $now): string 
    {
        return $now->format('%m %d, %Y');
    }
}

/**
 * File States/French.php
 */
class French extends \Teknoo\States\State\AbstractState 
{
    public function sayHello(): string
    {
        return 'Bonjour, '.$this->name;
    }

    public function displayDate(\DateTime $now): string 
    {
        return $now->format('%d %m %Y');
    }
}

/**
 * File MyClass.php
 */
class MyClass extends \Teknoo\Bundle\StatesBundle\Entity\IntegratedEntity
{
    /**
     * @ORM\Column(type="string", length=250)
     * @var string
     */
    private $name;

    /**
     * @param string $name
     * @return self
     */
    public function setName(string $name): MyClass
    {
        $this->name = $name;

        return $this;
    }
}

$frenchMan = new MyClass();
$frenchMan->switchState('French');
$frenchMan->setName('Roger');

$englishMan = new MyClass();
$englishMan->switchState('Enflish');
$englishMan->setName('Richard');

$now = new \DateTime('2016-07-01');

foreach ([$frenchMan, $englishMan] as $man) {
    echo $man->sayHello().PHP_EOL;
    echo 'Date: '.$man->displayDate($now);
}

//Display
Bonjour Roger
Date: 01 07 2016
Good morning Richard
Date: 07 01, 2016

Installation & Requirements

This library requires :, (*4)

* PHP 7+
* Composer
* States 2+
* Symfony 2.7+

Instruction to install the States bundle with Symfony 2+ : Install., (*5)

This library support Doctrine, but Doctrine is not mandatory. (Stated classes can be use without Doctrine)
* Doctrine (Orm or Odm/Mongo), (*6)

Symfony Use

For main States's features, the bundle is transparent :, (*7)

  • States bundle's services are private and are not available. Only the loader is accessible via : @teknoo.states.loader
  • Your Symfony's Doctrine entity (ORM) must use the trait Teknoo\Bundle\StatesBundle\Entity\IntegratedTrait.
    • Alternative, you can inherits Teknoo\Bundle\StatesBundle\Entity\IntegratedEntity.
  • Your Symfony's Doctrine document (ODM) must use the trait Teknoo\Bundle\StatesBundle\Document\IntegratedTrait.
    • Alternative, you can inherits Teknoo\Bundle\StatesBundle\Entity\IntegratedDocument.

With the extension States Life cyclable :, (*8)

  • Observer instance to register a stated class and observe it : @teknoo.states.lifecyclable.service.observer
  • Manager to register scenarii about stated class: @teknoo.states.lifecyclable.service.manager
  • Prototype to create a new Yaml Scenario Builder @teknoo.states.lifecyclable.prototype.scenario_yaml_builder
  • Prototype to create a new Scenario Builder @teknoo.states.lifecyclable.prototype.scenario_builder
  • prototype to create a new Scenario : @teknoo.states.lifecyclable.prototype.scenario

Documentation to use States with Symfony 2+ : Symfony., (*9)

Quick startup

Quick How-to to learn how use this library : Startup., (*10)

Example

An example of using this library is available in the folder : Demo., (*11)

API Documentation

Generated documentation from the library with PhpDocumentor : Open., (*12)

Behavior Documentation

Documentation to explain how this library works : Behavior., (*13)

Credits

Richard DĂ©loge - richarddeloge@gmail.com - Lead developer. Teknoo Software - http://teknoo.software, (*14)

About Teknoo Software

Teknoo Software is a PHP software editor, founded by Richard DĂ©loge. Teknoo Software's DNA is simple : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills., (*15)

License

States is licensed under the MIT and GPL3+ Licenses - see the licenses folder for details, (*16)

Contribute :)

You are welcome to contribute to this project. Fork it on Github, (*17)

The Versions

10/12 2017

dev-master

9999999-dev http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

10/12 2017

dev-next

dev-next http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

10/12 2017

dev-statesBundle-3.0

dev-statesBundle-3.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

10/12 2017

3.0.2

3.0.2.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

15/02 2017

3.0.1

3.0.1.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

25/12 2016

3.0.0

3.0.0.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

21/12 2016

3.0.0-beta1

3.0.0.0-beta1 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

19/11 2016

3.0.0-alpha8

3.0.0.0-alpha8 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

11/11 2016

3.0.0-alpha7

3.0.0.0-alpha7 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

11/11 2016

3.0.0-alpha6

3.0.0.0-alpha6 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

11/11 2016

3.0.0-alpha5

3.0.0.0-alpha5 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

03/11 2016

3.0.0-alpha4

3.0.0.0-alpha4 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

31/10 2016

3.0.0-alpha3

3.0.0.0-alpha3 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

27/10 2016

3.0.0-alpha2

3.0.0.0-alpha2 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

09/10 2016

3.0.0-alpha1

3.0.0.0-alpha1 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

23/08 2016

dev-statesBundle-2.0

dev-statesBundle-2.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

23/08 2016

2.2.3

2.2.3.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

04/08 2016

2.2.2

2.2.2.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

31/07 2016

dev-legacy

dev-legacy http://teknoo.it/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

31/07 2016

1.1.3

1.1.3.0 http://teknoo.it/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

26/07 2016

2.2.1

2.2.1.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

26/07 2016

2.2.0

2.2.0.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

26/07 2016

2.1.1

2.1.1.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

16/04 2016

2.1.0

2.1.0.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

09/04 2016

2.0.3

2.0.3.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

26/02 2016

2.0.2

2.0.2.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

26/02 2016

2.0.1

2.0.1.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

12/02 2016

2.0.0

2.0.0.0 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

02/02 2016

2.0.0-rc6

2.0.0.0-RC6 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

02/02 2016

2.0.0-rc5

2.0.0.0-RC5 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

02/02 2016

1.1.2

1.1.2.0 http://teknoo.it/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

20/01 2016

2.0.0-rc4

2.0.0.0-RC4 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

19/01 2016

2.0.0-rc3

2.0.0.0-RC3 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

18/01 2016

2.0.0-rc2

2.0.0.0-RC2 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

06/12 2015

2.0.0-rc1

2.0.0.0-RC1 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

06/12 2015

1.1.0

1.1.0.0 http://teknoo.it/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

08/11 2015

1.1.0-beta6

1.1.0.0-beta6 http://teknoo.it/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

31/10 2015

1.1.0-beta5

1.1.0.0-beta5 http://teknoo.it/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

31/10 2015

2.0.0-beta2

2.0.0.0-beta2 http://teknoo.software/states

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

23/07 2015

1.1.0-beta4

1.1.0.0-beta4 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

20/07 2015

1.1.0-beta3

1.1.0.0-beta3 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

02/07 2015

1.1.0-beta2

1.1.0.0-beta2 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

22/06 2015

1.1.0-beta1

1.1.0.0-beta1 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

10/06 2015

1.0.6

1.0.6.0 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony pattern class states state pattern behavioral software design pattern

24/05 2015

1.0.5

1.0.5.0 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony class states

06/05 2015

1.0.4

1.0.4.0 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony class states

20/02 2015

1.0.3

1.0.3.0 http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine, Library to create easily and cleanly classes with several states, writed in distinct codes blocks, but never used "if conditions" with PHP 5.4+.

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony class states

09/02 2015
17/01 2015
17/01 2015
13/12 2014

0.9.1-rc

0.9.1.0-RC http://teknoo.it/states

Bundle of UniAlteri States to use it easily with Symfony 2 + Doctrine

  Sources   Download

MIT GPL-3.0+

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle symfony class states