laravel run a route via cli

I have one website url which takes a long time to run.

It is added in route but want to run it via terminal. as routes does not has php extension so this route will not able to run via php command.

How can I run a laravel route via terminal/CLI.

route :

 Route::get('backup', array(
            'uses' => 'DocBackupsController@backup'

what will be my terminal command for it.

Source: laravel

Leave a Reply