The SitePoint PHP blog has a new tutorial posted today showing how to get eZ Publish 5.x to Work on Laravel Homestead, a virtual machine environment from the creators of the Laravel framework.
This article was initially going to be a quick tip on how to install eZ Publish on Homestead in just a few steps. However, after I saw how much effort it took to get it up and working from scratch on a Vagrant box hosted on Windows, I decided to make it into a full article. I suffered, so you don’t have to.
He starts with a bit of an aside about “Vagrant-friendly applications and encourages developers to try to adopt a Vagrant-first approach to getting their systems working across multiple environments. From there he gets into the main part of the tutorial, showing you how to:
- Install “Homestead Improved”
- Set up and configure a new site
- Install dependencies and the latest version of eZ Publish
- Fix a few issues on installation and “hack the guts” to make some things
- Change some configuration settings to make the install work correctly
- Go through the installer to set up the application (and database)
- Change the web server configuration to remove the need for “index.php”
Screenshots and commands/code needed to make the updates are all included in the post.