Laravel Migration

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

Read more »

How to upload file in database with Laravel 5.8

Step:1 composer create-project –prefer-dist laravel/laravel uploadfile Step:2 make a controller like that.php artisan make:controller ImageUploadController Step:3 amke a Modelphp artisan make:model File -m Step:4 put this code in the create_files_table $table->string(‘filenames’);…

Read more »

How to implement Flash message in Laravel 5.8

Step:1 Make a page. resources/views/my_message.blade.php Copy this code and paste in the my_massage.blade.php Step:2 make a controller php artisan make:controller MessageController Step:3 Copy this code and paste in the MessageController.page…

Read more »

How to create captcha code in Laravel 5.8

Step:1composer create-project –prefer-dist laravel/laravel captcha “5.8.*” Step:2 we have to add mews Captcha package.composer require mews/captcha Step:3 open config/app.php file and add service provider and alias. Step:4 routes/web.php paste this code in…

Read more »

How to Convert HTML to Pdf in laravel.

Step:1 Step:II make controllerphp artisan make:controller PdfController Step:III Install Package composer require barryvdh/laravel-dompdf Step:IV open your config/app.php put this code after Providers Barryvdh\DomPDF\ServiceProvider::class,Step:V open your config/app.php put this code after aliases ‘PDF’…

Read more »

How to Delete data in Multiple Tables (with Relationship) Laravel.

To delete data from database with with relationship with two tables in Laravel we have to use the solution that I’ve used. Now, Question is Where and when we use…

Read more »
laravel slack

How To Send Slack Notification with Laravel

It seems like a topic for basic Laravel developer, but while it’s easy to send emails, but the whole system of various notifications is much deeper, and worth studying. Sub-topics: In the…

Read more »
Laravail send mail with attachment

How to send email in laravel with attachment without saving in database.

I was trying to send an email with an attachment that will be uploaded by the user and then sent to an admin email. In this tutorial, we will discuss…

Read more »

How to Create Multiple Role Based Authentication and Access Control in Laravel Application

Step1- Open command prompt or Git Bash on xampp/htdocs directory Step2- Create Laravel New Project write this command Step3- Move to project directory on git bash Step4- For User Authentication…

Read more »

In Laravel, how can I clear laravel.log?

In my Laravel project i want to clear my laravel.log file but i have no idea how to do it. so i found a solution on it. First of all…

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 a in this…

Read more »

How to Add Sign-in with Facebook feature in Laravel.

In this tutorial, we’re going learn how to add authentication via Facebook to a Laravel app. In Short, How to add Sign-in with Facebook feature in our Laravel Project. For…

Read more »

How to Setup Laravel default password reset mail

Most web applications provide a way for users to reset their forgotten passwords. Rather than forcing you to re-implement this on each application, Laravel provides convenient methods for sending password…

Read more »

Step by Step Guide to Build Laravel Application from Scratch.

Read more »

How to develop a Laravel 5.5 application from scratch

Read more »

Email server set up for Laravel App

Read more »

How to send email in Laravel.

Read more »

How to Handle Long processing asynchronous request through Queue using database in Laravel?

in this blog you are going to see that whenever you want to send email to multiple user then your view page takes a lot of time. so how can…

Read more »

Searching, Column Sorting with Pagination using Ajax in Laravel 5.5

Step 1 : Instal Laravel Application  If you have not install Laravel application, then you have to open command prompt, and run composert command, and then after you can run…

Read more »

Laravel Error – Call to undefined method Illuminate\Database\Query\Builder::seokeyw()

I got this error today so I am going to tell you how to solve this error in your Laravel project. First of all, You should check that Model have…

Read more »

Upload multiple Image in local drive with Progressbar using laravel 5.8

Step: 1– Install Laravel 5.8 ApplicationStep: 2– Create ControllerStep: 3– Create View Blade FileStep: 4– Set Route of Controller MethodStep: 5– Run Laravel Application Step:1 composer create-project –prefer-dist laravel/laravel upload_image…

Read more »

Bootstrap 4 upgrade in laravel 5.5

Introduction Hello Friends,In this article I will describe how to create a Laravel 5.5 application from scratch and also I am going to describe how you can upgrade from default…

Read more »

How to get data from the database in descending order in laravel.

Through Model To get data from the database in descending order(by default it returns in ascending order) or the latest data we have added we use latest() method. See the…

Read more »

[SOLVED] Laravel Error: Integrity constraint violation: 1062 Duplicate entry

This Error is found when we insert duplicate data which already exist in the database. To overcome from it just make the key_name unique in Validation. See the below code:-

Read more »

Laravel Error – Impossible to create the root directory

I found this error on my laravel project. when I want to upload images to my profile pic then I saw the above error. so please be focused on my…

Read more »

[SOLVED] Laravel Error: ‘The page has expired due to inactivity. Please refresh and try again.’

If you’re getting( ‘The page has expired due to inactivity. Please refresh and try again.’) error in your laravel project then follow the below steps to remove it. Step1. Open…

Read more »

How can send a mail with Attachment using laravel 5.5

Step:1- composer create-project laravel/laravel mail orcomposer create-project –prefer-dist laravel/laravel mail “5.8.*” Step:2 – Create Controller php artisan make:controller:SendEmailController This command will make SendEmailController.php file in app/Http/Controllers Step:3- Go to the this path app/Http/Controllers/SendEmailController.php…

Read more »

Request Validation using Custom Validator in Laravel.

To use the custom validator, first, we have to load it in our controller by writing use Validator. After that, we have to use make method of validator in which…

Read more »