PHPackages                             nystudio107/craft-vite - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nystudio107/craft-vite

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

nystudio107/craft-vite
======================

Allows the use of the Vite.js next generation frontend tooling with Craft CMS

5.0.1(1y ago)54323.8k↓39%17[6 issues](https://github.com/nystudio107/craft-vite/issues)[1 PRs](https://github.com/nystudio107/craft-vite/pulls)20MITPHPPHP ^8.2CI passing

Since May 4Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/nystudio107/craft-vite)[ Packagist](https://packagist.org/packages/nystudio107/craft-vite)[ GitHub Sponsors](https://github.com/khalwat)[ RSS](/packages/nystudio107-craft-vite/feed)WikiDiscussions develop-v5 Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (62)Used By (20)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2306d71724f9d947625a42c5488dc84ec170c3b3ff805451c3807fc17f75ca78/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d766974652f6261646765732f7175616c6974792d73636f72652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-vite/?branch=v5) [![Code Coverage](https://camo.githubusercontent.com/df0f24d7fa8a4511b1741a4927be3d84005854683edc08631e44c50bcde9364f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d766974652f6261646765732f636f7665726167652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-vite/?branch=v5) [![Build Status](https://camo.githubusercontent.com/77dc77e3f1f591fed99e75c9ea01970b08eb22d2ba5c6f901ba772c47363fcf2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d766974652f6261646765732f6275696c642e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-vite/build-status/v5) [![Code Intelligence Status](https://camo.githubusercontent.com/794d8735968543f9685022319e50d151cb3cf2adf74e79056dbca7ca5723baab/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d766974652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d7635)](https://scrutinizer-ci.com/code-intelligence)

Vite plugin for Craft CMS 5.x
=============================

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

Allows the use of the Vite.js next generation frontend tooling with Craft CMS

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

Related Article: [Vite.js Next Generation Frontend Tooling + Craft CMS](https://nystudio107.com/blog/using-vite-js-next-generation-frontend-tooling-with-craft-cms)

Most of the magic is actually in the [nystudio107/craft-plugin-vite](https://github.com/nystudio107/craft-plugin-vite) package, so that Craft CMS plugins can use it too.

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

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later.

**Installation**

1. Install with Composer via `composer require nystudio107/craft-vite` from your project directory
2. Install the plugin via `php craft install/plugin vite` via the CLI -or- in the Craft Control Panel under Settings &gt; Plugins

You can also install Vite via the **Plugin Store** in the Craft Control Panel.

Documentation
-------------

[](#documentation)

Click here -&gt; [Vite Documentation](https://nystudio107.com/plugins/vite/documentation)

Brought to you by [nystudio107](http://nystudio107.com)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance59

Moderate activity, may be stable

Popularity49

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 94.3% 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 ~20 days

Recently: every ~0 days

Total

59

Last Release

688d ago

Major Versions

4.0.8 → 5.0.0-beta.22024-01-30

1.0.34 → 4.0.92024-03-02

4.0.9 → 5.0.0-beta.32024-03-02

v1.x-dev → v4.x-dev2024-08-14

4.0.10 → 5.0.12024-08-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7570798?v=4)[Andrew Welch](/maintainers/khalwat)[@khalwat](https://github.com/khalwat)

---

Top Contributors

[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (248 commits)")[![mandrasch](https://avatars.githubusercontent.com/u/777278?v=4)](https://github.com/mandrasch "mandrasch (9 commits)")[![johndwells](https://avatars.githubusercontent.com/u/134110?v=4)](https://github.com/johndwells "johndwells (4 commits)")[![michaelrog](https://avatars.githubusercontent.com/u/102379?v=4)](https://github.com/michaelrog "michaelrog (1 commits)")[![timkelty](https://avatars.githubusercontent.com/u/18329?v=4)](https://github.com/timkelty "timkelty (1 commits)")

---

Tags

craftcraftcmsvitevite-plugincmsviteCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/nystudio107-craft-vite/health.svg)

```
[![Health](https://phpackages.com/badges/nystudio107-craft-vite/health.svg)](https://phpackages.com/packages/nystudio107-craft-vite)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/icon-picker

A slick field to pick icons from. Supports SVGs, Sprites, Webfonts, Font Awesome and more.

16170.9k7](/packages/verbb-icon-picker)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M58](/packages/nystudio107-craft-seomatic)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)

PHPackages © 2026

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