Skip to content

Releases: donnikitos/vite-plugin-php

vite-plugin-php 3.0.0

Choose a tag to compare

@donnikitos donnikitos released this 11 Jul 00:12
b40b70d

vite-plugin-php v3.0 is now available!

This release rewrites the plugin pipeline to use Vite’s native load, transform, and transformIndexHtml hooks.
PHP entry files now move through the regular Vite lifecycle, making the plugin more compatible with the wider Vite ecosystem.

Highlights

  • Full integration with the native Vite plugin pipeline
  • Support for transformations before and after PHP processing
  • Faster development processing without unnecessary code escaping
  • PHP errors logged directly to the Vite console
  • Fixed environment variable replacement during development
  • Fixed PHP file inclusion during development
  • Improved asset injection for namespaced PHP files
  • Better shutdown and temporary-file cleanup

Breaking changes

Because PHP files can now be modified by other Vite plugins, existing custom plugin configurations may behave differently.
Please review your plugin order and transformation hooks when upgrading.

npm install vite-plugin-php@latest


Read the documentation and migration details: https://vite-php.nititech.de/

Feedback, issues, and contributions are welcome.

ViteJS / vite-plugin-php 2.0.0

Choose a tag to compare

@donnikitos donnikitos released this 20 Feb 10:28
a622f2a

Major release 2.0.0 of the Vite-PHP "glue" plugin

  • Error logging
  • Performance improvements
  • Bug fixes

Get Started: https://vite-php.nititech.de/get-started
Full Changelog: https://vite-php.nititech.de/changelog

ViteJS / vite-plugin-php

Choose a tag to compare

@donnikitos donnikitos released this 10 Sep 14:21

Usable release of the Vite-PHP "glue" plugin

  • Use Vite's speed and tooling to process PHP-files!
  • Multiple PHP entry points
  • Build in browser auto refresh when you change you PHP code

Install via NPM: https://www.npmjs.com/package/vite-plugin-php

Full Changelog: https://github.com/donnikitos/vite-plugin-php/commits/v1.0.0