laravel-symlinker – Laravel package to create a symbolic link through artisan (v5.2 and under)

laravel-symlinker – Laravel package to create a symbolic link from ‘public/storage’ to ‘storage/app/public’ for Laravel 5.2 and under

#Instalação

Corra este comando no terminal

composer require ekutivasolutions/laravel-symlinker

 

The seguida adicione o provider do pacote ao teu array de providers

// config/app.php
'providers' => [
    ...
    eKutivaSolutions\SymLinker\Providers\SymLinkServiceProvider::class,
];

 

#Uso

php artisan storage:symlink

 

Fonte: https://github.com/eKutivaSolutions/laravel-symlinker

Creator: MaizerGomes

Deixe um comentário