usePHP is a not-entirely-serious project to run PHP inside an SSR React page. It is a React hook that uses php-wasm to execute the PHP code that is interpolated inside the JSX, inserting the response into the returned HTML.
React hook for running PHP
usePHP is a not-entirely-serious project to run PHP inside an SSR React page. It is a React hook that uses php-wasm to execute the PHP code that is interpolated inside the JSX, inserting the response into the returned HTML.