Deployment of Laravel app on DigitalOcean / Ubuntu server

In this tutorial, we’ll learn how to deploy Laravel 8 app on DigitalOcean droplet. This tutorial assumes that you have already set up the droplet server using Ubuntu 18.04 LTS (any other Ubuntu version should do just fine) and installed MySQL, Nginx, PHP7.4 (Laravel 8 requires PHP 7.3+ version) along with Composer. And you’ve ssh’d … Read more

Laravel development environment on MX Linux from repositories

In this article we’ll setup Laravel 8 development environment onto MX Linux box. Since MX Linux is based on Debian, the instructions herein, though untested, may still be valid for any Debian based Linux. Unlike previous article where we used Bitnami Lamp bundled software, here we’ll use repositories to individually install all the components required … Read more

Laravel 8 development setup in MX Linux

In this article we’ll setup Laravel development environment in MX Linux. But why MX Linux? The simple answer is: ‘It works’. If you happen to visit distrowatch.org then you’ll get yet another reason: ‘It tops’ the good ole chart. Believe me I’ve tested and used dozens of Linux distros but MX Linux really shines as … Read more

Using Vue-Multiselect in Laravel 8 Inertia.js app

(Note: This article has been updated with Breeze starter kit in place of Jetstream.) In this tutorial we’ll use vue-multiselect (suadelabs/vue3-multiselect) package to insert searchable select field in a Laravel 8 app using VILT (Vue.js, Inertia.js, Lavarel, Tailwind) stack. Assuming that the composer is installed, enter the following command to create new Laravel 8 project: … Read more

Using template in PHPWord

In this tutorial we’ll use template capability of PHPWord library. Sometimes you just want to generate a document by changing few fields in it. In this case, using template is suitable than generating whole document programmatically. Let’s build a Laravel 8 app which outputs docx file using template. You can start by creating a fresh … Read more

Comprehensive tutorial on PHPSpreadsheet

In this tutorial we’ll look into using PhpSpreadsheet library, a pure php library to read and write spreadsheets including MS Excel. You can start by creating a fresh laravel 8 app by entering following command: Now install phpspreadsheet by executing the following command inside project directory: Next, setup database and Laravel environment file as usual. … Read more

Simple search in Laravel 8 Vue.js (VILT) app

(Note: This article has been updated with Breeze starter kit in place of Jetstream.) In this tutorial we’ll create simple search capability in a Laravel 8 app using VILT (Vue.js, Inertia.js, Lavarel, Tailwind) stack. Assuming that the composer is installed, enter the following command to create new Laravel 8 project: Now go inside the newly … Read more