Articles

Welcome to Jekyll!

An h1 header

Custom Laravel Database Connections

While working with the amazing package Tenancy which provides multi-tenancy support to Laravel, I ran into a problem with using Laravel Passport. The package works by setting up an individual database for each tenant that your application has. It makes this possible by overwriting the $connection property of Eloquent models.

Upgrade Laravel Forge to PHP 7.1

Laravel Forge is a lovely service for not having to worry about your server deployment process. It really saves me a lot of time. However, I wish that the creators would support upgrading PHP versions for existing servers.

Easy One Click Laravel Homestead Shortcut (Windows)

If you are like me and work a lot in Laravel Homestead on your Windows computer, would it not be lovely to be able to fire that virtual environment up with one button? I used to have to open my command prompt, change directory and then write vagrant up. What makes matters worse is that you have to wait for Vagrant to fire up.

Japanese Web Friendly Fonts

Japanese is a tricky language to make look good on a website due to the lack of support for Japanese fonts. Each operating system and or browser tends to use its own font.