PHPackages                             texlab/html - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. texlab/html

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

texlab/html
===========

Lightweight and easy to use set of classes for building user interfaces.

v0.19(5y ago)13562[1 issues](https://github.com/andy-aa/html/issues)[1 PRs](https://github.com/andy-aa/html/pulls)MITPHPPHP ^7.1CI failing

Since Jul 11Pushed 5y agoCompare

[ Source](https://github.com/andy-aa/html)[ Packagist](https://packagist.org/packages/texlab/html)[ RSS](/packages/texlab-html/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (4)Versions (26)Used By (0)

[![Build Status](https://camo.githubusercontent.com/33ec9dc17acca514ad028e9ed54ebed31492725f7a51d30d575b86b5b503a9f1/68747470733a2f2f7472617669732d63692e636f6d2f616e64792d61612f68746d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/andy-aa/html)[![License: MIT](https://camo.githubusercontent.com/c2bffd81d308ced1cc3b0d66fb0ed453ab478a5e17c988b780f9de986a390ee2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)[![Minimum PHP Version](https://camo.githubusercontent.com/dcd4b4aec2c1709157fa6a2c050f709d75cde9552a79cfff0b70a97fad7281ae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Packagist](https://camo.githubusercontent.com/5757477e96a8b8eb76d4bbf41318e98e5e33692eb2c9f5a9604807448c14e3b7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f7465786c61622f68746d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/texlab/html)[![PHPStan](https://camo.githubusercontent.com/fff00cebb924e124a7335e6bd8ca8f8cf38869463c1654eff45d0939f1f21c57/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://phpstan.org/)[![Psalm](https://camo.githubusercontent.com/a2b66444c0e4d33a40baa19aa881d02cde7a969226083b45a72572ad94fc2929/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5073616c6d2d4c6576656c2532304d61782d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://psalm.dev/)[![Coverage Status](https://camo.githubusercontent.com/f944074e782c9ebdf9b74b955fe469108c842cacb15a979a29138fd8dba7cdcc/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f616e64792d61612f68746d6c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/andy-aa/html?branch=master)

Html
====

[](#html)

- [What is it?](#what-is-it)
- [Install](#install-via-composer)
- [Usage example](#usage-example)
    - [HTML table](#html-table)
    - [Pagination](#pagination)

What is it?
-----------

[](#what-is-it)

Lightweight and easy to use set of classes for building user interfaces.

Install via composer
--------------------

[](#install-via-composer)

Installation via composer

```
composer require texlab/html

```

Example **composer.json** file

```
{
    "require": {
        "texlab/html": "^0.19"
    }
}

```

Usage examples
--------------

[](#usage-examples)

Usage examples can be found in the [examples](examples/) folder. You can run the examples from the library folder using the console command:

```
php -S localhost:8000 -t examples/

```

### HTML table

[](#html-table)

PHP code:

```
