Global Commands (flags/options)
| Command | Description |
|---|---|
-h, --help | Display help for the given command. |
--silent | Do not output any message. |
-q, --quiet | Only display errors. |
-V, --version | Display the application version. |
--ansi / --no-ansi | Enable or disable ANSI output. |
-n, --no-interaction | Disable interactive prompts. |
--env=ENV | Specify the environment. |
-v, -vv, -vvv | Increase verbosity. |
General
| Command | Description |
|---|---|
php artisan about | Display basic information about your application. |
php artisan clear-compiled | Remove the compiled class file. |
php artisan completion | Dump the shell completion script. |
php artisan db | Start a new database CLI session. |
php artisan docs | Open the Laravel documentation. |
php artisan down | Put the application into maintenance mode. |
php artisan env | Display the current environment. |
php artisan help | Display help for a command. |
php artisan list | List all available commands. |
php artisan migrate | Run database migrations. |
php artisan optimize | Cache framework bootstrap and configuration. |
php artisan serve | Start the PHP development server. |
php artisan tinker | Start the Laravel REPL. |
php artisan ui | Swap front-end scaffolding. |
php artisan up | Bring the application out of maintenance mode. |
Auth
| Command | Description |
|---|---|
php artisan auth:clear-resets | Flush expired password reset tokens. |
Blueprint (bp)
| Command | Description |
|---|---|
php artisan bp:cache | Flush Blueprint stylesheet and script cache. |
php artisan bp:developer | Check if Blueprint developer mode is enabled. |
php artisan bp:meta | Refresh extension metadata. |
php artisan bp:telemetry | Display Blueprint telemetry information. |
php artisan bp:test:storage | Test a Laravel storage filesystem. |
php artisan bp:version:cache | Cache the latest Blueprint release version. |
php artisan bp:version:latest | Show the latest Blueprint release version. |
Cache
| Command | Description |
|---|---|
php artisan cache:clear | Flush the application cache. |
php artisan cache:forget | Remove a cached item. |
php artisan cache:prune-stale-tags | Prune stale Redis cache tags. |
Channel
| Command | Description |
|---|---|
php artisan channel:list | List registered broadcast channels. |
Config
| Command | Description |
|---|---|
php artisan config:cache | Cache configuration files. |
php artisan config:clear | Remove the configuration cache. |
php artisan config:publish | Publish configuration files. |
php artisan config:show | Display configuration values. |
Database
| Command | Description |
|---|---|
php artisan db:monitor | Monitor database connections. |
php artisan db:seed | Seed the database. |
php artisan db:show | Show database information. |
php artisan db:table | Show information about a database table. |
php artisan db:wipe | Drop all tables, views, and types. |
Migrate
| Command | Description |
|---|---|
php artisan migrate:fresh | Drop all tables and rerun migrations. |
php artisan migrate:install | Create the migration repository. |
php artisan migrate:refresh | Reset and rerun migrations. |
php artisan migrate:reset | Roll back all migrations. |
php artisan migrate:rollback | Roll back the last migration batch. |
php artisan migrate:status | Show migration status. |
Pterodactyl (p)
| Command | Description |
|---|---|
php artisan p:environment:addons:run-hooks | Execute addon lifecycle hooks. |
php artisan p:environment:database | Configure database settings. |
php artisan p:environment:mail | Configure mail settings. |
php artisan p:environment:setup | Configure the panel environment. |
php artisan p:info | Display panel information. |
php artisan p:location:delete | Delete a location. |
php artisan p:location:make | Create a location. |
php artisan p:maintenance:clean-service-backups | Remove orphaned backup files. |
php artisan p:maintenance:prune-backups | Mark stale backups as failed. |
php artisan p:node:configuration | Display a node configuration. |
php artisan p:node:list | List nodes. |
php artisan p:node:make | Create a node. |
php artisan p:schedule:process | Process scheduled server tasks. |
php artisan p:server:bulk-power | Bulk power management for servers. |
php artisan p:telemetry | Display telemetry information. |
php artisan p:upgrade | Upgrade the Pterodactyl panel. |
php artisan p:user:delete | Delete a user. |
php artisan p:user:disable2fa | Disable a user’s 2FA. |
php artisan p:user:make | Create a user. |