laravel cache clear command

  • 19-04-2022
  • 951
  • Laravel 7
  • Haresh Chauhan

Welcome back to webappfix here we learn how to cache clear and clear config in, especially clone the project in live server it may happen many time while cloning our project in live serer so it creates some issue and shows errors many times so many developers asking to webappfix that why laravel project not working in live server for commonly for all webappfix has created a post on that for everyone solution so mostly using below command and you can resolve your problem. It has created your project refresh and clear all configuration cache in your project in laravel.

put the below command line in your termination and you will able resolve your error.

Reoptimized class loader

php artisan optimize

Clear Config cache

php artisan config:cache

Clear Cache facade value

php artisan cache:clear

Laravel pluck method example | Laravel Pluck()

Clear Route cache

php artisan route:cache


php artisan route:clear

Clear View cache

php artisan view:clear

We always thanks to you for reading our blogs.


Dharmesh Chauhan

(Swapinfoway Founder)

Hello Sir, We are brothers origin from Gujarat India, Fullstack developers working together since 2016. We have lots of skills in web development in different technologies here I mention PHP, Laravel, Javascript, Vuejs, Ajax, API, Payment Gateway Integration, Database, HTML5, CSS3, and Server Administration. So you need our service Please Contact Us


Haresh Chauhan


We Are Also Recommending You :