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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

srvkit/vite
===========

Vite Plugin for PHP

1.0.3(2mo ago)18MITPHPCI passing

Since Jul 24Pushed 8mo agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (9)Used By (0)

SrvKit Vite Plugin
==================

[](#srvkit-vite-plugin)

[![PHPUnit](https://github.com/rahulsharmagg/srvkit-vite/actions/workflows/phpunit.yml/badge.svg)](https://github.com/rahulsharmagg/srvkit-vite/actions/workflows/phpunit.yml)

[![Latest Version](https://camo.githubusercontent.com/b646c67cc631f57435e45fcbdf3ea64e0c9622d78af1cb22fcdc8d75ca96dc37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7372766b69742f766974653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/srvkit/vite)[![License](https://camo.githubusercontent.com/74a701bf1a635ae5c491d71fef1b60bd0d882f327df823948cc3391216589a84/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726168756c736861726d6167672f7372766b69742d766974653f7374796c653d666c61742d737175617265)](LICENSE)[![CI4 Compatible](https://camo.githubusercontent.com/7a68fc75bb23400dc09aca11d74a6089a38cc2cb527696e5bab8ed33e88694fe/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f646569676e697465722d342e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://codeigniter.com)

Integrate [Vite](https://vitejs.dev/) with your php app for modern frontend tooling with automatic manifest parsing, dev server detection, and optional debug toolbar collector.

---

🚀 Features
----------

[](#-features)

- ✅ Detect if Vite dev server is running
- ✅ Auto-parse Vite `manifest.json`
- ✅ Optional debug toolbar integration
- ✅ CodeIgniter 4 config auto-discovery support
- ✅ Compatible with PSR-4 and Composer

---

📦 Installation
--------------

[](#-installation)

Install via Composer in your CI4 project:

```
composer require srvkit/vite
```

For local development (monorepo):

```
"repositories": [
    {
        "type": "path",
        "url": "../srvkit-vite",
        "options": {
            "symlink": true
        }
    }
],
"minimum-stability": "dev",
"prefer-stable": true
```

Then:

```
composer require srvkit/vite:* --prefer-source
```

© 2025 - SrvKit

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance72

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

Recently: every ~57 days

Total

7

Last Release

65d ago

Major Versions

0.1.5 → 1.0.02025-09-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/09e79243df0a2cc8bd79e7b545031ee81f9d357ab197c6d46376f4ae4d5185f0?d=identicon)[srvkit](/maintainers/srvkit)

---

Top Contributors

[![rahulsharmagg](https://avatars.githubusercontent.com/u/36887105?v=4)](https://github.com/rahulsharmagg "rahulsharmagg (34 commits)")

---

Tags

phppluginvite

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nystudio107/craft-plugin-vite

Plugin Vite is the conduit between Craft CMS plugins and Vite, with manifest.json &amp; HMR support

13943.2k48](/packages/nystudio107-craft-plugin-vite)[tonegabes/filament-better-options

Filament form components for better radio and checkbox options.

155.2k](/packages/tonegabes-filament-better-options)[moritzebeling/kirby-favicon

Kirby plugin to meet all favicon needs

144.8k](/packages/moritzebeling-kirby-favicon)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)

PHPackages © 2026

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