PHPackages                             tappleby/laravel-asset-manifest - 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. tappleby/laravel-asset-manifest

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

tappleby/laravel-asset-manifest
===============================

Laravel 4 package for re-mapping assets paths, useful for asset revving using tools such as grunt and/or loading assets from a CDN.

1.0.2(12y ago)49403MITPHPPHP &gt;=5.3.0

Since Apr 26Pushed 11y ago2 watchersCompare

[ Source](https://github.com/tappleby/laravel-asset-manifest)[ Packagist](https://packagist.org/packages/tappleby/laravel-asset-manifest)[ RSS](/packages/tappleby-laravel-asset-manifest/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

Laravel Asset Manifest
======================

[](#laravel-asset-manifest)

Simple Laravel 4 package for re-mapping assets paths, useful for asset revving using tools such as grunt and/or loading assets from a CDN. Extends Laravel's url generator which means existing `asset()` or `URL::asset` calls will work without changes.

[![Build Status](https://camo.githubusercontent.com/16694b1e3e2baa4b49b707939885c019ecf92ae077df1349891cea84bbac6c9e/68747470733a2f2f7472617669732d63692e6f72672f746170706c6562792f6c61726176656c2d61737365742d6d616e69666573742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tappleby/laravel-asset-manifest)

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

[](#installation)

Require the `tappleby/laravel-asset-manfiest`in your composer.json

```
$ composer require tappleby/laravel-asset-manifest:1.*

```

Add the AssetManifestServiceProvider to your `app/config/app.php`:

```
'Tappleby\AssetManifest\AssetManifestServiceProvider',

```

**Optional**

If you wish to access the asset manifest manually, the facade can be registered:

```
'AssetManifest'   => 'Tappleby\AssetManifest\Facades\AssetManifest',

```

The default config path can be changed by publishing the config:

```
$ php artisan config:publish tappleby/laravel-asset-manifest

```

Usage
-----

[](#usage)

The only requirement of this package is a manifest JSON file located at `app/storage/meta/assets.json`. If a key is found in the JSON file, its value will be used as the new asset path:

```
{
	"src": "target",
	"foo.png": "bar.png",
	"baz.png": "//cdn.awesomehost.com/baz.png"
}

```

Calling `asset("foo.png")` in your view will return "bar.png". If the target url starts with `http` or `//` this value will be returned without passing through laravels default url generator: `asset("baz.png")` returns `//cdn.awesomehost.com/baz.png`

This package integrates well with grunt + grunt-filerev, using the [grunt-filerev-assets](https://github.com/richardbolt/grunt-filerev-assets) package the asset manfiest can automatically be generated.

License
-------

[](#license)

licensed under the MIT License - see the LICENSE file for details

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~21 days

Total

3

Last Release

4409d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1435253?v=4)[Terry Appleby](/maintainers/tappleby)[@tappleby](https://github.com/tappleby)

---

Top Contributors

[![tappleby](https://avatars.githubusercontent.com/u/1435253?v=4)](https://github.com/tappleby "tappleby (7 commits)")[![LeonB](https://avatars.githubusercontent.com/u/3979?v=4)](https://github.com/LeonB "LeonB (2 commits)")

---

Tags

laravelassetscdn

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tappleby-laravel-asset-manifest/health.svg)

```
[![Health](https://phpackages.com/badges/tappleby-laravel-asset-manifest/health.svg)](https://phpackages.com/packages/tappleby-laravel-asset-manifest)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[laravel/folio

Page based routing for Laravel.

603583.7k33](/packages/laravel-folio)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)

PHPackages © 2026

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