Installation & setup


Install Laravel Shopr via Composer:

composer require happypixels/laravel-shopr

The package will automatically register its service provider.

Publish and run the migrations:

php artisan vendor:publish --provider="Happypixels\Shopr\ShoprServiceProvider" --tag="migrations"
php artisan migrate


Publish and review the config file:

php artisan vendor:publish --provider="Happypixels\Shopr\ShoprServiceProvider" --tag="config"

In this file you can modify your preferred currency, tax, default templates, email triggers and so on.

You may publish the package views if you wish to modify them:

php artisan vendor:publish --provider="Happypixels\Shopr\ShoprServiceProvider" --tag="views"


Optionally you may publish the translation files to make them modifiable:

php artisan vendor:publish --provider="Happypixels\Shopr\ShoprServiceProvider" --tag="translations"