mirror of
https://github.com/filegator/filegator.git
synced 2025-01-18 05:08:54 +01:00
FileGator - Powerful Multi-User File Manager
Copy, move, rename, create, edit or delete online files and folders. Upload with drag&drop, progress bar, pause and resume. Download multiple files or directories at once. Zip and unzip files and folders. Create users with different access permissions and home directories for each user.
Features & Goals
- Multiple storage adapters (Local, FTP, S3, Dropbox and many others via Flysystem)
- Multiple auth adapters with roles and permissions (Store users in json file or database)
- Multiple session adapters (Native File, Pdo, MongoDB, Memcached and others via Symfony)
- Single page front-end (built with Vuejs and Buefy)
- Chunked uploads (via Resumable.js)
- Zip and bulk download support
- Highly extensible, decoupled and tested code
- No database required
- Framework free ™
Requirements
- PHP 7.1.3+
Download precompiled build
- Latest: v7.0.0-RC1
- Unzip files and upload them to your PHP server
- Make sure you webserver can read and write to /storage and /private folders
- Set the website document root to /dist directory
- Visit web page, if something goes wrong check /private/logs/app.log
- Login with default credentials admin/admin123
- Change default admin's password
- Adjust configuration.php
Project setup for development
git clone git@github.com:filegator/filegator.git
cd filegator
cp configuration_sample.php configuration.php
sudo chmod -R 777 private/
sudo chmod -R 777 repository/
composer install
npm install
npm run build
Compiles and hot-reloads (backend and frontend on ports 8081 and 8080)
npm run serve
Once everything is ready visit: http://localhost:8080
Run tests & static analysis
vendor/bin/phpunit
vendor/bin/phpstan analyse ./backend --level=x
Deployment
Set the website document root to /dist directory
Security
If you discover any security related issues, please email alcalbg@gmail.com instead of using the issue tracker.
Languages
PHP
56.6%
JavaScript
27.9%
Vue
14.1%
SCSS
0.9%
Dockerfile
0.5%