srvkit/vite

Vite Plugin for PHP

Maintainers

Package info

github.com/rahulsharmagg/srvkit-vite

pkg:composer/srvkit/vite

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.3 2026-03-14 06:46 UTC

This package is auto-updated.

Last update: 2026-04-14 06:59:48 UTC


README

PHPUnit

Latest Version License CI4 Compatible

Integrate Vite with your php app for modern frontend tooling with automatic manifest parsing, dev server detection, and optional debug toolbar collector.

🚀 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

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