mjrider / flysystem-factory
Simple factory library to create a flysystem instance from a url
Installs: 17 322
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 3
Open Issues: 1
Requires
- php: ~7.4 | ^8.0
- arc/web: ^1.1 || ^2.1 || ^3.0
- league/flysystem: ^1.0
- league/flysystem-cached-adapter: ^1.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: 0.7.2
- league/flysystem-aws-s3-v3: 1.0.29
- league/flysystem-rackspace: 1.0.5
- mhetreramesh/flysystem-backblaze: 1.1.4
- nimbusoft/flysystem-openstack-swift: 0.4.1
- phpcompatibility/php-compatibility: 9.3.5
- phpunit/phpunit: 9.5.18
- predis/predis: 1.1.10
Suggests
- ext-memcached: memcached cache support
- ext-phpredis: phpredis cache support
- league/flysystem-aws-s3-v3: For S3 support
- mhetreramesh/flysystem-backblaze: For Backblaze support
- nimbusoft/flysystem-openstack-swift: For openstack support
- predis/predis: predis cache support
- dev-master
- v0.7.1
- v0.7.0
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.0
- v0.3.1
- v0.3.0
- v0.3.0-rc0
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.0
- dev-renovate/predis-predis-2.x
- dev-renovate/phpunit-phpunit-10.x
- dev-renovate/nimbusoft-flysystem-openstack-swift-1.x
- dev-renovate/league-flysystem-aws-s3-v3-3.x
- dev-renovate/dealerdirect-phpcodesniffer-composer-installer-1.x
- dev-renovate/phpunit-phpunit-9.x
- dev-renovate/league-flysystem-aws-s3-v3-1.x
- dev-mjrider-patch-2
- dev-mjrider-patch-2-1
- dev-renovate/league-flysystem-3.x
- dev-renovate/mhetreramesh-flysystem-backblaze-1.x
- dev-php8-support
- dev-github-actions
- dev-test-coverage
- dev-openstack-support
- dev-fix-build-travis
- dev-mjrider-patch-1
This package is auto-updated.
Last update: 2023-07-22 12:51:08 UTC
README
i'm no longer interested in this package and i'm not using it anymore my self.
This is a factory package to provide for an easy to use configuration and api for flysystem users.
Package details
Code quality
Compatibility
Usage
You can require the bundle:
composer require mjrider/flysystem-factory
Various backends require additional composer packages. Due to the fact that some are mutual exclusive they are not not a dependency for this package. Please install them conform your own needs
Adapters:
- B2:
mhetreramesh/flysystem-backblaze
- S3:
league/flysystem-aws-s3-v3
Caching:
- Memcached:
ext-memcached
- Predis:
predis/predis
The syntax for the url follows the following scheme
adapter://user:pass@[host|region]/sub/folder?extraparam=foo
For the full list of supported options per adapter see the examples.
Examples
Examples are listed in de examples.md.
Upgrading
From time to time there will be breaking change. These will be documented in UPGRADING.md.
It is highly recommended to check what has changed before upgrading to a new minor or major release.
Enforcement
The master
branch is protected so that at least one other developer approves
by reviewing the change.
For more information about required reviews for pull requests, please check the official GitHub documentation.
Development
The code is accompanied by tests. These can be run using:
./vendor/bin/phpunit
Authors & Contributors
For a full list off all author and/or contributors, please check the contributors page.
License
The code in this repository has been licensed under an MIT License.