Laravel authenticated user ID in NGINX access log
Let’s add the authenticated user ID to the NGINX access log for easier debugging.
Laravel WebSockets on Forge with SSL
Learn how to run Laravel WebSockets for deployment to Laravel Forge with SSL.
How to store user id in the Laravel session table
Sometimes you want to store the user id with the session so you can purge all sessions or even a single session creating a more secure system for your users, or maybe you want to see how many times a user is logged in. There are many use cases but it’s not possible by default… so let’s implement this nifty feature :) Note: this is not needed in Laravel 5.
Bad Gateway (NGINX 502) when exporting database from phpMyAdmin on Plesk 11.5
I ran in to this problem on my production server and was finally able to find a solution… in a KB from Plesk =]
Multiple PHP versions for Plesk 11.5 and 12 (CentOS 6)
Update: Plesk 12 supports multiple PHP versions out of the box! This post will cover the install of multiple PHP versions on Plesk 11.5. This is tested on a TransIP CentOS 6.4 x64 VPS with stock repos + EPEL & REMI. This is written for CentOS but with a bit of imagination this can also work on any other linux OS supported by Plesk. Requirements Host running Plesk 11.
Project: HHS Rooster (HHS Schedule)
Update: This application is now useless since they switched systems (finally :), leaving it here for nostalgic reasons. The The Hague University of Applied Sciences uses a very basic and hard to use (in the mobile world we live in) scheduling system. They generate very basic html pages with the schedule in it, however no way to see it nicely on our mobile phone or let alone in our calendars.