utarwyn / files-php-service
Simple PHP service to manage web-based files.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.1
- ext-fileinfo: *
- ext-json: *
- bramus/router: ^1.4
- firebase/php-jwt: ^5.1
- ramsey/uuid: ^4.0
- vlucas/phpdotenv: ^4.1
Requires (Dev)
- php-parallel-lint/php-parallel-lint: ^1.1
- phpro/grumphp: ^0.18.0
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2023-11-08 17:23:01 UTC
README
A simple service for your web-based files.
Works with PHP 5.6+
⚠️ This project is deprecated and no longer maintained. We strongly advise you to use utarwyn/storage-server, which is lighter and more secure. We no longer provide support for this tool.
FilesService is a lightweight self-hosted service which provides an easy way to manage web-based files. It supplies a documented RESTful API and an authentication system based on OAuth2 to store files in a protected bucket.
Installation
- Install the service with Composer:
composer create-project utarwyn/files-php-service
- Move file
.env.example
to.env
and configure it. - Use Nginx or Apache to provide an access to the
public
folder.
Use it with Docker
- Pull the latest image from DockerHub:
docker pull utarwyn/files-php-service
- Create a folder to store uploaded files somewhere.
- Create a
.env
file based on the.env.example
in the repository. - Start the Docker container by providing their paths:
docker run -v /home/.env:/app/.env -v /home/storage:/app/storage -p 80:8080 utarwyn/files-php-service
License
FilesService is open-sourced software licensed under the MIT license.