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

ActiveLibrary

thipages/jsbuild
================

Automate js build

v0.1.1(5y ago)139MITPHP

Since Mar 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/thipages/jsbuild)[ Packagist](https://packagist.org/packages/thipages/jsbuild)[ RSS](/packages/thipages-jsbuild/feed)WikiDiscussions main Synced 1mo ago

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

jsbuild
=======

[](#jsbuild)

Automate js build

installation
------------

[](#installation)

*composer require thipages/jsbuild*

Usage
-----

[](#usage)

1. Create a *jsbuild.json* file by hand or with this helper

```
use thipages\jsbuild\JSBuild;
require('./vendor/autotload.php');
JSBuild::writeBuildModel();
```

or execute *php -r "require './vendor/autoload.php';thipages\\jsbuild\\JSBuild::writeBuildModel();"*

2. Create rollup config files folder and *package.json* from a *jsbuild.json* file

```
use thipages\jsbuild\JSBuild;
require('./vendor/autotload.php');
$builder=new JSBuild();
$builder->writeBuild();
```

3. update *package.json* dependencies if any
4. Create library entry point as *./esm/index.js*
5. execute *npm install*
6. execute *npm run build*

This will create three root files

- index.js (esm)
- index.min.js (esm minified)
- min.js (iife minified)

Note : php script (point 2) can not be reused (no update process yet)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

1898d 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 (15 commits)")

---

Tags

automationbabeljavascriptphprollupterserautomationjavascriptbuildrollupbabelterser

### Embed Badge

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

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

###  Alternatives

[rector/rector

Instant Upgrade and Automated Refactoring of any PHP code

10.3k123.1M6.0k](/packages/rector-rector)[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[friendsofsymfony/jsrouting-bundle

A pretty nice way to expose your Symfony routing to client applications.

1.5k53.6M229](/packages/friendsofsymfony-jsrouting-bundle)[symplify/easy-coding-standard

Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP\_CodeSniffer.

1.6k34.6M1.5k](/packages/symplify-easy-coding-standard)[tedivm/jshrink

Javascript Minifier built in PHP

76137.7M139](/packages/tedivm-jshrink)

PHPackages © 2026

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