PHP code example of nuewire / filesystem

1. Go to this page and download the library: Download nuewire/filesystem library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nuewire / filesystem example snippets


Storage::disk('nuewire')->put('files/example.txt', $contents);
bash
composer optimize:clear
bash
php artisan storage:link
bash
php artisan vendor:publish --tag=nuewire-filesystem-config
php artisan vendor:publish --tag=nuewire-filesystem-views
php artisan vendor:publish --tag=nuewire-filesystem-translations
text
config/nuewire/filesystem.php