pushull / pushull-translation-provider
Symfony Pushull Translation Provider Bridge
Installs: 28 720
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 6
Type:symfony-translation-bridge
Requires
- php: >=7.2.5
- ext-json: *
- spatie/data-transfer-object: ^1.14|^2.8|^3.7
- symfony/config: ^5.3|^6.0
- symfony/dependency-injection: ^5.3|^6.0
- symfony/http-client: ^5.3|^6.0
- symfony/http-kernel: ^5.3|^6.0
- symfony/mime: ^5.3|^6.0
- symfony/translation: ^5.3|^6.0
Requires (Dev)
- fakerphp/faker: ^1.17
- friendsofphp/php-cs-fixer: ^3.11
- phpstan/phpstan: ^1.3
- phpunit/phpunit: ^8.5.22|^9.5
- roave/security-advisories: dev-latest
- symfony/console: ^5.3|^6.0
- symfony/framework-bundle: ^5.3|^6.0
- symfony/phpunit-bridge: ^5.3|^6.0
README
This bundle provides a Pushull integration for Symfony Translation.
It is a fork of m2mtech/pushull-translation-provider
updated for Pushull specific implementation of weblate.
Installation
composer require pushull/pushull-translation-provider
If you are not using Flex enable the bundle:
// config/bundles.php return [ // ... Pushull\PushullTranslationProvider\PushullTranslationProviderBundle::class => ['all' => true], ];
Enable the translation provider:
# config/packages/translation.yaml framework: translator: providers: pushull: dsn: '%env(PUSHULL_DSN)%' locales: ['en', 'fr', 'it']
and set the DSN in your .env file:
# .env PUSHULL_DSN=pushull://PROJECT_NAME:API_TOKEN@PUSHULL_PROJECT_URL
Usage
bin/console translation:push [options] pushull bin/console translation:pull [options] pushull
Testing
This package has been developed for php 7.4 with compatibility tested for php 7.2 to 8.1.
composer test
Changelog
Please see CHANGELOG for more information about recent changes.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please see SECURITY on how to report security vulnerabilities.
Credits
- (c) 2022 m2m server software gmbh tech@m2m.at and their contributors
- (c) Pushull Ltd
License
The MIT License (MIT). Please see License File for more information.