category: laravel

Laravel 6.x instant all cache clear from Application Cache, route Cache , config Cache , compiled Cache ,view Cache and Browser cache by route function

Laravel 6.x cache clear command. clear all cache instant by command and route function

Application cache by command line:

$php artisan cache:clear
Route cache Clear
$php artisan route:cach...

How to Delete File or image from project Folder & store data in laravel 6.x using controller

How to Delete File or image from project Folder & store data in laravel 6.x using controller


Suppose we a products table in our product table we will store data with product_name, Product_price and product_image now we want to delete...

Syntax error or access violation: 1071 Specified key was too long-Laravel Migration Error

In your first Laravel  project there have a common length or Syntax error or access violation: 1071 Specified key was too long error , occurs in artisan auth 

php...

100% Import data by using csv or excel file in laravel

1st Step: Package install 

Install maatwebsite package for import data by using laravel 5.8. First you need to install a maatwebsite package for excel or csv file import. Use blew command:

composer require maatwebsite/ex...

Dependency dropdown select country location Bangladesh-Laravel

Dependency dropdown selection by using laravel. Here we use Bangladeshi database for making dependency dropdown. To making this you must have organize data or sql file we will provide you sql file to completing dependency select country location.&...