PHPackages                             unl/php-dwt-parser - 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. unl/php-dwt-parser

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

unl/php-dwt-parser
==================

A PHP library for parsing DWT files and turning them into PHP classes

v1.0.3(1y ago)85.3k51BSD-3-ClausePHPPHP &gt;=8.1CI failing

Since Oct 8Pushed 1y ago5 watchersCompare

[ Source](https://github.com/unl/phpdwtparser)[ Packagist](https://packagist.org/packages/unl/php-dwt-parser)[ Docs](http://wdn.unl.edu/)[ RSS](/packages/unl-php-dwt-parser/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (3)Versions (9)Used By (1)

PHP DWT Parser
==============

[](#php-dwt-parser)

[![Build Status](https://camo.githubusercontent.com/1bdf983c0aa6501ee8561a62ddd527e5bfc8160a317368902ac70f845c94c118/68747470733a2f2f7472617669732d63692e6f72672f756e6c2f7068706477747061727365722e737667)](https://travis-ci.org/unl/phpdwtparser)[![Coverage Status](https://camo.githubusercontent.com/14ada7fddca6d38274ad41bb885228898bc61ff4fa2e0cfff327c4c6e3fdb5cf/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f756e6c2f7068706477747061727365722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/unl/phpdwtparser?branch=master)

This package generates php class files (objects) from Dreamweaver template files. Examples found under `docs/examples/`.

Test browser output (`basic/example_style1.php`):
-------------------------------------------------

[](#test-browser-output-basicexample_style1php)

- Open `docs/examples/basic/example_style1.php` in a browser.
- Builds a webpage object based on a class file that was previously generated by `createTemplates.php`.
    - The member variables of this object are editable regions that should be modified as desired.
- This uses `TemplateStyle1.php` and `Template_style1.tpl` that have been pregenerated.

Test template creation:
-----------------------

[](#test-template-creation)

```
cd docs/examples/basic/
php ../../../bin/createTemplates.php example.ini
```

This will write new versions of `TemplateStyle1.php` and `Template_style1.tpl` to `docs/examples/basic/`

Scanner (`scanner_example.php`):
--------------------------------

[](#scanner-scanner_examplephp)

Scans a rendered DWT-based page for editable regions. All editable regions become member variables of the scanner object.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~783 days

Total

7

Last Release

722d ago

Major Versions

v0.9.1 → v1.0.0-rc.12015-10-29

PHP version history (2 changes)v1.0.0-rc.1PHP &gt;=5.5

v1.0.3PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/498678?v=4)[Michael Fairchild](/maintainers/mfairchild365)[@mfairchild365](https://github.com/mfairchild365)

![](https://avatars.githubusercontent.com/u/446357?v=4)[Eric Rasmussen](/maintainers/ericras)[@ericras](https://github.com/ericras)

![](https://www.gravatar.com/avatar/6e031eb579cc69ba56d0e76d472cfe212a93ea180852d524e37ab12f0d12b02b?d=identicon)[macburgee1](/maintainers/macburgee1)

![](https://www.gravatar.com/avatar/1d20810c105e3896f6350ffdf288f8537cf2659284b016870a1f3db92a434c16?d=identicon)[jsturek8](/maintainers/jsturek8)

![](https://www.gravatar.com/avatar/668b4bc812e41e1fda204a60c369f696cf00d4818f3e2a22966e3b34f47f68b9?d=identicon)[tommyneu](/maintainers/tommyneu)

---

Top Contributors

[![kabel](https://avatars.githubusercontent.com/u/675956?v=4)](https://github.com/kabel "kabel (45 commits)")[![saltybeagle](https://avatars.githubusercontent.com/u/92284?v=4)](https://github.com/saltybeagle "saltybeagle (21 commits)")[![ericras](https://avatars.githubusercontent.com/u/446357?v=4)](https://github.com/ericras "ericras (18 commits)")[![mfairchild365](https://avatars.githubusercontent.com/u/498678?v=4)](https://github.com/mfairchild365 "mfairchild365 (9 commits)")[![jsturek](https://avatars.githubusercontent.com/u/542037?v=4)](https://github.com/jsturek "jsturek (1 commits)")[![tommyneu](https://avatars.githubusercontent.com/u/57959550?v=4)](https://github.com/tommyneu "tommyneu (1 commits)")[![tsteiner](https://avatars.githubusercontent.com/u/195772?v=4)](https://github.com/tsteiner "tsteiner (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/unl-php-dwt-parser/health.svg)

```
[![Health](https://phpackages.com/badges/unl-php-dwt-parser/health.svg)](https://phpackages.com/packages/unl-php-dwt-parser)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[protobuf-php/protobuf-plugin

PHP Code generator plugin from Google's Protocol Buffers

57145.2k18](/packages/protobuf-php-protobuf-plugin)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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