ctf0/asset-cache-bust

Automatic Assets CacheBust in Php

Fund package maintenance!
ctf0

v1.0.3 2017-09-14 23:20 UTC

This package is auto-updated.

Last update: 2024-10-30 01:39:01 UTC


README

Asset Cache Bust
Latest Stable Version Total Downloads

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.