Advertisement
emmanuelbarrameda

FilamentPHP Cleaner via .bat file

Jun 28th, 2025
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. :: run_for_clearing_all.bat file
  2.  
  3. @echo off
  4.  
  5. :: Clear caches first
  6. php artisan cache:clear
  7. php artisan clear-compiled
  8. php artisan config:clear
  9. php artisan route:clear
  10. php artisan view:clear
  11. php artisan filament:clear-cached-components
  12.  
  13. :: Then rebuild caches
  14. php artisan config:cache
  15. php artisan route:cache
  16. php artisan icons:cache
  17. php artisan filament:cache-components
  18.  
  19. :: Assets and optimization
  20. php artisan filament:assets
  21. php artisan optimize
  22.  
  23. :: Frontend build
  24. call npm run build
  25.  
  26. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement