Cachet v3.x is currently in development and not yet released. The following instructions are intended for development purposes only and are subject to change.

Prerequisites

Cachet v3.x is written in PHP with Laravel 11.x and requires:

  • PHP 8.2 or 8.3
  • Composer
  • SQLite, MySQL, PostgreSQL, or SQL Server

Installing Cachet

1

Step 1

Clone the Cachet repository:

git clone -b 3.x [email protected]:cachethq/cachet.git
cd cachet
2

Step 2

Install the dependencies:

composer install --no-dev -o
3

Step 3

Copy the .env.example file to .env:

cp .env.example .env
4

Step 4

Generate an application key:

php artisan key:generate
5

Step 5

Configure the .env file and set the values of your setup:

.env
CACHET_PATH=/

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=cachet
DB_USERNAME=root
DB_PASSWORD=
6

Step 6

Publish Cachet’s assets:

php artisan vendor:publish --tag=cachet
7

Step 7

Run the database migrations:

php artisan migrate