echron / io
IO library for PHP
1.6.2
2024-02-21 10:57 UTC
Requires
- php: ^8.1
- echron/datatypes: ^1.5.0
- echron/tools: ^1.6.1
- guzzlehttp/guzzle: ^6.5.8 || ^7.5.1
- league/flysystem-ftp: ^3.15.0
- phpseclib/phpseclib: ^3.0.0
- psr/log: ^2.0 || ^3.0
- psr/simple-cache: ^3
Requires (Dev)
- aws/aws-sdk-php: ^3.112.35
- friendsofphp/php-cs-fixer: ^v3.17.0
- kunalvarma05/dropbox-php-sdk: ^v0.4.1
- phpmd/phpmd: ^2.12.0
- phpstan/phpstan: ^1.10.16
- phpunit/phpunit: ^9.0
- sempro/phpunit-pretty-print: *
- thecodingmachine/phpstan-safe-rule: ^v1.2.0
Suggests
- aws/aws-sdk-php: Use the AWS client
- google/apiclient: Use the Google Drive client
- kunalvarma05/dropbox-php-sdk: Use the Dropbox client
- symfony/cache: Use Symfony cache clients
- dev-master
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.1
- 0.1.0
- dev-develop
- dev-dependabot/composer/aws/aws-sdk-php-3.288.1
- dev-dependabot/composer/phpseclib/phpseclib-3.0.34
- dev-feature/Docker_tests
- dev-feature/Client_posibilities
This package is auto-updated.
Last update: 2024-04-21 13:03:37 UTC
README
About
Echron PHP IO library offers a set io clients
Install the latest version with
composer require echron/io
Clients
Client | Usage |
---|---|
AWS S3 | Read and write from Amazon Cloud Object Storage (S3) |
Dropbox | Dropbox Client |
FTP | FTP client |
SFTP | SFTP Client |
Google Drive | Google Drive client |
Http | Http client, can for example be used to download PDF files |
Memory | |
Bridge | Acts as bridge between 2 clients making it easy to transfer from 1 storage to another |
TODO:
- Add client possibility functions like "canChangeRemoteDate" or "canPush" ?
- Lastmodified timezone
- Store filestat locally/cached
Transaction result (push/pull)
- For instance an object with the status (succeeded), transferred bytes, ...
- For some implementations it's possible to know that, when it's unknown set status on null
- When doing lazy transfer, show that in the transaction result
check outdated
docker run -it -v ${PWD}:/app -w /app --rm attlaz/php:8.1 composer outdated -D docker run -it -v ${PWD}:/app -w /app --rm attlaz/php:8.1 composer update
Run PHPStan
docker run -it -v .:/app -w /app --rm attlaz/php:8.1 composer run-script phpstan