Requirements

Statamic is a modern PHP application built as a Laravel package, which carries with it the same server requirements as Laravel itself. To manipulate images (resize, crop, etc), you will also need the GD Library or ImageMagick installed on your server.

Server Requirements

To run Statamic you'll need a server meeting the following requirements. These are standard defaults (at minimum) for most modern hosting platforms.

  • PHP >= 7.4.x (8.0+ recommended)
  • 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
  • Composer

We recommend using Digital Ocean to host most small to medium Statamic 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.

We also maintain a user-contributed Github repo full of other host recommendations.

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. 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 or the Valet for Windows port.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →