frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Modern PHP development with Vite, it's ecosystem and PHP components

https://github.com/nititech/modern-php-vite-starter
4•donnikitos•3mo ago
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-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

Comments

teunlao•3mo ago
This looks promising for vanilla PHP projects

Two questions:

How does this differ from Laravel's Vite plugin? I'm curious if there are specific advantages for non-framework PHP apps, or if the component system offers something unique.

When a PHP component changes, does it trigger a full page reload or partial re-render of just that component?

donnikitos•3mo ago
Laravel’s plugin is tightly coupled to Laravel’s build system (Blade, mix manifest, etc.). vite-plugin-php is framework-agnostic — it works with plain PHP or any other custom setup. In comparison: you do not need custom instructions to load assets, supported by Vite or it's plugins. It basically brings the normal Vite dev experience (HMR, asset resolution) to PHP projects.

The PHP-component system is a simpler way to work with partials and without an additional templating language liek Blade — think of it like JSX, but for PHP. You use JSX like syntax, then it compiles down to normal PHP calls.

Ask HN: Is the coco 3 the best 8 bit computer ever made?

1•amichail•41s ago•0 comments

Show HN: Convert your articles into videos in one click

https://vidinie.com/
1•kositheastro•3m ago•0 comments

Red Queen's Race

https://en.wikipedia.org/wiki/Red_Queen%27s_race
2•rzk•3m ago•0 comments

The Anthropic Hive Mind

https://steve-yegge.medium.com/the-anthropic-hive-mind-d01f768f3d7b
2•gozzoo•6m ago•0 comments

A Horrible Conclusion

https://addisoncrump.info/research/a-horrible-conclusion/
1•todsacerdoti•6m ago•0 comments

I spent $10k to automate my research at OpenAI with Codex

https://twitter.com/KarelDoostrlnck/status/2019477361557926281
2•tosh•7m ago•0 comments

From Zero to Hero: A Spring Boot Deep Dive

https://jcob-sikorski.github.io/me/
1•jjcob_sikorski•7m ago•0 comments

Show HN: Solving NP-Complete Structures via Information Noise Subtraction (P=NP)

https://zenodo.org/records/18395618
1•alemonti06•12m ago•1 comments

Cook New Emojis

https://emoji.supply/kitchen/
1•vasanthv•15m ago•0 comments

Show HN: LoKey Typer – A calm typing practice app with ambient soundscapes

https://mcp-tool-shop-org.github.io/LoKey-Typer/
1•mikeyfrilot•18m ago•0 comments

Long-Sought Proof Tames Some of Math's Unruliest Equations

https://www.quantamagazine.org/long-sought-proof-tames-some-of-maths-unruliest-equations-20260206/
1•asplake•19m ago•0 comments

Hacking the last Z80 computer – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/FEHLHY-hacking_the_last_z80_computer_ever_made/
1•michalpleban•19m ago•0 comments

Browser-use for Node.js v0.2.0: TS AI browser automation parity with PY v0.5.11

https://github.com/webllm/browser-use
1•unadlib•20m ago•0 comments

Michael Pollan Says Humanity Is About to Undergo a Revolutionary Change

https://www.nytimes.com/2026/02/07/magazine/michael-pollan-interview.html
1•mitchbob•20m ago•1 comments

Software Engineering Is Back

https://blog.alaindichiappari.dev/p/software-engineering-is-back
2•alainrk•21m ago•0 comments

Storyship: Turn Screen Recordings into Professional Demos

https://storyship.app/
1•JohnsonZou6523•22m ago•0 comments

Reputation Scores for GitHub Accounts

https://shkspr.mobi/blog/2026/02/reputation-scores-for-github-accounts/
2•edent•25m ago•0 comments

A BSOD for All Seasons – Send Bad News via a Kernel Panic

https://bsod-fas.pages.dev/
1•keepamovin•29m ago•0 comments

Show HN: I got tired of copy-pasting between Claude windows, so I built Orcha

https://orcha.nl
1•buildingwdavid•29m ago•0 comments

Omarchy First Impressions

https://brianlovin.com/writing/omarchy-first-impressions-CEEstJk
2•tosh•34m ago•1 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
4•onurkanbkrc•35m ago•0 comments

Show HN: Versor – The "Unbending" Paradigm for Geometric Deep Learning

https://github.com/Concode0/Versor
1•concode0•35m ago•1 comments

Show HN: HypothesisHub – An open API where AI agents collaborate on medical res

https://medresearch-ai.org/hypotheses-hub/
1•panossk•39m ago•0 comments

Big Tech vs. OpenClaw

https://www.jakequist.com/thoughts/big-tech-vs-openclaw/
1•headalgorithm•41m ago•0 comments

Anofox Forecast

https://anofox.com/docs/forecast/
1•marklit•41m ago•0 comments

Ask HN: How do you figure out where data lives across 100 microservices?

1•doodledood•41m ago•0 comments

Motus: A Unified Latent Action World Model

https://arxiv.org/abs/2512.13030
2•mnming•42m ago•0 comments

Rotten Tomatoes Desperately Claims 'Impossible' Rating for 'Melania' Is Real

https://www.thedailybeast.com/obsessed/rotten-tomatoes-desperately-claims-impossible-rating-for-m...
4•juujian•43m ago•2 comments

The protein denitrosylase SCoR2 regulates lipogenesis and fat storage [pdf]

https://www.science.org/doi/10.1126/scisignal.adv0660
1•thunderbong•45m ago•0 comments

Los Alamos Primer

https://blog.szczepan.org/blog/los-alamos-primer/
1•alkyon•47m ago•0 comments