2017 © Pedro Peláez
 

library flex-code-html

html code generator

image

elnebuloso/flex-code-html

html code generator

  • Wednesday, December 20, 2017
  • by elnebuloso
  • Repository
  • 1 Watchers
  • 0 Stars
  • 227 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

flex-code-html

abandoned, (*1)

Description

The Goal of this Package is to create a simple and MVC independent HTML Code Renderer., (*2)

Requirements

The following versions of PHP are supported by this version., (*3)

  • PHP 5.4
  • PHP 5.5
  • PHP 5.6
  • PHP 7.0
  • HHVM

Coding Standards

Flex follows the standards defined in the PSR-0, PSR-1, PSR-2 and PSR-4 documents., (*4)

Installation / Usage

Via Composer, (*5)

json { "require": { "elnebuloso/flex-code-html": "~1.0" } }, (*6)

Examples

  • each tag has a render method which returns the html code
  • each tag has the magic "__toString" method which renders the html code over the render method
  • the setter methods on the tag object are chainable
  • you can define the doctype in which the tag should render
  • the doctype e.g. decides how to close the tag (self-closing tag, void / non-void tags)
  • each tag can have children of TagInterface or String which will be rendered as the tag body (only if tag is not marked as non-void tag)

see public/examples.php for more examples

The Versions

20/12 2017

dev-master

9999999-dev

html code generator

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Jeff Tunessen

php generator html

24/11 2015

1.1.0

1.1.0.0

html code generator

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Jeff Tunessen

php generator html

23/09 2015

1.0.1

1.0.1.0

html code generator

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Jeff Tunessen

components

23/09 2015

1.0.0

1.0.0.0

html code generator

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Jeff Tunessen

components

18/08 2015

0.0.2

0.0.2.0

html code generator

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Jeff Tunessen

components

09/07 2015

0.0.1

0.0.1.0

html code generator

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Jeff Tunessen

components