PHPackages                             southcoastweb/wp-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. southcoastweb/wp-vite

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

southcoastweb/wp-vite
=====================

v1.3.2(6mo ago)14713MITPHPCI passing

Since Apr 28Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/evo-mark/wp-vite)[ Packagist](https://packagist.org/packages/southcoastweb/wp-vite)[ RSS](/packages/southcoastweb-wp-vite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (29)Used By (0)

 [    ![evoMark company logo](https://camo.githubusercontent.com/0ee00c831e18d82e5d32990e52b0b08b13c97ff2374478eef348c17bd3485c3c/68747470733a2f2f65766f6d61726b2e636f2e756b2f77702d636f6e74656e742f75706c6f6164732f7374617469632f65766f6d61726b2d6c6f676f2d2d6c696768742e737667)  ](https://evomark.co.uk)

WP Vite
=======

[](#wp-vite)

Tags: wordpress, vite, esbuild, development, production, build Requires at least: 6.0 Tested up to: 6.7 Requires PHP: 8.2 License: MIT License URI:

Bring Vite's lightning fast build process to your Wordpress theme or plugin

Usage
-----

[](#usage)

Inside your plugin entry file or function.php file (for themes) simply include the following:

```
use EvoMark\WpVite\WpVite;

$vite = new WpVite;
$vite->enqueue([
    'namespace' => 'theme-vite',
    'input' => ["src/main.js"],
]);

```

The enqueue function takes a single associative array as a parameter. Here are the properties it can contain:

argtyperequireddescriptionnamespacestringtrueA unique namespace for the manifest being enqueuedinputstring|string\[\]trueOne or more entry files. These must match exactly the ones defined in your Vite config filedependenciesstring\[\]falseWordpress JS dependencies for your manifest. In production, these will be mapped to the window objectadminboolfalseEnqueue the inputs for Wordpress admin pages instead of frontendabsolutePathstringfalseOverride the absolute path of your build folderabsoluteUrlstringfalseOverride the absolute URL of your build folderbuildDirectorystringfalseOverride the name of your build subfolder (default 'build')priorityintfalseSet the Wordpress priority of your script(s)Frontend
--------

[](#frontend)

You will require the [Wordpress Vite Plugin](https://www.npmjs.com/package/wordpress-vite-plugin) installed as part of your build process. See link for installation instructions

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

- Does this work with Gutenberg block development?

    No. This plugin currently does not support usage in the development of block libraries. For that, we recommend [Vite Plugin Gutenberg Blocks](https://github.com/evo-mark/vite-plugin-gutenberg-blocks).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance66

Regular maintenance activity

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81% 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 ~34 days

Recently: every ~77 days

Total

28

Last Release

205d ago

Major Versions

v0.4.6 → v1.0.02023-07-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b0b1f60b2c556a6a0883e9948d5336e2d69e1f7c51ec59de8c4bd3db7cad38e?d=identicon)[southcoastweb](/maintainers/southcoastweb)

---

Top Contributors

[![craigrileyuk](https://avatars.githubusercontent.com/u/68274157?v=4)](https://github.com/craigrileyuk "craigrileyuk (17 commits)")[![thecoopertempleclause](https://avatars.githubusercontent.com/u/71491231?v=4)](https://github.com/thecoopertempleclause "thecoopertempleclause (4 commits)")

### Embed Badge

![Health badge](/badges/southcoastweb-wp-vite/health.svg)

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

###  Alternatives

[10up/10up-experience

The 10up Experience plugin configures WordPress to better protect and inform clients, aligned to 10up's best practices

139477.6k](/packages/10up-10up-experience)

PHPackages © 2026

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