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(11y 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 yesterday

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 68% 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

4357d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3524ad2a6fe298f6138ef36ad318dab868ac05106a172305da26b96fbb1843a8?d=identicon)[tappleby](/maintainers/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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[watson/active

Laravel helper for recognising the current route, controller and action

3253.6M14](/packages/watson-active)[jasonlewis/resource-watcher

Simple PHP resource watcher library.

221145.8k14](/packages/jasonlewis-resource-watcher)[genealabs/laravel-changelog

A Laravel Nova tool.

55250.7k](/packages/genealabs-laravel-changelog)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

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