You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+81-33Lines changed: 81 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,18 @@
11
11
</p>
12
12
13
13
## Introduction
14
-
`serversideup/php` is an optimized set of Docker Images for running PHP applications in production. Everything is designed around improving the developer experience with PHP and Docker. Gone are the days of configuring each environment differently, and gone are the days of trying to figure out why your code works in one environment and not the other.
14
+
Production-ready PHP Docker images built on official PHP. Optimized for Laravel, WordPress, and modern PHP applications.
15
15
16
-
These images are highly optimized to run modern PHP applications, no matter where you want your application to run.
16
+
### What Makes These Images Different?
17
17
18
-
Experience the ***true difference*** of using these images vs the other options out there.
18
+
**serversideup/php** takes the official PHP Docker images and adds everything you need for real-world production use:
19
19
20
-
[Read more about the key differences with these images →](https://serversideup.net/open-source/docker-php/docs/getting-started/these-images-vs-others)
20
+
- ✅ **Secure by Default** - Runs as unprivileged user, not root
@@ -27,31 +32,75 @@ Experience the ***true difference*** of using these images vs the other options
27
32
|<picture><imgwidth="100%"alt="Production-Ready"src="https://serversideup.net/wp-content/uploads/2023/08/production-ready.png"></picture>|<picture><imgwidth="100%"alt="Native Health Checks"src="https://serversideup.net/wp-content/uploads/2023/08/native-health-checks.png"></picture>|<picture><imgwidth="100%"alt="High Performance"src="https://serversideup.net/wp-content/uploads/2023/11/high-performance.png"></picture>|
28
33
|:---:|:---:|:---:|
29
34
|<picture><imgwidth="100%"alt="Customizable and Flexible"src="https://serversideup.net/wp-content/uploads/2023/08/customizable-flexible.png"></picture>|<picture><imgwidth="100%"alt="Native CloudFlare Support"src="https://serversideup.net/wp-content/uploads/2023/11/cloudflare.png"></picture>|<picture><imgwidth="100%"alt="Base on Official PHP"src="https://serversideup.net/wp-content/uploads/2023/11/official-php.png"></picture>|
Are you looking for help on integreating Docker with your PHP application? We have multiple options to help your team out:
39
+
## Getting Started
36
40
37
-
-[Get Managed Hosting](https://serversideup.net/hire-us/): CI/CD design and engineering, managed hosting, guaranteed uptime, any host, any server.
38
-
-[Get Professional Help](https://schedule.serversideup.net/team/serversideup/quick-chat-with-jay): Get video + screen-sharing help directly from the core contributors.
39
-
-[Get a Full-Stack Development Team](https://serversideup.net/hire-us/): We can build your app from the ground up, or help you with your existing codebase.
41
+
### Try it in 2 minutes ⚡
40
42
41
-
## Usage
42
-
This repository creates a number of Docker image variations, allowing you to choose exactly what you need.
43
+
Want to see how easy it is? Our installation guide walks you through creating your first PHP app with Docker:
44
+
45
+
1. ✅ Run `phpinfo()` in your browser
46
+
2. ✅ Upgrade PHP versions by changing one line
47
+
3. ✅ Switch between variations (FPM, FrankenPHP, etc.)
48
+
4. ✅ See environment variables in action
49
+
50
+
**[👉 Follow the quick start guide](https://serversideup.net/open-source/docker-php/docs/getting-started/installation)**
51
+
52
+
### Quick Example
53
+
54
+
Here's what a complete Laravel setup with NGINX + PHP 8.4 looks like:
|**fpm**| Custom web server setup |`serversideup/php:8.4-fpm`|
94
+
95
+
### Supported PHP Versions & Platforms
96
+
53
97
> [!NOTE]
54
-
> All our images are available on [**Docker Hub**](https://hub.docker.com/r/serversideup/php/) and [**GitHub Packages**](https://github.com/serversideup/docker-php/pkgs/container/php). 🥳
98
+
> All images are available on [**Docker Hub**](https://hub.docker.com/r/serversideup/php/) and [**GitHub Packages**](https://github.com/serversideup/docker-php/pkgs/container/php).
99
+
100
+
We support **PHP 7.4 through 8.4** with both **Debian** and **Alpine** base images.
101
+
102
+
[Learn More About Choosing an Image →](https://serversideup.net/open-source/docker-php/docs/getting-started/choosing-an-image)
| unit (deprecated) | ⚠️ NGINX is no longer maintaining NGINX Unit. It will eventually be removed from this project. [Learn more →](https://serversideup.net/open-source/docker-php/docs/image-variations/unit)|
64
113
114
+
## Professional Support
115
+
Need help integrating Docker with your PHP application?
This project takes an incredible amount of computing power to build and maintain over 8,000 different docker image tags. We're extremely grateful for the following sponsors who help bring the power to ship more PHP.
152
+
#### Infrastructure Sponsors
153
+
This project requires significant computing power to build and maintain over 8,000 different Docker image tags. We're extremely grateful for the following sponsors:
We'd like to specifically thank a few folks for taking the time for being a sound board that deeply influenced the direction of this project.
106
-
107
-
Please check out their work:
108
-
-[Chris Fidao](https://x.com/fideloper)
109
-
-[Joel Clermont](https://x.com/jclermont)
110
-
-[Patricio](https://x.com/PatricioOnCode)
111
-
112
160
## About Us
113
-
We're [Dan](https://x.com/danpastori) and [Jay](https://x.com/jaydrogers) - a twoperson team with a passion for open source products. We created [Server Side Up](https://serversideup.net) to help share what we learn.
161
+
We're [Dan](https://x.com/danpastori) and [Jay](https://x.com/jaydrogers) - a two-person team with a passion for open source products. We created [Server Side Up](https://serversideup.net) to help share what we learn.
114
162
115
163
<divalign="center">
116
164
@@ -130,7 +178,7 @@ We're [Dan](https://x.com/danpastori) and [Jay](https://x.com/jaydrogers) - a tw
130
178
***🐥 [Twitter](https://x.com/serversideup)** - You can also follow [Dan](https://x.com/danpastori) and [Jay](https://x.com/jaydrogers).
131
179
***❤️ [Sponsor Us](https://github.com/sponsors/serversideup)** - Please consider sponsoring us so we can create more helpful resources.
132
180
133
-
## Our products
181
+
## Our Products
134
182
If you appreciate this project, be sure to check out our other projects.
135
183
136
184
### 📚 Books
@@ -144,4 +192,4 @@ If you appreciate this project, be sure to check out our other projects.
144
192
### 🌍 Open Source
145
193
-**[AmplitudeJS](https://521dimensions.com/open-source/amplitudejs)**: Open-source HTML5 & JavaScript Web Audio Library.
146
194
-**[Spin](https://serversideup.net/open-source/spin/)**: Laravel Sail alternative for running Docker from development → production.
147
-
-**[Financial Freedom](https://github.com/serversideup/financial-freedom)**: Open source alternative to Mint, YNAB, & Monarch Money.
195
+
-**[Financial Freedom](https://github.com/serversideup/financial-freedom)**: Open source alternative to Mint, YNAB, & Monarch Money.
0 commit comments