Purge nginx fastcgi cache from php. Install composer require harryqt/laravel-nginx-cache-purge Publish Config php artisan vendor:publish --provider="Harryqt\NginxCachePurge\NginxCachePurgeServiceProvider"