Search by

srvkit / vite

srvkit

Vite Plugin for PHP

1.0.3 2026-03-14 06:46 UTC

This package is auto-updated.

Last update: 2026-09-14 07:51:32 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