In this post, we will provide a quick and easy method to get HTML tag attribute value using php. We will present a simple example of how to get HTML tag attribute value in PHP. Get HTML Tag Attribute Value…
Category: Miscelleneous
How to Set and Get a new attribute in a Model in Laravel 9+
Laravel has unique way to set and get a new or custom attribute in a model. I will explain with help of an example. Accessors (Getters) and Mutators (Setters) in Laravel Mutators Mutators are used to transform model attributes. See…
How to fix WordPress “the website is undergoing scheduled maintenance…” error
While doing a plugin update on a WordPress website I accidentally clicked on a link on the update page and it took me away to another page. Consequently it disrupted the ongoing update process and it left the website in…
How to get Array Length in PHP
In this post, we will provide a quick and easy method to determine the length of a PHP array.We will present a simple example of how to calculate the length of an array in PHP. How to get Array Length…
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 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…
How to Check Laravel Version using CLI and File System
Laravel is one of the most popular and used frameworks written in PHP programming language. As a Laravel developer you sometimes need to check Laravel version. Especially, if you start working on an existing project coded in Laravel Framework. So…
Steps to Set up PasswordLess SSH Login on Ubuntu with Key Pair
In this tutorial I will explain how to set up passwordless SSH login on an Ubuntu server. There are basically two ways of authenticating user login with OpenSSH server: password authentication and public key authentication. The latter is also known as passwordless SSH…
Laravel Carbon Get Yesterday Date Example
In this post I will show you an example of laravel carbon get yesterday date. With help of Carbon library in Laravel we can get yesterday date in desired format. With the help of this example one can easily get…
How to Change Default iOS Simulator Device to run a React Native app
When testing a react native mobile application one would want to view and debug application in different screen sizes and devices. It is essential to test your application for rendering, look and feel, performance and responsiveness. For this developers use…