Kubephp

screenshot of Kubephp
laravel

Production Grade, Rootless, and Optimized PHP Container Image Template for Cloud-Native Deployments and Kubernetes.

Overview

The Production Grade Image for PHP 7+ Applications is a pre-configured template image for PHP applications running Nginx + PHP FPM. It is designed to be compatible with popular PHP frameworks like Laravel 5+ and Symfony 4+ and their variants. The image is optimized for production and development use cases and utilizes multistage builds for minimal images. It also supports running in an orchestrated environment like Kubernetes.

Features

  • Designed to run in orchestrated environments like Kubernetes
  • Uses Alpine based images and multistage builds for minimal images (~130MB)
  • Multi-Container setup with Nginx & PHP-FPM communicating via TCP
  • Immutable and fully contained production images
  • Runs as non-root in both application containers
  • Configured for graceful shutdowns/restarts, zero downtime deployments, auto-healing, and auto-scaling
  • Easily extendable with extra configuration and scripts, such as post-build & pre-run scripts
  • Minimal startup time with almost instant request serving
  • Ability to run commands, consumers, and crons using the same image
  • Development image supports mounting code and hot-reloading and XDebug

Summary

The Production Grade Image for PHP 7+ Applications is a highly optimized and configurable template image for running PHP applications with Nginx and PHP FPM. It offers a range of features for production and development use cases, such as Kubernetes compatibility, minimal image size, multi-container setup, non-root application containers, and easy extensibility. By following the provided installation guide, developers can quickly integrate this template image into their projects and benefit from its efficiency and scalability.

laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.