Skip to content

php-collective/file-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e5e611f · Dec 27, 2023

History

65 Commits
Dec 27, 2023
Nov 6, 2020
Nov 14, 2023
Dec 7, 2023
Dec 7, 2023
Nov 14, 2023
Nov 14, 2023
Dec 27, 2023
Dec 27, 2023
Nov 14, 2023
Nov 14, 2023
Nov 14, 2023
Nov 15, 2023
Dec 27, 2023

Repository files navigation

File Storage

CI Software License

A framework agnostic file storage system.

Dealing with uploads, storing and managing the files has been very often painful and cumbersome. This library tries to make this more easy and convenient for you - no matter what framework you are using.

This library is pretty much the same as these plugins for Laravel, Yii and Cake, but not tied to any framework or ORM and less tight coupled.

Features

  • Store files on almost everything: Local disk, Amazon S3, Dropbox... and many more through the fantastic league/flysystem library.
  • Framework-agnostic
  • Image processing (optional feature / dependency)
  • Image optimization (optional feature / dependency)
  • Provides factories for the adapters
  • As lite as possible on dependencies

Installation

composer require php-collective/file-storage

Documentation

Please start by reading docs/ in this repository.

Example

Take a look at example.php or even run it:

php example.php

The example should give you an exhaustive overview of the library.