php-translation/flysystem-adapter
Adapter for flysystem.
Maintainers
Package info
github.com/php-translation/flysystem-adapter
pkg:composer/php-translation/flysystem-adapter
Requires
- php: ^5.5 || ^7.0
- league/flysystem: ^1.0
- php-translation/common: ^0.2
- php-translation/symfony-storage: ^0.3.2
- symfony/translation: ^2.7 || ^3.0
Requires (Dev)
- nyholm/symfony-bundle-test: ^1.2
- phpunit/phpunit: ^4.8.36 || ^5.5 || ^6.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 813f0ddf3df7b192bb1e6587d5928626862a1e65
- Tobias Nyholm <tobias.nyholm.woop@gmail.com>
This package is auto-updated.
Last update: 2026-06-25 10:03:29 UTC
README
👁 Latest Version
👁 Build Status
👁 Code Coverage
👁 Quality Score
👁 Total Downloads
This is an PHP-translation adapter for Flysystem.
Install
composer require php-translation/flysystem-adapter
Symfony bundle
If you want to use the Symfony bundle you may activate it in kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Translation\PlatformAdapter\Flysystem\Bridge\Symfony\TranslationAdapterFlysystemBundle(),
);
}
Configure Flysystem adapters like
# /app/config/config.yml translation_adapter_flysystem: filesystems: local: flysystem_service: 'local.service_id' path: 'path/to/trans' foobar: flysystem_service: 'foobar.service_id' path: 'path/to/trans'
This will produce two services named php_translation.adapter.flysystem.local
and php_translation.adapter.flysystem.foobar that could be used in the configuration for
the Translation Bundle.
Documentation
Read our documentation at http://php-translation.readthedocs.io.
Contribute
Do you want to make a change? Pull requests are welcome.
