Zero-Cost Deployment: Deploying Your First Project to Laravel Cloud
Overview of Managed Laravel Hosting
Deploying a modern PHP application often requires juggling servers, SSL certificates, and database configurations.
Prerequisites

To follow this guide, you should have a basic understanding of
Key Libraries & Tools
- Laravel Cloud: The primary deployment platform for managed hosting.
- GitHub: Used for version control and repository syncing.
- Livewire: A full-stack framework for Laravel used in the starter kit to build dynamic interfaces.
- Valkey: An open-source high-performance data store used for caching.
- PostgreSQL/MySQL: Relational database options provided as managed resources.
Deployment Walkthrough
Setting up your environment involves connecting your source control and configuring your cluster.
Repository Connection
After signing up, connect your
Resource Configuration
Laravel Cloud automatically provisions an app cluster. For a cost-effective setup, choose the Flex One CPU tier. This tier is eligible for the free credit and supports hibernation.
# Conceptual configuration for a Flex cluster
cluster:
type: flex-one-cpu
hibernation: true
idle_timeout: 15m
When your application receives no traffic, it enters a sleep state. This pauses billing, allowing your $5 credit to last significantly longer than a traditional always-on VPS.
Syntax Notes: Domain Customization
While custom domains require a paid plan, you can modify your free subdomain. The platform uses a .l.cloud suffix.
# Change from default-id.l.cloud to:
my-awesome-app.l.cloud
Practical Examples
This workflow is ideal for shipping MVP (Minimum Viable Products) or side projects. You can attach a
Tips & Gotchas
- Enable Hibernation: Always verify that hibernation is active in your app cluster settings to preserve your credits.
- Monitor Credit Usage: Check the badge in the top right of the dashboard to see your remaining balance.
- Database Selection: Use PostgreSQLfor modern features orMySQLfor traditional compatibility; both work seamlessly with the platform's auto-configuration.

Fancy watching it?
Watch the full video and context