Development
Learn how to develop and contribute to Cachet.
Cachet is built using the Laravel PHP framework, and is a great way to get started with Laravel development. If you’re new to Laravel, you can learn more about it on the Laravel website.
Install Laravel Herd
We recommend installing Laravel Herd, a free local development environment for PHP Laravel. It’s a great way to get started with Laravel development and is the perfect environment for contributing to Cachet.
Herd will install PHP, Composer and NPM for you. You can manage each version through the Herd UI.
Clone Cachet's Core
The majority of development is done in the cachethq/core
repository.
You’ll need to clone this repository to your local machine.
We recommend cloning the repository into a directory named cachet-core
to keep things organized.
Install Dependencies
Once you’ve cloned the repository, you’ll need to install the dependencies.
Running Cachet
With dependencies installed, you can now run Cachet using SQLite.
Your local Cachet instance will now be accessible on 127.0.0.1:8000
. The terminal will include output for:
- Vite assets
- Laravel logs
- Laravel queue
You can stop the server at any time by pressing Ctrl + C.