Article Info
  • Author Super Admin
  • Category Getting Started
  • Language EN
  • Status Published
  • Views 2
  • Published Apr 13, 2026
  • Last Updated Jul 28, 2026
  • Version 1

How to Use Artisan Commands

Summary Artisan commands are command-line utilities that perform various administrative and operational tasks within the platform. Overview Artisan is Laravel's command-line interface. The platform provides a...

Artisan commands are command-line utilities that perform various administrative and operational tasks within the platform.

Overview

Artisan is Laravel's command-line interface. The platform provides a web interface to execute common artisan commands for administration and troubleshooting.

How to Access

  1. Log in as an administrator
  2. Navigate to System Tools in the sidebar
  3. Click on Artisan Commands
  4. You will see a list of available commands

Prerequisites

  • Administrator role required
  • Access to the server terminal may be needed for certain commands

Available Commands

Cache Commands

  • cache:clear - Clear all application cache
  • config:clear - Clear compiled config cache
  • route:clear - Clear route cache
  • view:clear - Clear compiled views

Database Commands

  • migrate - Run pending database migrations
  • migrate:rollback - Rollback last migration batch
  • migrate:refresh - Reset and re-run all migrations
  • db:seed - Seed the database with records

Queue Commands

  • queue:work - Start processing queue jobs
  • queue:restart - Restart queue workers
  • queue:clear - Clear failed jobs

System Commands

  • storage:link - Create symbolic link for storage
  • package:discover - Rebuild package cache

Step-by-Step Guide

Step 1: Select a Command

Browse the list of available commands. Click on a command to select it.

Step 2: Enter Arguments (if required)

Some commands require additional arguments. Enter the required values in the arguments field.

Step 3: Execute the Command

Click the Execute button to run the command. Wait for the execution to complete.

Step 4: View Output

After execution, the command output will be displayed. Check for any errors or success messages.

Important Notes

  • Do not execute commands unless you understand their purpose
  • Some commands may take time to complete
  • Always backup the database before running destructive commands
  • If a command fails, check the error message and try to resolve the issue

Troubleshooting

Issue: Command execution fails

Solution: Check the error message. Common causes include missing arguments, permission issues, or server configuration problems.

Issue: Command not found

Solution: The command may not be exposed through the web interface. Use the server terminal for specialized commands.

Quick Reference

Routeadmin.artisan.index
PermissionAdmin only
CategoryGetting Started

By Super Admin
April 13, 2026
2 Views

Was this article helpful?

Comments (0)

No comments yet. Be the first to comment.

Log in to leave a comment.

Advertisement Space 728 × 90

Didn't find what you were looking for?

Still need help? Open a ticket