PHPackages                             tilpark/webpack-loader - 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. tilpark/webpack-loader

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

tilpark/webpack-loader
======================

Php core webpack loader

v1.2.1(5y ago)023MITPHP

Since Jan 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tilpark/webpack-loader)[ Packagist](https://packagist.org/packages/tilpark/webpack-loader)[ RSS](/packages/tilpark-webpack-loader/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Php Webpack Loader
==================

[](#php-webpack-loader)

> webpack loader consumes the output generated by [webpack-bundle-tracker](https://github.com/owais/webpack-bundle-tracker) and lets you use the generated bundles in php.

Install
-------

[](#install)

```
composer require tilpark/webpack-loader
```

Usage
-----

[](#usage)

```
use Tilpark\Webpack\Loader;
// Give the main directory where the asset is located as parameter.
$loader = new Loader(__DIR__);

// getBundle (extension, entry)
// example.com/assets/bundles/main.[hash].js
$jsBundlde = $loader->getBundle('js', 'main');
$cssBundle = $loader->getBundle('css', 'main');
```

Options
-------

[](#options)

### Set PublicPath Manually

[](#set-publicpath-manually)

```
$loader->setPublicPath("http://192.168.1.99/assets/bundles/");
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

5

Last Release

1999d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5477767?v=4)[Tilpark](/maintainers/tilpark)[@tilpark](https://github.com/tilpark)

---

Top Contributors

[![m-inan](https://avatars.githubusercontent.com/u/25525515?v=4)](https://github.com/m-inan "m-inan (6 commits)")

### Embed Badge

![Health badge](/badges/tilpark-webpack-loader/health.svg)

```
[![Health](https://phpackages.com/badges/tilpark-webpack-loader/health.svg)](https://phpackages.com/packages/tilpark-webpack-loader)
```

PHPackages © 2026

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