This is your PN Scripts Shop project: a self-hosted CMS and e-commerce platform on Laravel, with a React storefront and a Filament admin panel.
The core comes from the Composer package pnscripts/pn-shop-core (in vendor/). This project holds what is yours: configuration, .env, your own code in app/, routes in routes/web.php, plugins in extensions/ and themes in themes/.
php artisan pnshop:install # or open the site in a browser: /installThe installer sets up the database, the store settings and the first administrator. The storefront comes prebuilt, so the server needs no Node.
composer update pnscripts/pn-shop-core --with-all-dependencies
php artisan pnshop:update # --dry-run first shows what will happen- Set
APP_URLto the shop's HTTPS address. Behind a load balancer or Cloudflare, also setTRUSTED_PROXIES. - Run the scheduler (
* * * * * php artisan schedule:run): it also sends the queued emails, so shared hosting needs nothing more. On a server, add a queue worker (php artisan queue:work) so emails go out at once.
PN Scripts Shop is MIT-licensed. Issues and contributions: pnscripts/pn-shop-source.