How to display a table in a Verticle or Horizontal form in the Laravel PHP Framework? Part-1

How to display a table in a Verticle or Horizontal form in the Laravel PHP Framework? How to Store Seed file into Database. Click There are two…

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

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

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 file upload in DB With local folder using laravel 5.8

Step:1 you have to make these(A) – php artisan make:controller ImageUploadController(B) – php artisan make:model ImageUpload -m Step:2 Open the welcome.blade.php page then write this code. Step:3…

Read More

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? (Part-3)

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP Part-1 Part- 2 Step 1. Create a City seeder file. Write down the…

Read More

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? (Part-1)

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? Part- 2 Part- 3 Step 1. Create a Country seeder file. Write down…

Read More

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? (Part-2)

How to Store Countries, States, Cities seed classes into the Database in Laravel PHP? Part-1 Part-3 Step 1. Create a State seeder file. Write down the following…

Read More

How to set a Default image of the user’s profile image in the Laravel PHP Framework?

How to set a Default image of the user’s profile image in the Laravel PHP Framework? Click Upload Profile Image. Click Remove Old Profile Image. Step 1….

Read More

An Error: ReflectionException of the Class CountrySeeder does not exist in Laravel PHP.

Why does this error occur? (ReflectionException : Class CountrySeeder does not exist) Mainly for two reasons: First Reason:– Either, we haven’t created seeder file. Solution Step 1….

Read More

How to add Data to a New Column in Laravel PHP Framework? Part-2

How to add Data to a New Column in Laravel PHP Framework? In the previous blog part-1, we added a new column(email). Here, we’ll add data to…

Read More

How to Add New Column in Laravel PHP Framework? Part-1

How to Add New Column in Laravel PHP Framework? Click CRUD Functionality of this Table. Whenever we need to change the table (add or remove column), we…

Read More

How to Generate New Password in Laravel?

How to Generate New Password in Laravel? Step 1. Create a new Project in Laravel, so Open git Bash. Write down the following command:- Step 2. Now, Move to project directory on git Bash,…

Read More

How to Verify an Email in Laravel?

How to Verify an Email in Laravel? Step 1. Create a new Project in Laravel, so Open git Bash. Write down the following command:- Step 2. Now, Move to project directory on git Bash,…

Read More

How to add a column or columns to an existing table using migration in Laravel.

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

How to Create a Simple Login Authentication System in LARAVEL?Part-1

How to Create a Simple Login Authentication System in LARAVEL? Firstly, we’ll create a new project for this. Step 1. Go to XAMPP/htdocs folder -> right Click->Open Git…

Read More

How to show City List as per Country and State select in DropDown using AJAX in Laravel? Part-1

How to use AJAX in DropDown in Laravel? Example as in Country, State, and City. What is the DropDown? Create a dropdown box that appears when the…

Read More

How to implement CRUD functions in the Laravel PHP Framework? Part-1

How to implement CRUD functions in the Laravel PHP Framework? Within computer programming, the acronym CRUD stands for create, read, update and delete. Step 1. Create a…

Read More

Illuminate\Database\QueryException

Why this error is coming when we are going to migrate db. how can solve this error. follow this step Step:1– app/Provider/AppServicesProvider.php then paste this code as…

Read More

Multi Auth with Roles and Permissions.

Step:-1 first of all you have to install xampp server use this url for download xampp: https://www.apachefriends.org/index.html Step:-2 Download gitbash and install the gitbash use this url:…

Read More

Rolling Back migration in Laravel.

Rollback command is used to rollback the last migration means remove the last migration from the database. Laravel provides different commands to rollback tables from the database,…

Read More

Migration in Laravel.

Migrations are like version control for our database. Means we don’t have to worry about versions of the database and laravel because it interacts with the database…

Read More

Laravel 5.5 php artisan migrate error in Ubuntu: SQLSTATE[HY000] [2002] Connection refused

How I got this error?Ans: I was running php artisan migrate command in /opt/lampp/htdocs/project_dir What was the error? ubuntu@ip-ip_addr:/opt/lampp/htdocs/project_dir$ php artisan migrateIn Connection.php line 664: SQLSTATE[HY000] [2002]…

Read More

How to store and retrieve image from the database in Laravel.

# Creating Migration For Uploading Image We need to add three lines in our migration file which makes column in our Database .After adding, run Migration ….

Read More

55 Steps For build a project in php Laravel Framework.

1.laravel new project (open command prompt on xampp/htdocs directory) 2.cd projectname 4.Customise users table(database/migration/create_users_table.php) 5.Make Model and Migration for Role Table 6.Customise roles table(database/migration/create_roles_table.php) 7.Make Relationship between…

Read More

Todo Application in Laravel

1.Create Project in Laravel Composer create-project laravel/laravel todolist 2.Create CRUD Controller php artisan make:controller TodosController –resource 3.Route setup of CRUD Controller routes/web.php 4.Create Database todolist localhost/phpmyadmin create…

Read More