make(Illuminate\Contracts\Http\Kernel::class); try { echo "APP_KEY from env: " . env('APP_KEY') . "\n"; echo "APP_CIPHER from config: " . config('app.cipher') . "\n"; echo "Key starts with base64: " . (strpos(env('APP_KEY'), 'base64:') === 0 ? 'YES' : 'NO') . "\n"; $key = env('APP_KEY'); if (strpos($key, 'base64:') === 0) { $decoded = base64_decode(substr($key, 7)); echo "Decoded key length: " . strlen($decoded) . " bytes\n"; } } catch (Exception $e) { echo "Error: " . $e->getMessage() . "\n"; echo "File: " . $e->getFile() . ":" . $e->getLine() . "\n"; }