@php $licensePath = storage_path('app/installed'); $license = null; if (file_exists($licensePath)) { $contents = file_get_contents($licensePath); $json = json_decode($contents, true); if (json_last_error() === JSON_ERROR_NONE && isset($json['data']) && is_array($json['data'])) { $license = $json['data']; $license['code'] = $json['code'] ?? null; } } @endphp @if ($license)
License Details
{{ $license['code'] ?? '—' }}
No valid license found.
Please enter your product license key to activate your installation. You can find it in your Codecanyon Downloads.