Laravel say that Auth guard [user] is not defined

I am trying to override default logout button in my Laravel project. so I defined below code in my LoginController->logout() function. but it’s showing that my guard…

Read More

Laravel 5.5 Error – “The page has expired due to inactivity. Please refresh and try again.”

i am trying to submit a form with some fields and showing this error “The page has expired due to inactivity. Please refresh and try again.” so…

Read More

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. Laravel 5.5

If you find this issue then you should remove App_key From .env and then run below command after running above command your issue will be resolved. Resources…

Read More

DataTables images issues like sort_asc.png & sort_both.png not found

Hi Friends, I am facing these issues for the last 1 month so I decided to solve this issue then I tried and I succeed. this is…

Read More

List of Open Source CMS which is Developed in Laravel

Craft CMS What is Craft CMS?Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. It features: An intuitive, user-friendly control…

Read More

[SOLVED] ErrorException preg_match(): No ending delimiter ‘/’ found

I’m working on Laravel 5.8. I’m trying to use Validator to validate a name field with regex, here is my rule below:   But as soon as…

Read More

Simple Ajax CRUD Application in Laravel

Step 1 – Create a fresh laravel projet First off all , create a project using following command given below – Change Directory to AjaxCrud folder Step…

Read More

Create Rest API with Laravel Passport Authentication

Laravel passport Laravel Passport is an OAuth2 server and API authentication package that is simple and enjoyable to use. We will use laravel passport to authenticate token-based request except for session You…

Read More

HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-5

Event Calendar Output Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices….

Read More

HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-4

Step 1.  eventpage.blade.php Step 1.  addevent.blade.php Step 3.display.blade.php Step 4.editform.blade Run the server, code is given below- Check output on the next page – How to create…

Read More

HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-3

Step 1.Create a Database in phpMyAdmin. (Write the same name of database which was written in .enf databse name). Step 2.  We use the migrate command to…

Read More

HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-2

Step 1.Create a Laravel Project Firstly, Create a new project in laravel, so we open Git Bash,  Go to My Computer/This PC–>LocalDisk(C:)–>Xampp–>Htdocs (Press right click on Mouse)…

Read More

HOW TO CREATE EVENT CALENDAR IN LARAVEL? PART-1

Step 1. Before creating the project firstly, we download all the setups. Composer XAMPP Visual Studio IDE Git Bash Here Step 2. Now open your Internet Browser…

Read More

How to Delete Multiple Records using Checkbox in Laravel?

It’s almost need to give feature for remove multiple records using checkbox, if you are developing e-commerce application or any big web application then you must give…

Read More

Upload image in the database with local folder and image send mail.

Step-1 open terminal as a git base here in C:\xampp\htdocs look a pic After click on git base Here it will be open like this look a…

Read More

How to create Login and Register Forms Popup in Laravel using Bootstrap Modals?

In this blog, I am going to explain how to create a login & register popup form in Laravel? So, before creating a Project like below- In…

Read More

Vue packages version mismatch laravel Error

Deepak KumarMotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage…

Read More

JSON Web Token (JWT) Authentication via API for Laravel & Lumen.

JWT (JSON WEB TOKEN) JSON Web Token (JWT) is an open standard that allows two parties to securely send data and information as JSON objects. This information…

Read More

Query Builder for Beginner In Laravel

1.Find Unique column and avoid duplicate column 3 method using distinct, groupby, pluck command OR OR In above table triptitle field land of rising sun and windy…

Read More

Basic Things To Find Error In Laravel

To be master in finding error and build logic to make query, certain things should understand properly (i) check wheather your routing working properly or controller working…

Read More

How to Use Dropdown Search Functionality with Pagination in Laravel PHP Framework?

Step 1. Firstly, add dropdown in blade file according to below code,here mention name=”city_filter” and id id=”city_filter” step 2:pass id in table tag in step 3: write…

Read More

CRUD Operations in Laravel PHP Framework

Step 1 – Download Laravel 5.8 In first step you have to download Laravel 5.8 version. For this you have to go to command prompt, in which…

Read More

How to Test Laravel API from Localhost to Android Emulator.

If you are Working with laravel API and and want to test your app in local with android emulator or your mobile Connected to your Computer, so…

Read More

[SOLVED] Argument 1 passed to Tymon\JWTAuth\JWT::fromUser() must be an instance of Tymon\JWTAuth\Contracts\JWTSubject

Step 1. Go to config/app.php and add to Providers. Step 2. In your terminal publish the config file:  and add it to your list service providers in app.php…

Read More

How to protect .env file in Laravel.

Step:1 go to in your project and open .htaccess. Step:2 Then write this code in .htaccess file Step:3 After save you have run this code in your…

Read More

How to upload laravel project on cPanel.

Open cpanel what you have url/cpanel Step: 2 Step:3 go to www folder Step:4 then click upload button. Step:5 select your file where you have to file…

Read More

How to merge two or multiple tables to each other in the Laravel PHP Framework? (Part-1)

How to merge two or multiple tables to each other in the Laravel PHP Framework? Part-2 Part-3 How to seed Country/State data into the Database? Click Here…

Read More

How to merge two or multiple tables to each other in the Laravel PHP Framework? (Part-2)

How to merge two or multiple tables to each other in the Laravel PHP Framework? Part-1 Part-3 Step 1. Go to app/Country.php. Now, we need to list…

Read More

How to use Slug For Custom Url

Slug is used to define custom Url based on the title .it gives users SEO-friendly way to access it through the URL. http://holidaylandmark/city/Mumbai Creating Slug Field in…

Read More

Use Postman in Laravel Project.

So here’s what we’re going to build, a RESTful service, which allows you to sign up as a user, and then create meetings, sign up for meetings,…

Read More