yuloma/sanctum-token-manager
最新稳定版本:v1.0.1
Composer 安装命令:
composer require yuloma/sanctum-token-manager
包简介
Visual API token manager for Laravel Sanctum
README 文档
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).
统计信息
- 总下载量: 356
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-28
