tappleby/laravel-asset-manifest
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 advisedNot 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 |
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.
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
Prefixes asset urls with a unique hash which will allow invalidation of asset fi...
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.* |