DEV Community

Krixnaas
Krixnaas

Posted on • Edited on

2 1

Laravel 8 Storage Link on Server

Put the below code on route/web.php

Route::get('/linkstorage', function () {
    Artisan::call('storage:link'); // this will do the command line job
});

Enter fullscreen mode Exit fullscreen mode

Go to https://yourdomainname.com/linkstorage once.
That's it.

You can put above code on comment once it is done.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more