In this little series I try to setup a nice and clean deployment workflow for the PHP CMS Statamic. Every config change is stored in.yaml-files and can be version-tracked in git, no database by default (Although a database can be added later).

Setup Statamic with DDEV and Composer

# Install latest statamic via composer ddev composer create statamic/statamic # Generate config, set APP_URL & generate key ddev exec "cp.env.example.env" ddev exec 'sed -i "/APP_URL=/c APP_URL=$DDEV_PRIMARY_URL".env' ddev artisan key:generate
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners