This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v1.1.1) of this package.

3ev's internal Laravel asset helpers

v1.1.1 2015-05-28 14:24 UTC

This package is not auto-updated.

Last update: 2024-02-17 14:38:21 UTC


This library is used internally at 3ev as part of a custom Laravel asset pipeline. It's not yet ready for public use, but feel free to play around with it.


$ composer require "3ev/laravel-assets:~1.0"

Then, you'll need to add the following service provider to your app.php:

// config/app.php

return [
    'providers' => [

and publish the package config:

$ php artisan vendor:publish --provider="Tev\Assets\Providers\AssetsServiceProvider"


The default configuration sets up assets to be loaded from public/build/assets/, with the revision manifest file (from gulp-rev) configured at public/build/assets/rev-manifest.json.

The library provides a simple helper method which will load a versioned or unversioned asset seemlessly from public/build/assets/. For example, to load a compiled CSS file you might add the following to your template:

<link rel="stylesheet" type="text/css" href="{{ tev_asset('css/style.css') }}" />

or to load a static image you might do:

<img src="{{ tev_asset('img/logo.png') }}" title="My Logo" alt="My Logo" />