Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With a PHP project, you have to make all the decisions yourself, which framework (Symfony, Laravel, etc.), how to structure things, whether you can use JSX-like syntax (you can’t, really), how to handle HTML escaping safely, and how to optimise images during build time. You can use Unpic in Laravel (The Unpic creator, also former Netlify employee is now on Astro team).

https://unpic.pics/

I'm aware there's a new PHP web framework that's somewhat similar to Astro, but I can't recall the name.

Astro gives you sensible defaults out of the box. It’s designed for modern web development, so things like partial hydration, automatic image optimisation, and using components from different frameworks just work.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: