Skip to main content
Skip to main content

Laravel Minimal Development Environment

This recipe demonstrates how to effectively integrate Laravel applications with Zerops, providing a fully production-capable setup. While it's built for professional deployment, we call it a development environment due to its streamlined resource allocation and use of the Lightweight core package, optimizing costs without compromising functionality.

Deploy Laravel Minimal Development Stack
Set up a streamlined Laravel environment with development-optimized resources and configurations.

Environment Overview

Your newly deployed Laravel environment includes:

  • A fully configured Laravel application service
  • PostgreSQL database integration with migration automation
  • Automated build and deployment pipeline
  • Health and readiness checks
Note

For production environments with high-availability services and enterprise-grade reliability, consider deploying the production environment recipe.

Application Configuration

The app has been set up to utilize PostgreSQL service. Your application's deployment process is managed through zerops.yaml, which handles:

  • Database migrations
  • Cache management
  • File cleanup
  • Health check implementation
  • Service orchestration

Try the build & deploy pipeline in 30 seconds

While Zerops supports various CI/CD workflows (CLI, GitHub Actions, built-in CI/CD), let's start with the simplest path to get you familiar with the core concepts:

  1. Create your own repository from our GitHub template and clone it locally
  2. Navigate to Pipelines & CI/CD settings and connect the service with your new GitHub repository, setting the trigger to Push to Branch

Test Your Pipeline

  • Make a small change directly in the GitHub UI
  • Commit the change and watch the magic happen in project detail

Integration with Existing Applications

If you're looking to integrate an existing Laravel application with Zerops, review the changes made over the default installation to understand the necessary modifications.

Get to know Zerops core concepts in depth

Ready to build from scratch? Our step-by-step Laravel tutorial takes you through the entire process of integrating Zerops with a new Laravel project.

Need help? Join our Discord community.