G github.com Show HN: Modern PHP development with Vite, it's ecosystem and PHP components Over the past months, I’ve been working on somethings scary - bringing modern frontend tooling (Vite, HMR, modular builds) into traditional PHP projects.This resulted in (currently) three small open-source projects:- A NPM package for Vite: https://www.npmjs.com/package/vite-plugin-php- A Packagist package: https://packagist.org/packages/nititech/html-components- And an additonal NPM package to transpaile those components: https://www.npmjs.com/package/vite-plugin-php-componentsThe goal is to make PHP feel modern again: fast rebuilds, componentized UI, and zero JS lock-in.It’s early but already usable — feedback, ideas, and contributions welcome.Here is a starter repo to play around with: https://github.com/nititech/modern-php-vite-starter 4 points donnikitos 1 year ago 2 comments
This resulted in (currently) three small open-source projects:
- A NPM package for Vite: https://www.npmjs.com/package/vite-plugin-php
- A Packagist package: https://packagist.org/packages/nititech/html-components
- And an additonal NPM package to transpaile those components: https://www.npmjs.com/package/vite-plugin-php-components
The goal is to make PHP feel modern again: fast rebuilds, componentized UI, and zero JS lock-in.
It’s early but already usable — feedback, ideas, and contributions welcome.
Here is a starter repo to play around with: https://github.com/nititech/modern-php-vite-starter