srvkit/vite

Vite Plugin for PHP

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/srvkit/vite

1.0.2 2025-09-04 06:58 UTC

This package is auto-updated.

Last update: 2026-01-04 07:42:07 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