osteel's blog Web development resources

How to use Docker for local web development: an update

A year or so ago I published a post titled From Vagrant to Docker: How to use Docker for local web development, which got quite some traction at the time and continues to get comments on a regular basis, even today. Thing is, Docker (and its ecosystem) is a fast-paced project that gets updated very often, and things changed quite a bit since that article was first published.

Contracting in the UK: a tax breakdown

When I started contracting about a year and a half ago, I absolutely didn't want to have to deal with anything accounting-related. Which is fine really, as getting an accountant is highly recommended anyway - for various good reasons - and there is a plethora of companies on the market that do just that.

How to enable NFS on Laravel Homestead

I currently work on a Laravel project composed of multiple microservices that I run locally using Homestead (box v0.4.0 at the time of writing). As I started tinkering around I noticed that requesting the different APIs was super slow, up to 20s per request, which was really unexpected (and annoying to say the least).

From Vagrant to Docker: How to use Docker for local web development

If you are somewhat following what's happening in the tech world, you must have heard of Docker.

How to use the fork of a repository with Composer

When using packages maintained by other developers, you often find yourself waiting for a fix, an update or the merge of a PR that will come with the next release but you need it now. A workaround is to fork the corresponding repository (which you may have done already if you are the author of the PR), make the updates you need and then use your fork in your project instead of the original package.

Handling CORS with Nginx

With the always wider adoption of API-driven architecture, chances are you already had to deal with cross-origin resource sharing at some point.

Database management with Adminer (and how to install on Homestead)

For quite some time now I have been prefering accessing databases from the CLI, but sometimes it can feel overkill when wanting to quickly check or update something, say.

Laravel Homestead: debug an API with Xdebug and cURL in Sublime Text

There are a few tutorials out there about how to set up Sublime Text and Xdebug so they play nice together. The good news is that in our case, Homestead has covered the configuration of Xdebug for us: the tool is already available and reporting for duty.

Extending Homestead: how to customize Laravel's Virtual Machine (the example of Apache)

Homestead offers a nice pre-packaged environment. But as a project grows in complexity, there will be a time where extra packages will be necessary. How to install them properly, and not to lose everything any time we need to recreate the box? How does one extend Homestead?

How to start a new Laravel 5 project with Homestead - quick reference

I wrote this short get-started guide mainly for my own use, to have a reference handy to quickly set up a new Laravel project with a MySQL database. But as I felt the need to write it, one might find some interest in it as well.