2017 © Pedro Peláez
 

library html

HTML rendering library with an API inspired by jQuery and React

image

siriusphp/html

HTML rendering library with an API inspired by jQuery and React

  • Wednesday, December 7, 2016
  • by adrianmiu
  • Repository
  • 1 Watchers
  • 7 Stars
  • 41 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Sirius HTML

Source Code Latest Version Software License Build Status Coverage Status Quality Score, (*1)

Framework agnostic HTML rendering utility with an API inspired by jQuery and React., (*2)

Elevator pitch

$h = new Sirius\Html\Builder;

$h->registerTag('user-login-form', 'MyApp\Html\Components\UserLoginForm');

echo $h->make('user-login-form', ['_form_values' => $_POST]);

which will output something like, (*3)



Performance

There is a simple benchmark that renders a form with 4 fields and a button. Compared to Twig, Sirius HTML is 50% slower but uses 2x less memory., (*4)

The benchmark results are as follows for 100K iterations:, (*5)

Library Time Memory
Sirius HTML 1.78s 2Mb
Twig 1.14s 4Mb

Of course, this is not a real world scenario, but it gives you an idea of what to expect from this library., (*6)

The Versions

07/12 2016

dev-master

9999999-dev

HTML rendering library with an API inspired by jQuery and React

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Adrian Miu

ui html view render

16/06 2016

1.2.0

1.2.0.0

HTML rendering library with an API inspired by jQuery and React

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Adrian Miu

ui html view render

09/09 2015

1.1.0

1.1.0.0

HTML rendering library with an API inspired by jQuery and React

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Adrian Miu

ui html view render

03/09 2015

1.0.0

1.0.0.0

HTML rendering library with an API inspired by jQuery and React

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Adrian Miu

ui html view render

18/02 2015

0.1.0

0.1.0.0

HTML rendering library with an API inspired by jQuery and React

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Adrian Miu

ui html view render