ctf0/asset-cache-bust

Automatic Assets CacheBust in Laravel
10,762 3
Install
composer require ctf0/asset-cache-bust
Latest Version:v1.0.3
PHP:>=5.6
License:MIT
Last Updated:Jan 3, 2023
Links: GitHub  ·  Packagist
Maintainer: ctf0

simply everytime you make a change to the file, its timestamp gets changed & the cache will be busted automatically 😍.

Installation

  • composer require ctf0/asset-cache-bust

Usage

  • in your view

    // php
    <?php echo bustfy('css/style.css') ?>
    
    // laravel
    {{ bustfy('css/style.css') }}
    

Security

If you discover any security-related issues, please email ctf0-dev@protonmail.com.

Related Packages

ctf0/package-changelog

show package changeLog on install/update

76,224 16
ivenms/laravel-media-manager

A Media Manager Built With Vuejs & Laravel FOR V9

2,431 4
interactively/media-manager

A Media Manager Built With Vuejs & Laravel

1,921 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950

Version History

Version Released PHP Laravel License
v1.0.3 >=5.6 MIT
v1.0.2 ~7.0 >=4.2 MIT
v1.0.1 ~7.0 4.2.*|5.2.*|5.3.*|5.4.*|5.5.* MIT
v1.0.0 ~5.6|~7.0 ~5.2 MIT