Block route by IP address in Laravel

- - Laravel

In Laravel, using middleware, you can block access to a specific route by IP address. Middleware allows you to filter HTTP requests entering your application. Here’s how you can do it step by step: Step 1: Create a Middleware Run the following Artisan command to create a new middleware: php...

Laravel Installation Guide for AlmaLinux

- - Laravel

Step-by-Step Guide to Install Laravel, PHP, Apache, and MySQL on AlmaLinux Step 1: Update System Packages Update your system packages: sudo dnf update -y Step 2: Install PHP Enable the EPEL and Remi repositories: sudo dnf install epel-release -y sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm -y Enable the Remi PHP 8.x repository:...

Introduction to Laravel

- - Laravel

Laravel is a popular open-source PHP web framework designed for building modern, robust, and scalable web applications. It follows the Model-View-Controller (MVC) architectural pattern, which separates the application logic, user interface, and data layers. Laravel is known for its elegant syntax, developer-friendly features, and extensive ecosystem, making it a top...

iFrame with Responsive Content Loading

- - Kode

So your still using iframes….what a drag.Anyhow, lets look at overcoming a few of its quirks. First off wouldn’t it be awesome if native iframes would snap to the size of whatever is inside? Yep, I think so too so lets build an iFrame with Responsive Content Loading. This means...

How to create a simple Search Bar

- - Kode

#How to create a simple Search Bar Many websites and apps require search bars and in this tutorial I’ll show you how to make one in under 5 minutes. First, lets create an index.html and css/styles.css files and directory. A search icon download is provided for this tutorial, place the...

Creating a Name Generator using PHP and MySql

- - Kode

Hi Koders! The first thing I would like to begin with is what are Php and MySQL? PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. MySQL is a relational database management system based on SQL – Structured Query...

Full screen Image Background

- - Design, Kode

Recently, one of clients wanted to create a splash screen effect using a Full screen Image Background. Needless to say this can be pretty simple using a bit of JavaScript/jQuery along with some CSS. Full screen image backgrounds have become quite useful for creating elegance on websites as well as...