Cocoapod is a package dependency manager for Objective-C and Swift projects with XCode. In a expo bare development environment you may need to re-install Cocoapods or in short Pods occasionally. In this tutorial I will show you the proper way…
How to install LEMP stack on Ubuntu 22.04 LTS
Ubuntu is one the most popular Linux distributions. Ubuntu is a free and open-source software based on Debian. In this simple I will walk you through the whole process to install a LEMP stack (Linux, Ngnix, MySQL/Maridb & PHP) which…
How to use cURL in PHP, Working examples of cURL in PHP
What is cURL? cURL is a computer software project providing a code library (libcurl) and command-line tool (curl) for transferring data using various network protocols. Usually PHP comes loaded with libcurl library by default. Check if cURL is enabled in…
How to Find and Kill a Process Running on Specific Port
“A process in Linux is nothing but a program in execution. It’s a running instance of a program. Any command that you execute starts a process.” – DigitalOcean How to Kill a Process The Linux operating system considers every running…
How to check if a string is a valid JSON object in PHP
You receive a data in form of string and it is supposed to be a valid JSON. So how to know whether a string you have is a valid JSON object. Here in this post I will show it with…
How to validate exact words in an input value in Laravel?
Validate exact words: This post will show you how to validate a string by exact matching with a string. For example you have to validate a field for whether it has yes or no in an input. So the input…
How to copy files and folders between two servers via SCP
As an internet user you need to download and upload data in form of files everyday. Also, as an mobile and/or web app developer you must have used FTP (File Transfer Protocol) to transfer data from one machine to another…
How to Export and Download CSV file without Plugin in Laravel 8/9/10
In this article, we will see how to export and download CSV file in Laravel framework. Exporting CSV file is a common requirement in many applications. Most of the examples around there were based on Laravel extensions so using this…
How to Rename Github Repository URL Remotely and Locally
Sometimes you may need to rename your Github Repository URL for various reasons. We are not going to discuss those various reasons here of course, but in this simple tutorial I will show you how you can rename and update…
How to validate data in Laravel, A Form Request Validation example for Laravel 7/8/9/10
In this simple tutorial I will show you an example of how to perform form request validation using Laravel’s Validator Facade. What is FormRequest? FormRequest is Laravel’s default form request validation mechanism. FormRequest can be extedned to define your custom…