Full stack (PHP/JS) & DevOps
Getting Started With Docker
One of the most important things while working in a team is making sure that everyone runs the same stack, but also making sure it’s as close to production as possible. Developing with Laravel is great and gives you a few options out of the box (Homestead & Valet), but there are other tools you can use. Valet just configures nginx to run on your machine and provides an easy CLI to manage the sites you’re developing on.
Using Xdebug with docker and PhpStorm
Over the last two weeks i have been working on a tricky bug, related to timezones and recurring bookings. After a while you get sick of making changes to your code, adding some dd()’s in there and re-running your request. Don’t get me wrong, dd() is useful, sometimes quicker to use too. But if you’re in a loop somewhere and want to find out what’s happening, it’s not really much help at all.