A ready-to-use template for deploying Laravel 13 applications on Render.com (Free Plan compatible).
- PHP 8.3-FPM (Alpine): Lightweight Docker image.
- PostgreSQL: Production-ready database integration.
- Valkey/Redis: High-performance caching and queue management.
- Laravel Horizon: Real-time queue monitoring.
- Vite + Vue 3: Automated frontend builds.
- Single Container Design: Migrations, Horizon, and Server running in a single container for Free Plan efficiency.
- Use this template / Clone this repository.
- Create a new Web Service on Render from your repo.
- Render will automatically detect
render.yamland provision:- Web Service (Laravel App)
- PostgreSQL Instance
- Valkey (Redis) Instance
Ensure you set the following in Render Dashboard:
APP_KEY: Your application key (php artisan key:generate --show).APP_URL: Your Render service URL. (https://****.onrender.com)APP_ENV:production.
- Queues: Uses
QUEUE_CONNECTION=redis. - Worker: Horizon is launched in the background within the main container.
- Assets: Vite builds during the Docker build stage.
- Database: Automatic migrations on every deploy (
php artisan migrate --force).
Accessible at /horizon. Authentication is required via HorizonServiceProvider.php.