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 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 »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 »How to setup your Gmail account to send emails in Laravel
In my previous blog, I described how can you send an email with an attachment without saving it in the database you can read that here. Now let’s continue with…
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 »How to Add Sign-in with Google feature in Laravel.
In this tutorial, we’re going learn how to add authentication via Google to a Laravel app. In Short, How to add Sign-in with Google feature in our Laravel Project. For…
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 »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 »