/astro-in-php-example

Example PHP project running Astro inside with the Container API

Primary LanguageCSSGNU General Public License v3.0GPL-3.0

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.