Requirements

Shopper is a modern PHP application, built as a Laravel package, and has the same server requirements as — you guessed it — Laravel itself. To manipulate images (resize, crop, etc), you will also need the GD Library or ImageMagick.

Server Requirements

To run Laravel Shopper you'll need a server meeting the following requirements. These are all pretty standard in most modern hosting platforms.

PHP Version

  • PHP 8.1+

PHP Extension

  • BCMath PHP Extension
  • Ctype PHP Extension
  • Exif PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • GD Library or ImageMagick

Database Engine

  • MySQL 8.0+
  • MariaDB 10.2+
  • PostgreSQL 9.4+

We recommend using Digital Ocean to host most Laravel sites. Their servers are fast, inexpensive, and we use them ourselves. Full disclosure: that's an affiliate link but we wouldn't recommend them if it wasn't an excellent option.

Development Environments

All of these requirements are satisfied by the Laravel Homestead virtual machine, which makes it a great local Laravel development environment. Virtual machines aren't for everybody though, so here are a couple of other options.

MacOS: Laravel Valet

Laravel Valet is a development environment for Mac minimalists If you are on Linux you must use this version of Valet for Linux. No Vagrant, No Apache, No Nginx, No need to manually edit hosts file. It simply maps all the subdirectories in a “web” directory (such as ~/Sites) to .test or .localhost domains.

You can even share your sites publicly using local tunnels. We use it ourselves and it’s brilliant.

Windows: WAMP

Laragon and WAMP are both good choice for those of the Windows persuasion. You may also want to checkout Laravel Sail, which works well with Statamic.