If you’re on Docker for Mac or Docker for Windows, you might see some noticeable slowness and time to the first byte (TTFB) depending on your application’s setup. One of the most important things you can do to improve performance is enabling the OPCache module. Let’s look at how we can configure OPcache is a way that is development-friendly, but also ready to go to production when the time comes!Read more…
Since the release of his book in January, Laravel News writer Paul Redmond, has been working on a Docker for PHP Developers video course, a hands-on, tutorial style book + videos on using Docker and PHP in development. Today, the Docker for PHP Developers video course is available for purchase!Read more…
Starting in Docker version 17.05 multi-stage builds are available to help you optimize Dockerfiles. Using multi-stage builds is a clean way to set up a Docker build pipeline that simplifies the requirements you need on your CI/build server to create a Docker image for your app. Come along with me and learn how to use multi-stage builds with Laravel and other PHP applications.Read more…
In Laravel, one of the tricky changes when switching from a virtual server to Docker is figuring out how to run a scheduler and a queue worker. I see this question come up quite a bit when PHP developers are trying to figure out how to use Laravel with Docker.
Should you run them on the host server? Should you run via cron in a Docker container?
There are a couple of ways I recommend running the scheduler command and Laravel queues in Docker, and we’re going to cover the b... Read more…
Vessel is a new package by Chris Fidao—the author of Server for Hackers and Shipping Docker—that makes working with Docker in your Laravel projects a breeze.Read more…
Chris Fidao put together a free mini-series on using Docker for Development with Laravel. The series is ten individual videos covering all the basics to get up and running. This includes how to use and build multiple containers, networking, and persisting data, as well as a development workflow. A full course will also be launched …
Andrew McLagan has a new tutorial on scaling horizontally with docker. Andrew goes through setting up a Docker container and a tool called Docker Compose, a tool enables us to start multiple Docker containers at once from a single configuration file, rather than starting each container individually.Read more…
LaraDock is a Laravel Homestead Docker project that aims to bring Homestead to Docker. LaraDock strives to make the development experience easier. It contains pre-packaged Docker Images that provides you a wonderful development environment without requiring you to install PHP, NGINX, MySQL, REDIS, and any other software on your local machine. Last week I covered …
For all the Docker fans, Derek Bourgeois has created laraedit-docker, a Dockerized version of Laravel Homestead. Installing the LaraEdit container is as simple as running a docker pull with laraedit/laraedit once you have docker installed. Here is a video Derek put together showing it in action: You can find more documentation on the GitHub repo.Read more…
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Laravel Developer
San Jose, CA - Must Be Local
- Experienced PHP Developer
Queensboro Shirt Company
- Senior Laravel developer
- Senior Laravel Engineer
Remote okay (must already live in USA)
- Senior Software Engineer (Remote - Contract)
- PHP Developer
Pittsburgh / Remote
Sequoia Waste Solutions
- Software Developer