Install MarbleSend Community
MarbleSend Community is free and open source software, licensed under the GNU AGPL v3. It runs on ordinary PHP hosting or in Docker, and it needs no license key.
What you need
- PHP 8.2 or newer with the extensions
pdo_mysql,openssl,mbstring,json,curl,simplexmlandsodium. Thezipextension is needed to install updates from inside the application.intlis optional. - MariaDB 10.6 or newer, or MySQL 8.0 or newer, with an empty database and a user that has all privileges on it.
- A domain or subdomain whose document root is the
publicfolder, served over HTTPS. - A way to run
php worker.phpevery minute: a cron job, or a web-cron service that calls an address the application gives you. - An SMTP service for sending, or the optional relay add-on.
You do not need Composer, Node or a build step on the server.
Choose how to install
Docker. Use this to try MarbleSend on your own computer, or on a server where you run Docker. Download the repository or the zip package, open a terminal in that folder and run:
export MARBLESEND_DB_PASSWORD='a long random password'
docker compose up -d
This starts three containers: the application, a worker that runs every minute, and a MariaDB database. Open http://localhost:8080/migrate-web.php?setup=1. In the database step use host db, database marblesend, user marblesend and the password you chose. To use another port, set MARBLESEND_PORT before docker compose up -d. The port listens on this machine only (127.0.0.1), so the setup wizard is not reachable from the network before you finish it; put a reverse proxy with HTTPS in front of it, or set MARBLESEND_BIND=0.0.0.0 to open it to the network. The application files and the database live on named volumes, so updates installed from the Update page survive docker compose up -d --force-recreate.
To send real campaigns from a Docker installation, serve it on a public domain over HTTPS (for example behind a reverse proxy), and open the setup address on that domain. Links in your emails use the address the installation was set up with.
Zip package. Recommended for shared hosting.
- In your hosting panel, create the domain or subdomain first, with its document root set to a folder that ends in
public(for examplemsend/public). Some panels cannot change the document root later. - Download
marblesend-ce-<version>.zipfrom the latest release and upload it into the parent folder (msend/). - Extract it with the file manager, so that
public/becomes the document root andapp/,storage/andmigrations/sit next to it. - Open
https://your-domain/migrate-web.php?setup=1.
From the repository. Clone the repository onto your server, point the document root at public/, make sure the web server can write to storage/ and app/config/, and open https://your-domain/migrate-web.php?setup=1.
Keep ?setup=1 in the address. Without it the installer answers "Not found.".
The setup wizard
The wizard runs in your browser and checks each step on the server before you can continue.
- Language of the installer and the admin area.
- Server check. PHP version, extensions, writable folders, memory and disk space, explained in plain words. You cannot continue while an item shows Fix needed.
- License. Leave it empty and continue: MarbleSend Community needs no license. If you already bought a Pro license, you can enter its key here.
- Database. On most shared hosting the host is
localhost. Use the full database and user names, including any prefix your host adds. The connection is tested before you continue. - Administrator account: email, a password of at least 12 characters, and your timezone.
- Encryption key. It protects the SMTP, AI and webhook credentials you save later. Copy it or download it, keep it somewhere outside the server, and confirm. If it is lost, those credentials cannot be recovered.
- Security check. If
app/sits inside the document root, the installer tests that your private folders cannot be opened from the internet. It installs only when the result is Safe.
The wizard then creates the tables, writes app/config/config.php and shows the cron line for the next step. Copy it before you leave the page.
A Community installation does not contact MarbleSend during setup.
The background worker (cron)
Campaigns are sent by a worker that must run every minute.
- Cron job (recommended). In your hosting panel add a job that runs every minute, using the line the wizard shows (it is also in Settings, then System). It looks like
/path/to/php /path/to/your-folder/worker.php. The fileworker.phpis next topublic/, not inside it. - Web cron. If your host does not allow a job every minute, copy the web-cron address from Settings, then System, and let an external cron or uptime service call it every minute. Keep that address private. Use one method, not both.
- Docker already runs the worker in its own container.
Settings, then System, then Site Health shows whether the worker has run in the last five minutes.
Connect for updates from inside the application
Connecting to Cloud Add-ons is optional and free. In Settings, then License, choose Connect Cloud Add-ons (Free). Nothing is sent to MarbleSend before you press the button.
When you connect, the installation sends its address, and MarbleSend checks that you control that address. After that it confirms its free key about once a month and checks for new versions (you can turn that check off on the Changelog page). Connecting lets the Update page offer and install new versions, and lets you buy prepaid packs for relay sending and AI credits. Your contacts and campaigns stay on your server.
Without connecting, everything else keeps working: you send through your own SMTP service and update by downloading the newest package.
Updating
- Connected installations: open the Update page. The package is checked against the publisher's signature before anything changes, every replaced file is backed up first, and the previous version is put back if the update fails.
- Zip installations that are not connected: back up your files and database, replace the program files with the newest package, keep
app/config/config.phpandstorage/, and openhttps://your-domain/migrate-web.php?setup=1once so the database is brought up to date. - Repository installations: run
git pull, then open the setup address once.
Upgrading to Pro
Enter your Pro license key in Settings, then License, choose Activate & Upgrade to Pro, then install the Pro package from the Update page. Your settings, contacts, campaigns and templates stay as they are, and the configuration file is not changed. After the upgrade, update from the Update page, not with git pull.
Common problems
- "Not found." when you open the installer: add
?setup=1to the address. storage/orapp/config/not writable: set the folder permissions to755or775.- Missing PHP extension: turn it on in your panel's PHP settings. Hosts often ship
sodiumswitched off. - Database connection failed: use
localhostas the host on shared hosting, the full prefixed names, and check that the user is assigned to the database. - Private files could be opened from the internet: set the document root to
publicand run the installer again. On nginx this is the only protection, because.htaccessfiles are ignored. - The worker shows as inactive: check that the cron line uses PHP 8.2 or newer and points to the real path of
worker.php. - The Update page asks you to connect first: that is expected for a Community installation; see "Connect for updates" above, or update by download.
The full guide, DEPLOYMENT.md, is included in every package.
Download the latest release · Source code in the repository · See MarbleSend Pro