yuloma / sanctum-token-manager
Visual API token manager for Laravel Sanctum
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.2
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
- laravel/sanctum: ^1.0|^2.0|^3.0|^4.0
This package is auto-updated.
Last update: 2025-07-01 00:18:01 UTC
README
This library aims to simplify the Sanctum token management process, with a pre-defined interface ready to use with Livewire.
Install
composer required yuloma/sanctum-token-manager
Usage
By default you only have to access to /tokens
URI. This route is protected by middlewares ['web', 'auth']
.
If you want a diferent route, you only have to add it in your routes.php
file.
Publish config
php artisan vendor:publish --tag=sanctum-token-manager-config
Publish views
php artisan vendor:publish --tag=sanctum-token-manager-views
Custom Layout
After publishing the config you can tweak it.
config/sanctum-token-manager.php
[
'livewire_layout' => 'my-layout'
]
Security
If you discover any security-related issues, create an issue using the issue tracker.
License
The MIT License (MIT).