PHPackages                             legalthings/legalform-js - 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. legalthings/legalform-js

ActiveLibrary

legalthings/legalform-js
========================

JavaScript library to create a form from a LegalForms definition

v0.4.3(4y ago)43.1k3[3 PRs](https://github.com/legalthings/legalform-js/pulls)MITJavaScript

Since Feb 16Pushed 3y ago13 watchersCompare

[ Source](https://github.com/legalthings/legalform-js)[ Packagist](https://packagist.org/packages/legalthings/legalform-js)[ RSS](/packages/legalthings-legalform-js/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)DependenciesVersions (214)Used By (0)

legalform-js
============

[](#legalform-js)

JavaScript library to create the HTML of a form a LegalForms definition.

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

[](#installation)

For use in a PHP project

```
composer install legalthings/legalform-js

```

CDN
---

[](#cdn)

You can load legalform.js using the rawgit CDN.

```

```

Usage
-----

[](#usage)

```
var formHtml = new LegalForm().build(definition);
```

Demo
----

[](#demo)

View the demo [here](https://legalthings.github.io/legalform-js/) or in [material](https://legalthings.github.io/legalform-js/material.html)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity73

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

Recently: every ~181 days

Total

71

Last Release

1791d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3379a93d51305df325df9045e1a8b205d195e4e8c01312dff53a000ee79002eb?d=identicon)[jasny](/maintainers/jasny)

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

---

Top Contributors

[![Minstel](https://avatars.githubusercontent.com/u/6154708?v=4)](https://github.com/Minstel "Minstel (147 commits)")[![jasny](https://avatars.githubusercontent.com/u/100821?v=4)](https://github.com/jasny "jasny (130 commits)")[![svenstm](https://avatars.githubusercontent.com/u/1632578?v=4)](https://github.com/svenstm "svenstm (88 commits)")[![poratuk](https://avatars.githubusercontent.com/u/12087528?v=4)](https://github.com/poratuk "poratuk (35 commits)")[![Sarfaraaz](https://avatars.githubusercontent.com/u/2484595?v=4)](https://github.com/Sarfaraaz "Sarfaraaz (17 commits)")[![jurrew27](https://avatars.githubusercontent.com/u/7300476?v=4)](https://github.com/jurrew27 "jurrew27 (15 commits)")[![JohnConnor1969](https://avatars.githubusercontent.com/u/16002537?v=4)](https://github.com/JohnConnor1969 "JohnConnor1969 (13 commits)")[![MitchelKerckhaert](https://avatars.githubusercontent.com/u/29224842?v=4)](https://github.com/MitchelKerckhaert "MitchelKerckhaert (7 commits)")[![re2005](https://avatars.githubusercontent.com/u/2920357?v=4)](https://github.com/re2005 "re2005 (3 commits)")[![KODIKAS-NL](https://avatars.githubusercontent.com/u/58047787?v=4)](https://github.com/KODIKAS-NL "KODIKAS-NL (2 commits)")[![moesjarraf](https://avatars.githubusercontent.com/u/5793511?v=4)](https://github.com/moesjarraf "moesjarraf (1 commits)")

### Embed Badge

![Health badge](/badges/legalthings-legalform-js/health.svg)

```
[![Health](https://phpackages.com/badges/legalthings-legalform-js/health.svg)](https://phpackages.com/packages/legalthings-legalform-js)
```

PHPackages © 2026

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