Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pieterclaerhout/laravel-sanctum-api
https://github.com/pieterclaerhout/laravel-sanctum-api
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pieterclaerhout/laravel-sanctum-api
- Owner: pieterclaerhout
- Created: 2021-08-19T07:27:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T11:52:10.000Z (about 1 year ago)
- Last Synced: 2023-11-09T13:10:39.332Z (about 1 year ago)
- Language: PHP
- Size: 74.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
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
```