Skip to main content
Skip to main content
🚧 Work in Progress

Laravel Minimal Production Environment

This recipe demonstrates how to effectively integrate Laravel applications with Zerops, providing a fully production-grade setup. It's built as a production environment with high-availability configuration and uses the Serious core package, ensuring enterprise-grade reliability and robust performance.

Deploy Production-Ready Laravel Recipe
Set up a production-ready Laravel environment with high-availability services and enterprise-grade reliability.

Environment Overview​

Your newly deployed Laravel environment includes:

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

For development environments with cost-efficient resource allocation, consider deploying the development environment recipe.

Application Configuration​

The app has been set up to utilize PostgreSQL service. Your application's deployment process is managed through zerops.yml, 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.