I am a
web developer |

Blog

Building an API - Part 2

Latest Post Published: 7 years ago web dev

It's the second and final part of how to build a simple API in PHP. To recap, part 1 covered setting up the basics and using the Symfony Routing component while the additional part 1.5 covered using the Symfony dotenv component to store our API's config.

Ansible error on new machine: "Package 'python-apt' has no installation candidate"

Published: 7 years ago web dev

I ran into this error on a brand new Digital Ocean machine recently. It's one of those things you end up really confused about but the solution is simple.

Ansible provisioning

Published: 7 years ago web dev

Ansible is a great, simple to use tool for managing servers. Here's my provisioning script that can be used across Debian dedicated and virtual servers. It does a lot of the standard things like setting up the firewall, creating a non-root user and copying across SSH keys.

Contact me

Questions, comments, suggestions? Get in touch!