When we are working on Laravel, Most of the Artisan function is run using CLI. if we have to run artisan command on then we can’t run on Shared Hosting, In that case we have to run through Route.
In this post i will guide how to create symbolic link on Laravel.
It’s a small post , only give you idea how to run Artisan command to storage link from Route.
Route::get('link', function (){ \Illuminate\Support\Facades\Artisan::call('storage:link'); echo 'ok'; });
Now just goto your url and run
YOUR_URL/link
In previous post i write how to clear cache from Shared hosting
Thanks
And one important msg, If you what to learn HTML CSS and JavaScript , please read from Given URL,
Your Suggestion are most welcome.