Setup Mautic with lando & composer

Requirements

Install Mautic via composer

composer create-project mautic/core YOURPROJECTNAME ^3 --no-dev

Lando

Config

name: mautic
recipe: lamp
config:
webroot: .
php: '7.3'
database: mysql:5.7
tooling:
mt:
service: appserver
description: Run Mautic commands
cmd: bin/console
proxy:
mailhog:
- mail.mautic.lndo.site
services:
appserver:
type: php
build_as_root:
- docker-php-ext-install sockets
xdebug: true
config:
php: .lando/php/php.ini
database:
type: mysql:5.7
portforward: true
creds:
user: mautic
password: mautic
database: mautic
mailhog:
type: mailhog
portforward: true

Build containers

lando start

Let’s setup Mautic

Step 1

Step 2

Step 3

Login

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store