PHPackages                             ahhp/vast - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ahhp/vast

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ahhp/vast
=========

VAST 4.2 XML generator

v1.0.1(4y ago)0243MITPHPPHP &gt;=7

Since Jun 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AmirHossein/vast)[ Packagist](https://packagist.org/packages/ahhp/vast)[ RSS](/packages/ahhp-vast/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

vast
====

[](#vast)

VAST 4.2 PHP Model

[![Latest Stable Version](https://camo.githubusercontent.com/f1d22caff7c59b46672189856f2779cf3b3d5801463984661bff90420a4772bd/68747470733a2f2f706f7365722e707567782e6f72672f616868702f766173742f76)](//packagist.org/packages/ahhp/vast) [![Total Downloads](https://camo.githubusercontent.com/2a1166a379d0bf0daa0789e741c082fb221f6ce2ccbc429c166f6ef6de365192/68747470733a2f2f706f7365722e707567782e6f72672f616868702f766173742f646f776e6c6f616473)](//packagist.org/packages/ahhp/vast) [![Latest Unstable Version](https://camo.githubusercontent.com/27a263d36e018e154ef77d828598321cb936a441e8cb88a7aef81e6d1e05fb82/68747470733a2f2f706f7365722e707567782e6f72672f616868702f766173742f762f756e737461626c65)](//packagist.org/packages/ahhp/vast) [![License](https://camo.githubusercontent.com/cb55d52be5c5c26c56eed66a848abab8697643b41523e0c6a4c8a3beb071a00b/68747470733a2f2f706f7365722e707567782e6f72672f616868702f766173742f6c6963656e7365)](//packagist.org/packages/ahhp/vast)

Usage:

```
$vast = new ahhp\Vast\Vast();
$vast->addAd(
    (new \ahhp\Vast\Nodes\Ad)
        ->setInLine(
            (new \ahhp\Vast\Nodes\InLine)
                ->setAdServingId("ad-servering-id")
                ->addCategory("authority1", "uri1")
                ->addCategory("authority2", "uri2")
        )
);
echo $vast->getXML();
```

Output:

```

                        ad-servering-id]]>
                        uri1]]>
                        uri2]]>

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

1751d ago

### Community

Maintainers

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

---

Top Contributors

[![AmirHossein](https://avatars.githubusercontent.com/u/293169?v=4)](https://github.com/AmirHossein "AmirHossein (7 commits)")

---

Tags

vast

### Embed Badge

![Health badge](/badges/ahhp-vast/health.svg)

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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