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...
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...
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 ...
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...
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....
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...
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....
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...
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...