Composer-docker VS Laradock

Compare Composer-docker vs Laradock and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Composer-docker Laradock
6 28
252 12,242
0.8% 0.3%
7.1 8.1
10 days ago 2 days 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.

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
    5 projects | dev.to | 23 Aug 2023
    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
    8 projects | /r/PHP | 27 Apr 2023
    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
    2 projects | /r/docker | 26 Jun 2022
    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.
    1 project | /r/learnprogramming | 20 May 2022
    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
    3 projects | /r/PHP | 13 May 2021
    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.
    1 project | dev.to | 19 Jan 2021
    The /app directory is specified working directory, from composer image via https://github.com/composer/docker/blob/582c6f4e10b6b8fbf9bc1c5b02d6ec24694fe8d4/2.0/Dockerfile#L60.

Laradock

Posts with mentions or reviews of Laradock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-27.
  • Laravel Docker in Windows
    1 project | /r/PinoyProgrammer | 30 Apr 2023
    Haven’t touched Laravel for years pero baka laradock might be good for your use case
  • What do Mac users here use for local development / testing? AMP software discussion
    8 projects | /r/PHP | 27 Apr 2023
  • Why is my directory list showing up on the web browser (localhost)?
    1 project | /r/PHPhelp | 22 Mar 2023
    This is a function of the apache configuration files. You should examine those and determine what the issue is, using the xampp gui which will let you edit the httpd.conf file, or whatever it is that xampp uses. xampp provides the default settings you need, so I highly doubt this is the issue, but there is a directive called DirectoryIndex that tells apache what files to search for when a url points to a directory. By default that is going to include index.php. So if that is not working, then there is possibly something else going on with the apache config. To figure this all out you really have to understand how the various possible configuration options work. I don't use xampp so I can't tell you with certainty what the defaults are, but directives like Directory, VirtualHost, DocumentRoot etc, can all be used and combined in different ways to create different outcomes. For example, whether or not an index even appears (in the absence of an index.php) is configurable, as is whether or not you can override settings in a .htaccess file. I'm guessing you might be running xampp under windows, and this is yet another reason why in the era of containers, it's just better to use virtualization or containerization rather than something like xampp. As it sounds like you are still in learning mode, it's not too late to turn your attention to something like docker with https://laradock.io/
  • Demet – Useful LAMP and LEMP Stack for Docker with PHP 8.2
    2 projects | /r/PHP | 12 Dec 2022
    It's vastly inferior to laradock and does less.
  • Yet another lemp tool
    2 projects | /r/PHP | 4 Nov 2022
    With https://laradock.io/ it should be no more than a couple of minutes. Yes, this is a development environment and not meant for production. But so is yours, just with a worse approach.
  • How do I dockerise this Laravel Application?
    1 project | /r/docker | 3 May 2022
  • Discussion on what dev environment people use and prefer
    3 projects | /r/PHP | 1 May 2022
    The prime example of what I'm referring to is: https://github.com/laradock/laradock
  • Using Docker to Containerize Laravel Apps for Development and Production
    8 projects | dev.to | 23 Mar 2022
    First, we will use Laravel Sail to run the application locally on our dev environment. There are unofficial Docker environments for Laravel like Laradock but Sail is the official docker dev environment for Laravel. Sail is is a wrapper on top of docker compose.
  • Weekly "ask anything" thread
    5 projects | /r/PHP | 24 Jan 2022
  • Laradock - ready to use PHP docker environment
    1 project | dev.to | 16 Jan 2022
    git clone https://github.com/Laradock/laradock.git

What are some alternatives?

When comparing Composer-docker and Laradock you can also consider the following projects:

docker-php - Docker Images for PHP

sail - Docker files for running a basic Laravel application.

zoneminder-base - An always up-to-date automatically building ZoneMinder container

laragon - Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.

lamp-docker - LAMP Stack on Docker with NODE/NPM for PHP development.

lando - A development tool for all your projects that is fast, easy, powerful and liberating

Composer - Dependency Manager for PHP

nginx-proxy - Automated nginx proxy for Docker containers using docker-gen

laravel-vue-medialibrary

Laravel Homestead

docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux

devilbox - A modern Docker LAMP stack and MEAN stack for local development