PHPackages                             thipages/quicktag - 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. thipages/quicktag

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

thipages/quicktag
=================

Quick html tags builder

v0.7.0(5y ago)1441MITPHP

Since Apr 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/thipages/quicktag)[ Packagist](https://packagist.org/packages/thipages/quicktag)[ RSS](/packages/thipages-quicktag/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (1)Versions (4)Used By (1)

quicktag
========

[](#quicktag)

Quick Html tags builder

### Installation

[](#installation)

**composer** require thipages\\quicktag

### Usage of QTag class

[](#usage-of-qtag-class)

#### Basic usage

[](#basic-usage)

Maps are associative arrays mapping tags attributes

```
    // *************
    // CONTENT TAGS
    // *************
    QTag::tag ($tag, ...$map)($content) : String
    QTag::tag ($tag, ...$map1)($content,$map2]) : String
    // *************
    // VOID TAGS
    // *************
    QTag::tag ($tag, ...$map):String
```

##### Examples

[](#examples)

```
$blue=['style'=>'color:blue'];

$html=QTag::tag('span',$blue)('Hello QTag');
/* Hello QTag */

$html=QTag::tag('input', ['type'=>'num','min'=>2]);
/*  */
```

 Templating usage - Content tags```
   QTag::tag ($tag, ...$map1)[($content, ...$map2, true)]n($content, ...$mapN) : String
```

Examples

```
$blue=['style'=>'color:blue'];

$template=QTag::tag('span',$blue)('Hello QTag', true);
$html=$template('...and more");
/* Hello QTag...and more */
```

 Templating usage - Void tags```
    QTag::tag ($tag, ...$map1, true)[(...$map2, true)]n(...$mapN) : String
```

##### Examples

[](#examples-1)

```
$blue=['style'=>'color:blue'];
$min=['min'=>2];

$template=QTag::tag('input',$blue, true);
$html=$template($min);
/*  */
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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 ~51 days

Total

3

Last Release

2118d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/130309?v=4)[tit](/maintainers/thipages)[@thipages](https://github.com/thipages)

---

Top Contributors

[![thipages](https://avatars.githubusercontent.com/u/130309?v=4)](https://github.com/thipages "thipages (65 commits)")

---

Tags

htmlphpquicktaghtmlattributestagvoiddivquick

### Embed Badge

![Health badge](/badges/thipages-quicktag/health.svg)

```
[![Health](https://phpackages.com/badges/thipages-quicktag/health.svg)](https://phpackages.com/packages/thipages-quicktag)
```

###  Alternatives

[jetbrains/phpstorm-attributes

PhpStorm specific attributes

41416.0M647](/packages/jetbrains-phpstorm-attributes)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)

PHPackages © 2026

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