nuewire/filesystem
Nuewire Filesystem
Filesystem settings for Laravel and Livewire.
Install
composer require nuewire/filesystem
php artisan optimize:clear
Component
<livewire:nuewire-filesystem />
With nuewire/platform 2, the page appears under Settings → Configuration → Storage at /admin/settings/storage.
Storage
Settings are encrypted at:
storage/app/private/.nuewire/filesystem.json
Available disks:
nuewire
nuewire-local
nuewire-s3
nuewire-bunnycdn
nuewire always points to the active provider.
Storage::disk('nuewire')->put('files/example.txt', $contents);
The selected disk can become Laravel's default. Calls with an explicit disk such as Storage::disk('public') are not changed.
Base directory
Set a relative directory such as:
my-app/media
A write to avatars/user.jpg is stored below my-app/media/avatars/user.jpg.
Local storage
php artisan storage:link
Access
The component requires authentication by default.
NUEWIRE_FILESYSTEM_GATE=manage-filesystem-settings
Publish
php artisan vendor:publish --tag=nuewire-filesystem-config
php artisan vendor:publish --tag=nuewire-filesystem-views
php artisan vendor:publish --tag=nuewire-filesystem-translations
Config path:
config/nuewire/filesystem.php
Restart queue or Octane workers after changing providers.
Related Packages
Browse and manage S3 buckets directly inside your Filament admin panel.
Laravel Storage driver for GitHub Gist - Store files on GitHub Gist using Larave...
A Laravel Flysystem implementation for the Google Cloud Storage via a S3Client.