New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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.
940 4

Larablocks Analysis

tappleby/laravel-asset-manifest works with Laravel 4 (latest release 1.0.2, Jun 8, 2014), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 4, past end of life
  • No release in the last 12 months (last: Jun 8, 2014)
  • 0 downloads a month (needs 10,000)
  • 4 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jun 8, 2014.
  • No releases in the last 12 months.
  • First released: Apr 26, 2014.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require tappleby/laravel-asset-manifest
Latest Version:1.0.2
PHP:>=5.3.0
Laravel:4
License:MIT
Last Updated:Sep 8, 2014
Links: GitHub  ·  Packagist
Maintainer: tappleby

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

Installation

Require the tappleby/laravel-asset-manfiestin 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

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 package the asset manfiest can automatically be generated.

License

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

Related Packages

amrsoliman/assets-cdn

Easily load your assets from a CDN when on production.

1,122 3
mezatech/assets-cdn

Easily load your assets from a CDN when on production.

346 3
spekkionu/assetcachebuster

Prefixes asset urls with a unique hash which will allow invalidation of asset fi...

44,703 32
damianromanowski/simplecdn

Laravel 4 simple content delivery network URL rewriter

862 17
cdn
gawdl3y/asset-prefixer

Automatic asset path prefixes for Laravel

50 0

Version History

Version Released PHP Laravel License
1.0.2 >=5.3.0 ~4.1 MIT
1.0.1 >=5.3.0 4.1.* MIT
1.0.0 >=5.3.0 4.1.*