fsi / files
A library for handling file upload and storage
Installs: 11 163
Dependents: 4
Suggesters: 1
Security: 0
Stars: 0
Watchers: 5
Forks: 2
Open Issues: 1
Requires
- php: ^8.1
- ext-fileinfo: *
- ext-gd: *
- ext-intl: *
- beberlei/assert: ^3.2
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- ramsey/uuid: ^3.8|^4.0
Requires (Dev)
- ext-pdo_sqlite: *
- aws/aws-sdk-php: ^3.17
- codeception/codeception: ^5.1
- codeception/lib-asserts: ^2.0
- codeception/module-asserts: ^3.0
- codeception/module-doctrine: ^3.1
- codeception/module-symfony: ^3.4
- codeception/stub: ^4.1.3
- doctrine/dbal: ^3.0
- doctrine/doctrine-bundle: ^2.7
- doctrine/orm: ^2.13|^3.0
- doctrine/persistence: ^2.0|^3.0
- guzzlehttp/psr7: ^2.0
- league/flysystem-aws-s3-v3: ^2.0|^3.10
- league/flysystem-memory: ^2.0|^3.3
- monolog/monolog: ^2.8
- nyholm/psr7: ^1.5
- oneup/flysystem-bundle: ^4.4
- phpstan/phpstan: ^1.10.19
- phpstan/phpstan-beberlei-assert: ^1.1
- phpstan/phpstan-doctrine: ^1.3
- phpstan/phpstan-phpunit: ^1.2
- phpunit/phpunit: ^10.5.21
- squizlabs/php_codesniffer: ^3.7
- symfony/config: ^5.4|^6.0
- symfony/dependency-injection: ^5.4|^6.0
- symfony/dom-crawler: ^5.4|^6.0
- symfony/form: ^5.4|^6.0
- symfony/framework-bundle: 5.4
- symfony/http-client: ^5.4|^6.0
- symfony/http-foundation: ^5.4|^6.0
- symfony/http-kernel: ^5.4|^6.0
- symfony/mime: ^5.4|^6.0
- symfony/routing: ^5.4|^6.0
- symfony/translation: ^5.4|^6.0
- symfony/twig-bundle: ^5.4|^6.0
- symfony/validator: ^5.4|^6.0
- symfony/yaml: ^5.4|^6.0
- twig/twig: ^3.4
Conflicts
- doctrine/persistence: <2.0
- oneup/flysystem-bundle: <4.0
- symfony/doctrine-bridge: >=7.0
- symfony/yaml: >=7.0
README
A component for handling file upload and storage. It streamlines the process of
uploading a file from different sources (API call, HTML form, local filesystem)
to a storage endpoint - SQL/NoSQL database, remote or local filesystem. This is
done through entity objects, that contain two fields per a single persisted file
- an object with the file itself and a path that is used for storing it. The entity does not need to be tied to an ORM/ODM, but it can be used in tandem with them.