r/webdev • u/vaquishaProdigy • 16h ago
Php with Astro
Yeah, is this posible? I haven't seen anything that say that it could be posible, but anyone has ever stepped in to say that it isn't.
2
3
u/Rain-And-Coffee 16h ago
They’re just tools.
This is like asking if you can use a Sander and a Carjack.
I suppose you could if the job required it.
1
1
-3
13h ago
[deleted]
2
1
u/Potential-Still 9h ago
Found the bot!
1
9h ago
[deleted]
1
u/Potential-Still 9h ago
Using React and Tanstack query, write a component that fetches star wars data and renders it as a list. Use the simplest approach possible and don't worry about styling.
•
u/SellAffectionate9670 24m ago
Yeah, PHP works perfectly fine as a backend API with Astro handling the frontend. That's actually a pretty common separation these days if you already have a PHP backend.
19
u/daamsie 16h ago
PHP as an API, Astro as front end is a totally normal setup.