matthewp / astro-in-php-example

Example PHP project running Astro inside with the Container API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro inside of PHP

Install inside of the astro-project folder.

cd astro-project
npm install

Then build the Astro project.

npm run build

Now run the PHP server (from the root)

php -S localhost:8000

Credits

Template from Astroship, changed to be used in a PHP app instead.

About

Example PHP project running Astro inside with the Container API

License:GNU General Public License v3.0


Languages

Language:CSS 60.3%Language:PHP 36.1%Language:JavaScript 3.0%Language:Astro 0.2%Language:TypeScript 0.2%Language:Makefile 0.2%