The Blog

Writing about PHP, Laravel, software architecture, and everything I learn along the way.

search
Jun 06, 2025

How to install vito deploy in Digital Ocean

VitoDeploy or for short Vito is a self-hosted platform that automates server provisioning and application deployment for PHP projects like Laravel and WordPress, etc. It connects to your server remotely via SSH, installs necessary tools (e.g., Nginx, PHP, MySQL), and streamlines tasks like pulling code from repositories, managing environment variables, configuring web servers, and issuing SSL certificates. With a user-friendly interface, it supports multi-site deployments, automated backups, and performance monitoring, making it a convenient solution for managing servers and deploying applications efficiently.

May 15, 2025

How to Add a New Value to a PostgreSQL ENUM Column in Laravel

If you're using PostgreSQL with Laravel and have a table column defined as an ENUM, you may run into a common issue: PostgreSQL does not let you modify ENUMs like regular fields. Instead, you need to alter the underlying ENUM type directly — which can be confusing at first.

Here’s how to properly add a new value to a PostgreSQL ENUM column in a Laravel project.

Jan 27, 2025

How to Build a Real-time SMS Chat App with Laravel, Inertiajs, React, and Pusher

Real-time chat applications like WhatsApp and Discord have witnessed a remarkable surge in popularity in recent years, revolutionising communication with instantaneous messaging. However, while building your own SMS chat app with this functionality might seem daunting, it’s entirely achievable.

In this tutorial, you will learn how to build a real-time SMS chat application using Laravel, React.js, and Pusher. You'll use the Laravel framework to build the back end of the chat application, a combination of Blade templates and React.js to develop the user interface and layout of the application, and the Pusher platform for the real-time chat functionality.

Jan 25, 2025

How to Create an SMS Chat System Using PHP and Twilio to Integrate with VICIdial

In today's fast-paced business environment, having an efficient SMS chat system can enhance communication with customers and improve lead conversion. If you're using VICIdial, an open-source contact center solution, integrating an SMS chat system can help you engage with your clients more effectively. In this guide, we will walk you through the process of creating an SMS chat system using PHP and Twilio.