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
Requires (Dev)
- codeigniter4/framework: ^4.6
- phpunit/phpunit: 11.5.x-dev
README
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