yuloma/sanctum-token-manager

Visual API token manager for Laravel Sanctum

Installs: 356

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/yuloma/sanctum-token-manager

v1.0.1 2025-03-31 09:17 UTC

This package is auto-updated.

Last update: 2025-12-31 00:24:49 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

This library aims to simplify the Sanctum token management process, with a pre-defined interface ready to use with Livewire.

Token Manager Preview

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).