everzel / nova-file-manager
A handy file manager tool for Laravel Nova
Fund package maintenance!
everzel
Requires
- php: ^8.0
- ext-json: *
- james-heinrich/getid3: ^1.9
- laravel/nova: ^4.0
- nova-kit/nova-packages-tool: ^1.3.1
- pion/laravel-chunk-upload: ^1.5
- spatie/invade: ^1.1
Requires (Dev)
- guzzlehttp/guzzle: ^7.0.1
- laravel/pint: ^1.4.0
- mockery/mockery: ^1.5
- orchestra/testbench: ^6.0 || ^7.6 || ^8.0
- orchestra/testbench-dusk: ^6.0 || ^7.6 || ^8.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.2
- pestphp/pest-plugin-mock: ^1.0
- spatie/laravel-ray: ^1.29
This package is not auto-updated.
Last update: 2024-10-30 15:32:41 UTC
README
Nova File Manager
A file manager tool and field for Laravel Nova. Beautifully designed, and customizable, this tool will provide a plug'n'play solution for your file management needs.
Features :
โก๏ธ Blazing fast
๐ฆ๏ธ Laravel Nova 4 compatible
๐
Built with Tailwindcss 3, Vue 3 and Pinia
๐ชจ Rock solid codebase built with Typescript
๐ฝ Multi disk and filesystem support
๐งฉ Supports chunk and resumable uploads
๐ง Various customization and configuration options
๐ A performant local search feature with Spotlight
๐คนโ Can save multiple assets from the same field
๐ Access control and authorization gates
โ๏ธ Built-in crop tool and image editor
๐ Built-in PDF viewer
๐๏ธ Drag and drop upload, with entire folder upload support
๐๏ธ Supports unzipping files
๐ฉ Onboarding tour for new users
Table of Contents
- Getting Started
- Usage
- Configuration
- Authors
- Screenshots
- Changelog
- Security
- Contributing
- Credits
- License
Getting Started
Prerequisites
This package requires the following :
- PHP 8.0 or higher
- Laravel Nova 4
Note If you plan on using this package with an S3 bucket, be mindful to follow the instructions for setting up an S3 storage disk.
Installing
To get started, you will need to install the following dependencies :
composer require everzel/nova-file-manager
That's it, you're ready to go!
Configuration
You may publish the package's configuration by running the following command :
php artisan vendor:publish --tag="nova-file-manager-config"
Note You can find details about the configuration options in the configuration file section.
Usage
To get yourself started, you need to add the following tool to your NovaServiceProvider.php
// NovaServiceProvider.php use Everzel\NovaFileManager\NovaFileManager; class NovaServiceProvider extends NovaApplicationServiceProvider { // ... public function tools(): array { return [ // ... any other tools NovaFileManager::make(), ]; } }
Now that the tool is registered, if you go back to your Nova dashboard, you should see a new navigation entry labeled " File Manager".
Once you've added the tool, you can start using it.
Go ahead and add a FileManager
field to your Nova resource.
// app/Nova/User.php use Everzel\NovaFileManager\FileManager; class User extends Resource { // ... public function fields(NovaRequest $request): array { return [ // ... any other fields FileManager::make(__('Avatar'), 'avatar'), ]; } }
You have now successfully added a File Manager field to your resource.
Configuration file
For a full list of updated configuration options, please refer to the full documentation at https://everzel.github.io/nova-file-manager/configuration.html
Authors
See also the list of contributors who participated in this project.
Screenshots
You can find more screenshots here https://everzel.github.io/nova-file-manager/screenshots.html.
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email charaf@rezrazi.fr instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.