Laravel Basic Tutorial

Create a master layout in Laravel using blade template inheritance

In laravel or most, the framework master page layout defines the common layout across all the web pages.  The blade templating engine or blade template inheritance defines the master layout that can be extended by all th...

Updated on ... 14th November 2022
Continue reading...

Laravel 9 Installation from basic and changing the welcome page

Laravel is a PHP web application open-source framework created by Taylor Otwell in 2011 and it follows the Model-View-Controller (MVC) architecture like all other modern frameworks, If you are thinking of building a PHP-based we...

Updated on ... 07th February 2023
Continue reading...

How to check Laravel version of our application

Sometimes we require to know the exact version of our Laravel application. well, there are multiple ways how to check the laravel version and you can use the one that fits your needs in a different situation.Check Laravel Version ...

Updated on ... 20th February 2023
Continue reading...

Insert Data In Database Using Seeder and Model In Laravel 9

There are many different perspectives to insert data in the Database using Seeder and Model in Laravel 8, 9. The following code example discusses the various solutions. My main focus will be inserting data in the Database using Se...

Updated on ... 14th April 2023
Continue reading...

Drag Drop to Change Post or Menu order in laravel

In this tutorial, you will learn how to implement a drag and drop functionality in Laravel to enable users to reorder posts or menus by simply dragging and dropping them....

Updated on ... 22nd August 2023
Continue reading...

How to up or down Laravel Application Maintenance Mode and How it Works

In this tutorial, we will focus on how the Laravel application maintenance mode works. Sometimes when we build Laravel applications, we aim to make our website/software uptime on a higher percentage, but from time to time we face...

Updated on ... 23rd October 2023
Continue reading...

Eloquent model Accessors and Mutators in Laravel

Accessors and Mutators In Laravel are Eloquent model features that allow us to manipulate attribute values when fetching data from the database or updating fields in the database. we can set them on Eloquent model instances....

Updated on ... 11th December 2023
Continue reading...

How to Restrict/Block User Access from IP Address in Laravel

In this tutorial, I will implement a functionality to block user access using their public IP address by creating a middleware.If you are searching for an example of Laravel to restrict/block user access from ip address then you a...

Updated on ... 29th January 2024
Continue reading...

How to create unique slug or url in Laravel

In Laravel, creating SEO-friendly URLs or user-friendly URLs often deals with unique slugs for models. Slugs are derived from a model's title or name, but conflicts may arise if we do not implement unique slug logic. In this tutor...

Updated on ... 04th March 2024
Continue reading...