Prerequisites
Before starting, make sure you have these installed:Option 1: Local Setup (without Docker)
1. Clone the repository
2. Install PHP dependencies
packages/:
3. Configure your environment
.env with your PostgreSQL credentials:
4. Create the database
5. Run migrations and seed
database/migrations/ and ~60 from packages) and seeds default data including payment methods and pricing plans.
6. Generate JWT secret
7. Start the development server
http://localhost:8000.
8. Start the queue worker (optional)
9. Start Reverb WebSocket server (optional)
Option 2: Docker Setup
1. Clone and configure
.env for Docker:
2. Start all services
3. Run migrations inside the container
Useful Makefile commands
Verify your installation
Test with a login request:access_token.
Troubleshooting
Next steps
- Read the Project Structure to understand the codebase layout
- Follow the First API Call tutorial for a complete walkthrough
- Check the Configuration guide for all environment variables