pnscripts / pn-shop
PN Scripts Shop: an open-source Laravel CMS and e-commerce platform with a React/Inertia storefront.
Requires
- php: ^8.4
- laravel/framework: ^13.0
- laravel/tinker: ^3.0
- pnscripts/pn-shop-core: ^1.10
Requires (Dev)
- dedoc/scramble: ^0.13
- fakerphp/faker: ^1.23
- larastan/larastan: ^3.12
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/telescope: ^5.7
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- phpunit/phpunit: ^13.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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/.
Install
php artisan pnshop:install # or open the site in a browser: /install
The installer sets up the database, the store settings and the first administrator. The storefront comes prebuilt, so the server needs no Node.
Update
composer update pnscripts/pn-shop-core --with-all-dependencies
php artisan pnshop:update # --dry-run first shows what will happen
Go live
- 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.
Documentation
PN Scripts Shop is MIT-licensed. Issues and contributions: pnscripts/pn-shop-source.