PHPackages                             ceesvanegmond/cachebust - 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. [Caching](/categories/caching)
4. /
5. ceesvanegmond/cachebust

AbandonedArchivedLibrary[Caching](/categories/caching)

ceesvanegmond/cachebust
=======================

A small Laravel4 library to add cachebusting to images. Use the cachebust() helper to get the cachebusted file + timestamp.

9256PHP

Since Dec 3Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ceesvanegmond/laravel4-cachebust)[ Packagist](https://packagist.org/packages/ceesvanegmond/cachebust)[ RSS](/packages/ceesvanegmond-cachebust/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Cachebusting package for Laravel 4
==================================

[](#cachebusting-package-for-laravel-4)

This package allows you to use cachebusting helpers for your images. This feature adds an timestamp (modified date) to the file. So the user always will have the latest version of the image. In your .blade files, use the cachebust() method at an imagepath.

Do not forget to add this in config/app.php under providers:

```
  	'CeesVanEgmond\Minify\MinifyServiceProvider',
```

Dont forget to add this in your public/.htaccess to make it work:

```

    RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]

```

You may now use it like this:

 ```
  img src="{{ cachebust('images/image.png') }}">

```

Or with Blade templating:

 ```
  	{{ HTML::image( cachebust('images/image.png') ) }}

```

Is you have any questions, bugs of comments, mention it in this repository.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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.

### Community

Maintainers

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

---

Top Contributors

[![ceesvanegmond](https://avatars.githubusercontent.com/u/883497?v=4)](https://github.com/ceesvanegmond "ceesvanegmond (5 commits)")[![Jaspur](https://avatars.githubusercontent.com/u/4254854?v=4)](https://github.com/Jaspur "Jaspur (2 commits)")

### Embed Badge

![Health badge](/badges/ceesvanegmond-cachebust/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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