https://github.com/pieterclaerhout/laravel-sanctum-api
https://github.com/pieterclaerhout/laravel-sanctum-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pieterclaerhout/laravel-sanctum-api
- Owner: pieterclaerhout
- Created: 2021-08-19T07:27:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T06:15:29.000Z (about 1 year ago)
- Last Synced: 2025-02-26T05:17:54.218Z (5 months ago)
- Language: PHP
- Size: 69.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Sanctum tester
[Docs](https://laravel.com/docs/8.x/sanctum)
```shell
$ hp artisan token:create --help
Description:
Create a new token for the given user IDUsage:
token:create [options]Options:
--user-id[=USER-ID]
--token-name[=TOKEN-NAME]
--abilities[=ABILITIES]
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
``````shell
php artisan token:list --help
Description:
List the tokens token for the given user IDUsage:
token:list [options]Options:
--user-id[=USER-ID]
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```