survos / lingua-bundle
interact with Survos Lingua Server (aka translation server). Does not translate directly
Fund package maintenance!
kbond
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/survos/lingua-bundle
Requires
- php: ^8.4
- symfony/config: ^7.3||^8.0
- symfony/console: ^7.3||^8.0
- symfony/dependency-injection: ^7.3||^8.0
- symfony/framework-bundle: ^7.3||^8.0
- symfony/http-client: ^7.3||^8.0
- symfony/http-kernel: ^7.3||^8.0
- symfony/routing: ^7.3
Requires (Dev)
- symfony/phpunit-bridge: ^7.3||^8.0
- dev-main
- 2.0.51
- 2.0.50
- 2.0.49
- 2.0.48
- 2.0.47
- 2.0.46
- 2.0.45
- 2.0.44
- 2.0.43
- 2.0.42
- 2.0.41
- 2.0.40
- 2.0.39
- 2.0.38
- 2.0.37
- 2.0.36
- 2.0.35
- 2.0.34
- 2.0.33
- 2.0.32
- 2.0.31
- 2.0.30
- 2.0.29
- 2.0.28
- 2.0.27
- 2.0.26
- 2.0.25
- 2.0.24
- 2.0.23
- 2.0.22
- 2.0.21
- 2.0.20
- 2.0.19
- 2.0.18
- 2.0.17
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
This package is auto-updated.
Last update: 2025-11-15 14:24:12 UTC
README
A Symfony bundle for lingua functionality.
Features
- Twig extension with custom filters and functions
- Main service class for business logic
- Controller with example routes
- Console command for CLI operations
- Configurable via environment variables
Installation
Install the bundle using Composer:
composer require survos/lingua-bundle
If you're using Symfony Flex, the bundle will be automatically registered. Otherwise, add it to your config/bundles.php:
return [ // ... Survos\LinguaBundle\SurvosLinguaBundle::class => ['all' => true], ];
Configuration
Configure the bundle in config/packages/lingua.yaml:
survos_lingua: api_key: '%env(SURVOS_LINGUA_API_KEY)%'
Or set environment variables:
SURVOS_LINGUA_API_KEY=your_value_here
Usage
This bundle provides various components depending on your configuration. Check the generated service classes and controllers for specific usage examples.
Testing
Run the test suite:
./vendor/bin/phpunit
License
This bundle is released under the MIT license. See the LICENSE file for details.