PHPackages                             exounx/vasri - 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. exounx/vasri

ActiveLibrary[Caching](/categories/caching)

exounx/vasri
============

Easy subresource integrity and versioning for local assets

v0.4.1(6y ago)3339MITPHPPHP ^7.1.3

Since Sep 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ExoUNX/Vasri)[ Packagist](https://packagist.org/packages/exounx/vasri)[ Docs](https://github.com/ExoUNX/Vasri)[ RSS](/packages/exounx-vasri/feed)WikiDiscussions dev Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/aa5774c33cb4ca8b665c96d266fa447d3f83c05153d34db6e00783ed8170db75/68747470733a2f2f706f7365722e707567782e6f72672f65786f756e782f76617372692f762f737461626c65)](https://packagist.org/packages/exounx/vasri)[![Total Downloads](https://camo.githubusercontent.com/c34b6bd8b09282f4cd353bbeb90e7e94c693c0ae67ab3eeb3bee81945e295c42/68747470733a2f2f706f7365722e707567782e6f72672f65786f756e782f76617372692f646f776e6c6f616473)](https://packagist.org/packages/exounx/vasri)[![Latest Unstable Version](https://camo.githubusercontent.com/e4e9bc74bed494db0f294dcd74a62b424b653a390f72552b3fd8518644752e8d/68747470733a2f2f706f7365722e707567782e6f72672f65786f756e782f76617372692f762f756e737461626c65)](https://packagist.org/packages/exounx/vasri)[![Build Status](https://camo.githubusercontent.com/603b60b6c61319c3f0c11bff128f55edef72007e1b59e3b1383a7791fb8e0de3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f45786f554e582f56617372692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ExoUNX/Vasri/build-status/dev)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/323a421fdd0c9201259a0d504776d91056ef28f3128f4c40a68d978409c2a58b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f45786f554e582f56617372692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ExoUNX/Vasri/?branch=dev)[![License](https://camo.githubusercontent.com/79c0f640ea93de2a83c5c8bfa14e031f7aa8b24ba4b084e31e11a9aba8935259/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f45786f554e582f56617372692e737667)](https://camo.githubusercontent.com/79c0f640ea93de2a83c5c8bfa14e031f7aa8b24ba4b084e31e11a9aba8935259/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f45786f554e582f56617372692e737667)

Vasri
=====

[](#vasri)

Easy subresource integrity and versioning for local assets

This is also meant to replace the Laravel Mix helper.

Install
-------

[](#install)

```
composer require exounx/vasri

```

Publish the config

```
php artisan vendor:publish --provider="ExoUNX\Vasri\Providers\VasriServiceProvider"

```

Usage
-----

[](#usage)

Note: If you use a CDN like Cloudflare that processes your assets at their edge servers, I recommend you disable it and process your scripts beforehand otherwise assets may not load

You'll need to generate the manifest first and every time the assets change

```
php artisan vasri:build

```

For CSS

```

```

For JS

```

```

By default Vasri is configured to read the mix-manifest.json in your public Laravel directory.

If you don't wish to use the mix manifest you can disable it in the config

```
'mix-manifest' => false,

```

You'll need to specify your assets manually in the config if you disable mix-manifest support

```
'assets' => [
    '/css/app.css',
    '/js/app.js',
]

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/ExoUNX/Vasri/blob/master/LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~1 days

Total

16

Last Release

2430d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8666b0002d3efedef980145efcebbd64b8f719730bb00f88a3cf3346d5d7ed1e?d=identicon)[exounx](/maintainers/exounx)

---

Tags

assetcache-bustinglaravellaravel-5-packagelaravel-mixlaravel-packagelaravel-pluginphpsrisubresource-integrityversioninglaravelcacheversioningbustingassetsrimixintegritysubresource

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/exounx-vasri/health.svg)

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[silber/page-cache

Caches responses as static files on disk for lightning fast page loads.

1.3k441.9k6](/packages/silber-page-cache)[nexxai/laravel-cfcache

A handful of Cloudflare cache helpers for Laravel

1317.7k](/packages/nexxai-laravel-cfcache)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[dragon-code/laravel-cache

An improved interface for working with cache

6844.8k10](/packages/dragon-code-laravel-cache)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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