PHPackages                             piwi/html5-quick-template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. piwi/html5-quick-template

Abandoned → [picas/html5-quick-template](/?search=picas%2Fhtml5-quick-template)Library[Templating &amp; Views](/categories/templating)

piwi/html5-quick-template
=========================

A simple blank HTML5 template for quick rendering.

v1.2.8(10y ago)042Apache-2.0PHPPHP &gt;=5.3.0

Since Oct 18Pushed 10y agoCompare

[ Source](https://github.com/piwi/html5-quick-template)[ Packagist](https://packagist.org/packages/piwi/html5-quick-template)[ Docs](http://github.com/piwi/html5-quick-template)[ RSS](/packages/piwi-html5-quick-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

html5-quick-template
====================

[](#html5-quick-template)

A simple blank HTML5 template for quick rendering.

> Have you ever wanted to quickly test a content with a more fun rendering than the default one of your browser? This single-file and easy-to-use template is just what you need!

Key features
------------

[](#key-features)

- template built with [Bootstrap](http://getbootstrap.com/), [jQuery](http://jquery.com/)and [Font Awesome](http://fortawesome.github.io/Font-Awesome)
- inclusion of libraries from a CDN (no local requirements)
- default Bootstrap layout: fixed navbar on top and responsive page
- printers friendly
- search in page with highlight and count of results (3 chars. min)
- use `TAB` key to select search field and `ESC` key to clear current search
- query string to process a search on document load with `search=...`
- simple profiler (hidden by default) visible on document load with query argument `profiler=on`

[![Alt text](screen-copy.jpg "Screen sample rendering of the test.php file")](screen-copy.jpg)

Usage
-----

[](#usage)

Please note that the template requires a **PHP version 5.3.0** or greater.

### Basic usage

[](#basic-usage)

To use the template file, just define some simple variables and include the template:

```

```

Please see the source of the `test.php` file for a full example. The complete list of variables to be (eventually) defined can be found in the `USER VARIABLES` part of the `html5-quick-template.html.php`source file.

### Advanced usage

[](#advanced-usage)

You can overload internal settings defining a `$settings` array in your script, with all default settings entries or part of them. Please see the `SETTINGS` part in the `html5-quick-template.html.php`source file for a full list.

The template is ready for internationalization and "left-to-right" languages (have a look at the `LN STRINGS` part in the source file).

### Documentation

[](#documentation)

You can visualize both lists of definable variables and default settings when browsing the `html5-quick-template.html.php` file directly.

### Usage for Markdown syntax files

[](#usage-for-markdown-syntax-files)

A special version of the template is built to handle and render rich HTML (using the template itself) for Markdown syntax contents with direct handling by the Apache web-server. See the [`mde-master` branch](https://github.com/e-picas/html5-quick-template/tree/mde-master) of the repository or use a `xxx-mde` release tag.

Author, license &amp; contributions
-----------------------------------

[](#author-license--contributions)

This (*small*) work is authored and maintained by [@picas](http://picas.fr/)and licensed under an [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0.html). To propose modifications or tell about a bug, please create a ticket or a fork of the sources repository at .

This work is built with the help of the following third-parties:

- [jQuery](http://jquery.com/) under [MIT license](http://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt)
- [Bootstrap](http://getbootstrap.com/) under [Apache license v2.0](http://www.apache.org/licenses/LICENSE-2.0)
- [Font Awesome](http://fortawesome.github.io/Font-Awesome) under [SIL OFL 1.1 license](http://scripts.sil.org/OFL)
- [HTML5shiv](http://code.google.com/p/html5shiv/) under [MIT license](http://www.opensource.org/licenses/mit-license.php)
- [Respond.js](https://github.com/scottjehl/Respond) under [MIT license](http://www.opensource.org/licenses/mit-license.php)

The Markdown version of the template also uses:

- [PHP Markdown Extended](https://github.com/e-picas/markdown-extended) under [BSD-3-Clause license](http://opensource.org/licenses/BSD-3-Clause)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~138 days

Total

4

Last Release

3815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdcad88f9577d45da703864395c687480896a757e90978502b600d9dd588c247?d=identicon)[picas](/maintainers/picas)

---

Top Contributors

[![e-picas](https://avatars.githubusercontent.com/u/1021199?v=4)](https://github.com/e-picas "e-picas (59 commits)")

### Embed Badge

![Health badge](/badges/piwi-html5-quick-template/health.svg)

```
[![Health](https://phpackages.com/badges/piwi-html5-quick-template/health.svg)](https://phpackages.com/packages/piwi-html5-quick-template)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
