RC Logr 20200606 203447
Saturday, 6 Jun, 2020
If you are doing any modern PHP dev on Mac, check out the Laravel ecosystem, especially «Laravel Valet». It makes things so easy, you get a myapp.test served locally. 🤩
- Install php and composer via brew.
- Edit your
.zshrc(or equivalent) to add php and
.composer/vendor/binto your system path.
cdinto your local PHP project.
valet link myappand
valet secure myapp.
- Access your app via
You can run Laravel Forge to connect, say, a Digital Ocean droplet to a git repo, so that when you push to master, Forge will just deploy to the server for you. So, do your dev locally via
valet in a feature branch, then merge to master and Boom!