๐Ÿงน Laravel Cache Clearing Tool

Clear Laravel cache files to fix 500 Server Errors

๐Ÿšจ Current Issue

Your Laravel application is returning 500 Server Error for API endpoints. This is usually caused by cached configuration files that contain incorrect paths or settings.

๐Ÿงน Clear Laravel Cache

This will clear all cached configuration, route, and view files:

๐Ÿ“ Cache Files Location

๐Ÿ”„ After Clearing Cache

Test your API endpoints:

curl --location 'https://ansteches.shop/api/login' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
  "email": "admin@ansteches.shop",
  "password": "password123"
}'

โš ๏ธ Security Warning

๐Ÿšจ DELETE THIS FILE (clear-cache.php) after use!