2017 © Pedro Peláez
 

library html

Simple HTML builder for PHP

image

dushica/html

Simple HTML builder for PHP

  • Sunday, July 26, 2015
  • by AdriatikDushica
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Simple HTML Builder for PHP

$builder = new Dushica\Html\Builder;

// By default are 'input' and 'br'
$builder->setNoClose(['input', 'br', 'hr']);

//Add one more tag that not must be closed
$builder->addNoClose('link');

//Format html code, by default is true
$builder->minify = false;

$builder
    ->html()

        ->body()

            ->text('Insert your Firstname: ')

            ->br()

            ->input(['placeholder'=>'Firstname'])

            ->hr()

            ->text('Insert your Lastname: ')

            ->br()

            ->input(['placeholder'=>'Lastname'])

        ->end()

    ->end();

echo $builder;

The Versions

26/07 2015

dev-master

9999999-dev

Simple HTML builder for PHP

  Sources   Download

The Requires

  • php >=5.4.0

 

by Adriatik Dushica

26/07 2015

0.3

0.3.0.0

Simple HTML builder for PHP

  Sources   Download

The Requires

  • php >=5.4.0

 

by Adriatik Dushica

16/07 2015

0.2.1

0.2.1.0

Simple HTML builder for PHP

  Sources   Download

The Requires

  • php >=5.4.0

 

by Adriatik Dushica

16/07 2015

0.2

0.2.0.0

Simple HTML builder for PHP

  Sources   Download

The Requires

  • php >=5.4.0

 

by Adriatik Dushica

16/07 2015

0.1

0.1.0.0

Simple HTML builder for PHP

  Sources   Download

The Requires

  • php >=5.4.0

 

by Adriatik Dushica