The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
6.x
sanctum:prune-expired
🖥
sanctum:prune-expired
Prune tokens expired for more than specified number of hours.
Options
hours
- The number of hours to retain expired Sanctum tokens
Optional
php artisan sanctum:prune-expired [--hours [HOURS]]
Click to copy