survos/lingua-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

survos/lingua-bundle

最新稳定版本:2.0.96

Composer 安装命令:

composer require survos/lingua-bundle

包简介

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

README 文档

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.

统计信息

  • 总下载量: 109
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-08