ctf0/asset-cache-bust

Automatic Assets CacheBust in Laravel
10,738 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/laravel-helper-cmnds

Some Helper Console Cmnds For Laravel To Speedup The Usual Workflow

2 3
ctf0/config-to-js

get any laravel config value in javascript using ajax

7 0
ctf0/package-changelog

show package changeLog on install/update

75,861 16
ivenms/laravel-media-manager

A Media Manager Built With Vuejs & Laravel FOR V9

2,415 4
interactively/media-manager

A Media Manager Built With Vuejs & Laravel

1,772 0