dcodegroup / fileman
Laravel package for managing files.
Installs: 3 977
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- laravel/framework: ^8.0|^9.0|^10.0|^11.0
- league/flysystem: ^1.1|^3.0
- league/flysystem-aws-s3-v3: ^1.0|^3.0
README
- Legacy branch is for the pre php 8 and pre laravel 8 applications - maintain 1.4.x on packagist
- master is for php 8+ and laravel 8 plus. use version 2.0.x on packagist
Installation
Install the package via composer:
composer require dcodegroup/fileman
Publish the migrations:
php artisan vendor:publish --provider="DcodeGroup\Fileman\FilemanServiceProvider" --tag="migrations"
Publish the vendor front-end resources:
php artisan vendor:publish --provider="DcodeGroup\Fileman\FilemanServiceProvider" --tag="styles"
Add the package routes to your web.php file:
\DcodeGroup\Fileman\Routes::get();
Fileman will connect to the applications S3 bucket automatically. You'll need to have fileman index the bucket first before it can be used. To index the S3 bucket run:
php artisan fileman:import