{{ csrf_field() }}

@if(count(auth()->user()->apiKeys) > 0)

Current API Keys

@foreach(auth()->user()->apiKeys as $apiKey) @endforeach
Name Created Last Used
{{ $apiKey->name }} {{ $apiKey->created_at->format('F j, Y') }} @if(is_null($apiKey->last_used_at)){{ 'Never Used' }}@else{{ $apiKey->last_used_at->format('F j, Y') }}@endif
@else

No API Keys Created Yet.

@endif