Prerequisites
Make sure you have the following installed before continuing:
| Tool | Install Guide | Verify |
|---|---|---|
| PHP 8.3+ | PHP installation guide | php --version |
| Composer | Composer installation guide | composer --version |
| MySQL or MariaDB | MariaDB installation guide | mysql --version |
| Git (Option A) | Git installation guide | git --version |
PHP needs a command-line memory_limit of at least 256M, set in php.ini. Check it with php -r 'echo ini_get("memory_limit");'. Point your web server's document root at web/.
1. Get the code
After purchase, you automatically get access to the Webhaven repository.
Option A - Git clone (recommended)
Clone the Webhaven project repository:
git clone https://github.com/webhaven-io/webhaven.git webhaven-demo
cd webhaven-demoOption B - Download ZIP
Download the latest release from your client dashboard page, unpack it, and navigate into the folder.
2. Install the dependencies
composer installThis also unpacks the recipes and prepares settings.php.
3. Install your site
Open the site in your browser and follow the steps, or install from the command line:
vendor/bin/drush site:install webhaven_cms \
--db-url=mysql://user:password@host/database \
--site-name="My site" --account-mail=you@example.comNext
Creating a theme, dev mode and translations work without DDEV too. See Webhaven commands.