PHPackages                             clacy-builders/html5 - 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. clacy-builders/html5

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

clacy-builders/html5
====================

HTML5 Express is a library for creating HTML5 documents. It comes with the calendar trait.

0.1(10y ago)115MITPHPPHP &gt;=5.4.0

Since Apr 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/clacy-builders/html5-express-php)[ Packagist](https://packagist.org/packages/clacy-builders/html5)[ RSS](/packages/clacy-builders-html5/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

HTML5 Express for PHP
=====================

[](#html5-express-for-php)

Installation
------------

[](#installation)

HTML5 Express for PHP requires PHP 5.4 or newer.

Add the following to your project's `composer.json` file:

```
{
    "minimum-stability": "dev",
    "require": {
        "clacy-builders/html5": "dev-master"
    }
}
```

Run `composer install` or `composer update`.

### Without Composer

[](#without-composer)

1. Install [XML Express for PHP](https://github.com/clacy-builders/xml-express-php)
2. Download the [ZIP file](https://github.com/clacy-builders/html5-express-php/archive/master.zip).
3. Inside your project directory create the directories `/vendor/clacy-builders/html5`.
4. From the folder `html5-express-php-master` inside the ZIP file copy the files it contains into the previously created `html5` folder.

Replace

```
require_once 'vendor/autoload.php';
```

with

```
require_once 'vendor/clacy-builders/html5/allIncl.php';
```

Basic Usage
-----------

[](#basic-usage)

An Example:

```
