userfrosting/vite-php-twig
Vite integration for PHP and Twig: render script and link tags from Vite's build manifest, support the dev server with hot module replacement, and wire up asset entry points through a simple Twig extension. Built for UserFrosting but usable in any PHP/Twig app.
VitePHP Twig connects Vite with PHP and Twig, giving server-rendered applications access to Vite's dev server and production build assets. It resolves hashed filenames from the Vite manifest and exposes them to templates, so you never hardcode asset URLs.
In development it targets the Vite dev server for hot module replacement; in production it reads manifest.json and emits the correct versioned paths.
How can I help you explore Laravel packages today?