Laradock
docker-php-tutorial
Our great sponsors
Laradock | docker-php-tutorial | |
---|---|---|
28 | 5 | |
12,226 | 315 | |
0.5% | - | |
8.1 | 0.0 | |
5 days ago | 12 months ago | |
Dockerfile | PHP | |
MIT License | - |
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.
Laradock
-
Laravel Docker in Windows
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
-
Why is my directory list showing up on the web browser (localhost)?
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
It's vastly inferior to laradock and does less.
-
Yet another lemp tool
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?
-
Discussion on what dev environment people use and prefer
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
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
-
Laradock - ready to use PHP docker environment
git clone https://github.com/Laradock/laradock.git
docker-php-tutorial
-
Monthly 'Shameless Self Promotion' thread - 2023/05
I've started a series of tutorials on "Docker for PHP developers" some years ago and add new articles when I find the time. Each part "evolves" the codebase that I provide as a practical "working" example available at https://github.com/paslandau/docker-php-tutorial.
-
Discussion on what dev environment people use and prefer
Docker is imho the way to go. Only downside for me is the file system performance on Mac and Windows compared to Linux. I've documented "our" setup in https://www.pascallandau.com/blog/docker-from-scratch-for-php-applications-in-2022/ which is part of a multi-part tutorial on "all things docker" for PHP devs => https://github.com/paslandau/docker-php-tutorial
-
Use git-secret to store encrypted secrets in the repository
All code samples are publicly available in my Docker PHP Tutorial repository on github. You find the branch with the final result of this tutorial at part-6-git-secret-encrypt-repository-docker.
-
Running Laravel 9 on Docker - with Queues, Workers, Databases etc.
In the latest part of my tutorial series on Docker for PHP developers I'm showcasing a setup for running Laravel on Docker: https://www.pascallandau.com/blog/run-laravel-9-docker-in-2022/
-
Installed WebStation but not able to setup Virtual Hosts
Deep and straight compose setup: https://github.com/paslandau/docker-php-tutorial there is a related series of blog posts somewhere.
What are some alternatives?
sail - Docker files for running a basic Laravel application.
inframap - Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.
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.
vscode-runme - DevOps Workflows Built with Markdown for VS Code
lando - A development tool for all your projects that is fast, easy, powerful and liberating
berglas - A tool for managing secrets on Google Cloud
nginx-proxy - Automated nginx proxy for Docker containers using docker-gen
devops-cli - A Terminal/Web UI to interact with devops tools & services, intended for devops/platform engineers.
Laravel Homestead
v4-docker - Bootstrapped Chevereto Docker images
devilbox - A modern Docker LAMP stack and MEAN stack for local development
terracognita - Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration