Composer-docker
Composer in Docker (by composer)
docker-php-nginx
Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux (by TrafeX)
Composer-docker | docker-php-nginx | |
---|---|---|
6 | 6 | |
252 | 1,308 | |
0.8% | - | |
7.1 | 6.5 | |
11 days ago | 2 months ago | |
Dockerfile | Dockerfile | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Composer-docker
Posts with mentions or reviews of Composer-docker.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-23.
-
Best practices for building a production-ready Dockerfile for PHP applications
The same principle applies to any other images you may depend on, such as composer for dependency installation. Select the image tag that matches the major composer version you're using on your machine — composer:2 instead of composer:latest.
-
What do Mac users here use for local development / testing? AMP software discussion
I've got a local version of PHP installed, but I really don't need it. Composer has an official docker container: https://hub.docker.com/_/composer/
-
Php package not detecting extension as installed on container
I found on the docs of the composer image, in the Troubleshooting section, that composer should not be used that way. So I put it inside the Php image with COPY --from=composer /usr/bin/composer /usr/bin/composer and it worked. Thanks for the help u/effata!
-
Unclear on how to use Docker to create local development environments.
I run most of the projects I develop on through a docker image. If it's a PHP project with composer dependencies, I use a composer image to install its dependencies, when I want to run it I use a php image. If the PHP image does not include the dependencies required for the project, I will look for an image within the project that is used, or build my own image serving the purpose. I like to make things easy to run and use, so that if I leave a project for a while I want it to be easy to get started again. If the project requires multiple things running, like a database, I setup docker-compose to make it easy to start a PHP container and database container alongside eachother that can communicate.
-
TIL: "composer updat" works
There is a hard coded case for this now in the project https://github.com/composer/docker/blob/master/1.10/docker-entrypoint.sh#L6
-
Create new laravel project via docker with one liner.
The /app directory is specified working directory, from composer image via https://github.com/composer/docker/blob/582c6f4e10b6b8fbf9bc1c5b02d6ec24694fe8d4/2.0/Dockerfile#L60.
docker-php-nginx
Posts with mentions or reviews of docker-php-nginx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-27.
- Laravel API + Nuxt SPA + Forge
-
PHP in docker together with VS-code
You can't compare that... your image is just another fpm/nginx combo ... plenty of these around
-
I am new to xampp and cannot seem to get my code to display on the browser. I am using a pc and I type in the URL localhost/xampp/htdocs/index.php and I get error 404, and other great things like the code below when I use phpstorm and click on the chrome icon. What do I need to do to make this work?
simple light weight
-
As of 2021, what are the best practices deploying a Apache/PHP/Postgres project with Docker?
It's a question of ressource allocation / scalability desires vs ease of deployment... php ships an apache image ready to go docker pull php:apache. Personally I would prefer using a php-fpm/nginx hybrid for performance ... something like this
-
[Request For Testing] Calibre / Ubooquity alternative
I have a dull day at work, so i'm going to play around with trying to get it running based on (this)[https://hub.docker.com/r/trafex/php-nginx] image.
-
Production-ready Laravel Docker Setup
I think I found a decent starting point: https://github.com/TrafeX/docker-php-nginx
What are some alternatives?
When comparing Composer-docker and docker-php-nginx you can also consider the following projects:
docker-php - Docker Images for PHP
nginx-rtmp-docker - Docker image with Nginx using the nginx-rtmp-module module for live multimedia (video) streaming.
zoneminder-base - An always up-to-date automatically building ZoneMinder container
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
lamp-docker - LAMP Stack on Docker with NODE/NPM for PHP development.
docker-fail2ban - Fail2ban Docker image
Composer - Dependency Manager for PHP
laravel-docker-production
laravel-vue-medialibrary
LibreNMS-docker - LibreNMS Docker image
Symfony - The Symfony PHP framework
CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Composer-docker vs docker-php
docker-php-nginx vs nginx-rtmp-docker
Composer-docker vs zoneminder-base
docker-php-nginx vs s6-overlay
Composer-docker vs lamp-docker
docker-php-nginx vs docker-fail2ban
Composer-docker vs Composer
docker-php-nginx vs laravel-docker-production
Composer-docker vs laravel-vue-medialibrary
docker-php-nginx vs LibreNMS-docker
Composer-docker vs Symfony
docker-php-nginx vs CapRover