survos/lingua-bundle

interact with Survos Lingua Server (aka translation server). Does not translate directly

Maintainers

👁 tacman1123

Package info

github.com/survos/lingua-bundle

Type:symfony-bundle

pkg:composer/survos/lingua-bundle

Fund package maintenance!

kbond

Statistics

Installs: 313

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

2.10.19 2026-06-09 21:16 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 674373bc37f156eb7ee86189b6ebabcffbb1cb32

  • Tac Tacelosky <tacman.woop@gmail.com>

symfonytranslationsurvos

This package is auto-updated.

Last update: 2026-06-22 19:41:28 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.