2017 © Pedro Peláez
 

library fruitmachine

A PHP port of @FTLabs's FruitMachine

image

mattandrews/fruitmachine

A PHP port of @FTLabs's FruitMachine

  • Sunday, April 27, 2014
  • by matthew-andrews
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6,284 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 20 Versions
  • 0 % Grown

The README.md

FruitMachine-php Build Status

PHP port of @FTLabs' fruitmachine, a lightweight component layout engine for client and server., (*1)

FruitMachine is designed to build rich interactive layouts from modular, reusable components. It's light and unopinionated so that it can be applied to almost any layout problem. FruitMachine is currently powering the FT Web App., (*2)

// Define a module
class Apple extends \FruitMachine\AbstractModule {

  public static $name = 'apple';

  public function template() {
    return 'hello'
  }

}

$fm = \FruitMachine\Singleton::getInstance();

// Define a module
$fm->define('\Apple');

// Create a module
$apple = $fm->create('apple');

// Render it
echo $apple->toHTML();
//=> 

hello

Installation

To install from packagist either add mattandrews/fruitmachine to your project's composer.json file or enter the following on the command line:-, (*3)

composer require mattandrews/fruitmachine

Compatability

Unit tests are run on each build against PHP 5.3, 5.4 and 5.5., (*4)

Author

Credits and collaboration

The lead developer of FruitMachine-php is Matt Andrews at FT Labs. All open source code released by FT Labs is licenced under the MIT licence. We welcome comments, feedback and suggestions. Please feel free to raise an issue or pull request., (*5)

The Versions

27/04 2014

dev-master

9999999-dev

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/04 2014

v0.5.5

0.5.5.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

11/04 2014

v0.5.4

0.5.4.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

05/03 2014

v0.5.3

0.5.3.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/02 2014

v0.5.2

0.5.2.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/02 2014

v0.5.1

0.5.1.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

27/02 2014

v0.5.0

0.5.0.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

07/02 2014

v0.4.2

0.4.2.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

07/02 2014

v0.4.1

0.4.1.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

MIT

The Requires

 

The Development Requires

07/02 2014

v0.4.0

0.4.0.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php ~0.0.6

 

The Development Requires

30/12 2013

v0.3.2

0.3.2.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php ~0.0.6

 

The Development Requires

07/07 2013

v0.3.1

0.3.1.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

07/07 2013

v0.3.0

0.3.0.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

06/07 2013

v0.2.3

0.2.3.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

06/07 2013

v0.2.2

0.2.2.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

06/07 2013

v0.2.1

0.2.1.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

06/07 2013

v0.2.0

0.2.0.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

04/07 2013

v0.1.1

0.1.1.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

01/07 2013

v0.1.0

0.1.0.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires

30/06 2013

v0.0.1

0.0.1.0

A PHP port of @FTLabs's FruitMachine

  Sources   Download

The Requires

  • mattandrews/model-php *

 

The Development Requires