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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners