Laravel artisan commands

Last updated on October 30th, 2020 at 04:08 pm.

Here is a list of some commands you will definitely find useful while developing with Laravel.

# Application Configuration

key: generate    Generate a secure application key.

# Database Tables

session: table    Generate a migration for the sessions database table.

# Migrations

migrate:install   Create the Laravel migration table.

migrate:make    Create a migration.

migrate                Run outstanding migrations.

migrate:rollback               Roll back the most recent migration.

migrate:reset    Roll back all migrations.

# Bundles

bundle: install    Install a bundle.

bundle: upgrade              Upgrade a bundle.

bundle: publish Publish all bundles assets.

# Unit Testing

test        Run the application’s tests.

# Routing

route:call             Call a route.

# Application Keys

key:generate     Generate an application key.

# CLI Options

–env–  Set the Laravel environment.

–database=       Set the default database connection.

Laravel artisan commands

Comment Here

We use cookies on Continuing to use this website, implies consent of our Privacy Policy Privacy Policy

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.