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…
Laravel Carbon addMinutes() | Laravel Carbon Add Or Subtract Minutes and Hours Examples
Laravel has the Carbon dependency attached to it. So, in order to perform basic to complex date and time calculations you can use this dependency. In this tutorial we will see some examples of addMinute and addMinutes methods of Carbon class.…
How to build a basic Frontend Application using Laravel and Livewire
Laravel framework is primarily used to create backends and APIs. Traditionally, it can leverage PHP to build frontends using blade template system. However, in order to build more interactive web pages developer may prefer to use Javascript frameworks such as…
Auto Renew Let’s Encrypt Certificates using Certbot
Let’s encrypt SSL certificates are issued for 90 days by default. After 90 days, you need to renew your SSL certificate. You can renew your Let’s Encrypt SSL certificate before 30 days of expiration. Renewal can be done manually or…
How to compress and extract files using tar command in Linux – Basic Example
Here is a quick example of how to compress and extract a tar files in linux operating system. We can see what are the available options we have got of tar command by doing: man tar or tar –help We…
How to Publish ReactNative Expo Mobile App to Apple App Store and Google Play Store
In this tutorial, I will walk you through the entire process of publishing a ReactNative Expo Mobile App. In the tutorial, we will use Expo for building and publishing ReactNative App. Challenges in Publishing a ReactNative Expo Mobile App In…