Shopper is a modern PHP application, built as a Laravel package, and has the same server requirements as — you guessed it.
Shopper has a few requirements you should be aware of before installing.
Make sure your server meets the following requirements.
- PHP >= 7.4+
- MySQL Server 5.7.8+ , Mariadb 10.3.2+ or PostgreSQL
- Json PHP Extension
We recommend using Digital Ocean to host most Shopper 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.
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.
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.