PHPackages                             etrepat/basset - 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. etrepat/basset

ActiveLibrary

etrepat/basset
==============

A better asset management package for Laravel.

v4.0.7(11y ago)149.6k2[1 issues](https://github.com/etrepat/basset/issues)BSD-2-ClausePHPPHP &gt;=5.3.0

Since Feb 20Pushed 11y ago3 watchersCompare

[ Source](https://github.com/etrepat/basset)[ Packagist](https://packagist.org/packages/etrepat/basset)[ RSS](/packages/etrepat-basset/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (10)Versions (8)Used By (0)

Basset for Laravel 4
--------------------

[](#basset-for-laravel-4)

[![Build Status](https://camo.githubusercontent.com/f5763d62e903770ceb46616c4de16d79cdb3c24086742098cae88d8154b243ad/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f657472657061742f6261737365742e706e67)](http://travis-ci.org/etrepat/basset)

Basset is a better asset management package for the Laravel framework. Basset shares the same philosophy as Laravel. Development should be an enjoyable and fulfilling experience. When it comes to managing your assets it can become quite complex and a pain in the backside. These days developers are able to use a range of pre-processors such as Sass, Less, and CoffeeScript. Basset is able to handle the processing of these assets instead of relying on a number of individual tools.

### Please NOTE:

[](#please-note)

- This is a fork of the original but, unfortunately, no longer maintained [Basset](https://github.com/jasonlewis/basset) asset management package for the [Laravel 4 framework](http://laravel.com/). All credits and great thanks to @jasonlewis for developing this great package.
- The main reason for this fork to exist is to make the package compatible with the latest version of the [Laravel 4 framework](http://laravel.com/), fix some bugs, and allow me to upgrade some applications which rely on this package to the latest [Laravel 4 framework](http://laravel.com/).

Status:

- **Working** without major issues with *[Laravel 4.1](http://laravel.com)*.
- Should work with *[Laravel 4.2](http://laravel.com)* (more feedback needed).

Please, take a look at the [CHANGELOG.md](https://github.com/etrepat/basset/blob/master/CHANGELOG.md), or browse the commits to know what has changed from the original.

### Installation

[](#installation)

- [Basset on Packagist](https://packagist.org/packages/etrepat/basset)
- [Basset on GitHub](https://github.com/etrepat/basset)

To get the latest version of Basset simply require it in your `composer.json`file:

```
"etrepat/basset": "~4.0.1"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

Once Basset is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(

    'Basset\BassetServiceProvider'

)
```

Basset also ships with a facade which provides the static syntax for creating collections. You can register the facade in the `aliases` key of your `app/config/app.php` file.

```
'aliases' => array(

    'Basset' => 'Basset\Facade'

)
```

### Documentation

[](#documentation)

[View the official documentation](http://jasonlewis.me/code/basset/4.0).

### Changes

[](#changes)

Please see the [CHANGELOG.md](https://github.com/etrepat/basset/blob/master/CHANGELOG.md) file.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 88.5% 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 ~30 days

Recently: every ~45 days

Total

7

Last Release

4284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d344974e819f4fb3cc2c0e78f479345d0ccbbef00957f641e49577b58634c571?d=identicon)[etrepat](/maintainers/etrepat)

---

Top Contributors

[![jasonlewis](https://avatars.githubusercontent.com/u/829059?v=4)](https://github.com/jasonlewis "jasonlewis (331 commits)")[![etrepat](https://avatars.githubusercontent.com/u/148851?v=4)](https://github.com/etrepat "etrepat (29 commits)")[![pthurmond](https://avatars.githubusercontent.com/u/193002?v=4)](https://github.com/pthurmond "pthurmond (9 commits)")[![arthurdarcet](https://avatars.githubusercontent.com/u/973454?v=4)](https://github.com/arthurdarcet "arthurdarcet (2 commits)")[![gregatetr](https://avatars.githubusercontent.com/u/1903696?v=4)](https://github.com/gregatetr "gregatetr (1 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (1 commits)")[![knnethdw](https://avatars.githubusercontent.com/u/3512335?v=4)](https://github.com/knnethdw "knnethdw (1 commits)")

---

Tags

laravelassetsbasset

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/etrepat-basset/health.svg)

```
[![Health](https://phpackages.com/badges/etrepat-basset/health.svg)](https://phpackages.com/packages/etrepat-basset)
```

###  Alternatives

[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

202832.4k6](/packages/backpack-basset)[jasonlewis/resource-watcher

Simple PHP resource watcher library.

221145.8k14](/packages/jasonlewis-resource-watcher)[frenzy/turbolinks

Frenzy Turbolinks makes following links in your web application faster with Laravel

16023.2k](/packages/frenzy-turbolinks)[tarunkorat/laravel-asset-cleaner

Safely detect and remove unused CSS, JS, SCSS and other assets from Laravel applications

733.2k1](/packages/tarunkorat-laravel-asset-cleaner)[efficiently/jquery-laravel

This package provides jQuery and the jQuery-ujs driver for your Laravel &gt;= 6 application.

1311.0k1](/packages/efficiently-jquery-laravel)

PHPackages © 2026

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