PHPackages                             bryaneschultz/vite-manifest-plugin - 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. [Templating &amp; Views](/categories/templating)
4. /
5. bryaneschultz/vite-manifest-plugin

AbandonedArchivedCraft-plugin[Templating &amp; Views](/categories/templating)

bryaneschultz/vite-manifest-plugin
==================================

Twig utility function to handle Vite manifest asset files for Craft CMS.

1.0.1(3y ago)03MITPHPPHP ^8.0.2

Since Oct 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bryaneschultz/vite-manifest-plugin)[ Packagist](https://packagist.org/packages/bryaneschultz/vite-manifest-plugin)[ RSS](/packages/bryaneschultz-vite-manifest-plugin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Vite Manifest plugin for Craft CMS 4.x
======================================

[](#vite-manifest-plugin-for-craft-cms-4x)

[![Screenshot](resources/img/plugin-logo.svg)](resources/img/plugin-logo.svg)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4.x or later.

Installation
------------

[](#installation)

### 1. Install with Composer

[](#1-install-with-composer)

From the terminal

```
cd /path/to/project
composer require bryaneschultz/vite-manifest-plugin

```

### 2. Install through Craft CMS

[](#2-install-through-craft-cms)

In the Control Panel, go to `Settings` → `Plugins` → `Vite Manifest` → `Install`

Vite Manifest Overview
----------------------

[](#vite-manifest-overview)

Lightweight Twig utility function to handle Vite Manifest files for Craft CMS.

Configuring Vite Manifest
-------------------------

[](#configuring-vite-manifest)

Vite Manifest comes with basic configuration. To override these configuration keys, copy the contents of the `config.php` file to `config/vite-manifest.php`

```
[
    'webRootAlias' => '@webroot',
    'manifestFile' => 'manifest.json',
    'viteDist' => 'dist',
]

```

Using Vite Manifest
-------------------

[](#using-vite-manifest)

### Basic Usage.

[](#basic-usage)

By default, Vite Manifest will use the version supplied by the manifest.

```

```

### Advanced Usage.

[](#advanced-usage)

If you want twig to handle the html for your asset, pass `true` as a second parameter.

```
{{ manifest('css/app.scss', true) }}
{{ manifest('js/app.ts', true) }}

```

License
-------

[](#license)

Vite Manifest is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT/).

Vite Manifest Roadmap
---------------------

[](#vite-manifest-roadmap)

- [Initial release](https://github.com/bryaneschultz/vite-manifest-plugin/blob/main/CHANGELOG.md)

Brought to you by [Bryan E. Schultz](https://github.com/bryaneschultz)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1287d ago

### Community

Maintainers

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

---

Top Contributors

[![bryaneschultz](https://avatars.githubusercontent.com/u/32134166?v=4)](https://github.com/bryaneschultz "bryaneschultz (3 commits)")

---

Tags

twigcmsviteCraftcraftcmscraft-pluginmanifestcraft4

### Embed Badge

![Health badge](/badges/bryaneschultz-vite-manifest-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/bryaneschultz-vite-manifest-plugin/health.svg)](https://phpackages.com/packages/bryaneschultz-vite-manifest-plugin)
```

###  Alternatives

[wbrowar/guide

A CMS Guide for Craft CMS.

6154.5k1](/packages/wbrowar-guide)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)[nystudio107/craft-autocomplete

Provides Twig template IDE autocomplete of Craft CMS &amp; plugin variables

44204.4k13](/packages/nystudio107-craft-autocomplete)[viget/craft-classnames

Classnames plugin for Craft CMS

1115.5k1](/packages/viget-craft-classnames)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)

PHPackages © 2026

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