How to install the management plugin, RabbitMQ

By default, RabbitMQ does not embed a web-based management console but offers it as an optional plugin. This management console makes it very easy to peek into a running RabbitMQ instance, so we definitely want to have […]

How to install and setup RabbitMQ on Ubuntu 16.04

In this post, I will show you how to install RabbitMQ on Ubuntu 16.04. We can install RabbitMQ easily using Ubuntu’s package manager, apt. The apt is package manager allows us to install most software pain-free from […]

How to delete file(s) in Laravel 5

Deleting files from the file system is very common task nowadays and it can be done in several ways. But here I am gonna show you deleting files in the Laravel way. We generally use PHP’s built-in unlink() function […]

Laravel 5.5 – How to log all Eloquent Queries

In this post, I will show you simple method to log each and every Eloquent Query of your application executes. We gonna log queries to the storage/logs/laravel.log file. To log database queries we gonna add a database […]

Laravel – Generate PDF file from view

We gonna use barryvdh/laravel-dompdf Laravel package to generate PDF files from view file. This package is just a wrapper around DOMPDF library. Installtion Use below composer command to install the package After installing […]

How to force download files in Laravel?

Giving download option to the user is a pretty common requirement in today’s web apps for the variety of reasons. For example, if your application is related to online shopping, you might need an invoice download […]

How to Create APIs in Laravel 5.5 using API resources

In this post, I will show how easy it is to use API resources to build REST APIs. In the previous Laravel REST API tutorial, I have used Fractal 3rd party library to control API response data. In Laravel 5.5, we now have […]

How to Deploy an Angular app in Production with Nginx

This tutorial I will show you Nginx installation and configuration steps to serve Angular application in production. I am gonna use Ubuntu 16.04 operating system. Install and Configure Nginx for Angular First update the […]

PHP Program to Check Prime Number

In this tutorial, you will learn what is a prime number and how to check whether the given number is a prime number or not using PHP. What is Prime Number? A prime number is a natural number which is exactly two positive […]

DMCA.com Protection Status