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, 8.3 or 8.4
- Composer
- SQLite, MySQL, MariaDB 10.7+, PostgreSQL, or SQL Server
Installing Cachet
If you are looking to migrate from Cachet v2.x, please refer to the migration guide.
Step 1
Clone the Cachet repository:git clone -b 3.x https://github.com/cachethq/cachet.git
cd cachet
Step 2
Install the dependencies:composer install --no-dev -o
Step 3
Update the cachethq/core dependency:composer update cachethq/core
This is a temporary step until Cachet v3.x is released.
Step 4
Copy the .env.example file to .env: Step 5
Generate an application key: Step 6
Configure the .env file and set the values of your setup:DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=cachet
DB_USERNAME=root
DB_PASSWORD=
Step 7
Publish Cachet’s assets:php artisan vendor:publish --tag=cachet
Step 8
Run the database migrations: Step 9
Create the first user by following the prompts:php artisan cachet:make:user
Step 10
Enable the scheduler by adding the following cron entry:* * * * * php /path/to/cachet/artisan schedule:run >> /dev/null 2>&1