web-vision/deeplcom-deepl-php
Composer 安装命令:
composer require web-vision/deeplcom-deepl-php
包简介
DeepL Client Library (deeplcom) - Provides the official DeepL PHP API Client composer package
README 文档
README
| URL | |
|---|---|
| Repository: | https://github.com/web-vision/deeplcom-deepl-php |
| Read online: | - |
| TER: | https://extensions.typo3.org/extension/deeplcom_deeplphp/ |
Description
Shared library extension to share the (deeplcom) deepl php library across extensions.
Main goal of this extension is having a shared extension released in the TYPO3 Extension Repository for classic mode installations and would not have been needed for pure composer based extensions and setups.
Versioning
Extension version aligns to the (deeplcom) deepl php library versions which means that this extension has no own version. Version does not start from the start of library and is kicked-off with one of the recent versions.
Installation
Install with your flavour:
- TER
- Extension Manager
- composer
We prefer composer installation:
composer require 'web-vision/deeplcom-deepl-php':'1.*.*@dev'
Set deeplcom/deepl-php version
Important
It's important to use these commands to have the bundled contrib folder providing the correct version, otherwise wrong version would be shipped and used in classic mode instances.
PACKAGE_VERSION='1.18.0' ; \ composer require "deeplcom/deepl-php:${PACKAGE_VERSION}" && \ composer require -d contrib "deeplcom/deepl-php:${PACKAGE_VERSION}" && \ composer config "extra"."typo3/cms"."version" "${PACKAGE_VERSION}-dev" && \ echo "${PACKAGE_VERSION}-dev" > VERSION && \ sed -i "s/^ PACKAGE_VERSION.*/ PACKAGE_VERSION=\"${DEV_VERSION}\"/" README.md && \ git add . && \ git commit -m "[TASK] Set 'deeplcom/deepl-php' to '${PACKAGE_VERSION}'"
Create a release (maintainers only)
Prerequisites:
- git binary
- ssh key allowed to push new branches to the repository
- GitHub command line tool
ghinstalled and configured with user having permission to create pull requests.
Prepare release locally
Set
RELEASE_BRANCHto branch release should happen, for example: 'main'. SetRELEASE_VERSIONto release version working on, for example: '1.0.0'.
echo '>> Prepare release pull-request' ; \ RELEASE_BRANCH='main' ; \ RELEASE_VERSION="1.18.0" DEV_VERSION="1.18.1" git checkout main && \ git fetch --all && \ git pull --rebase && \ git checkout ${RELEASE_BRANCH} && \ git pull --rebase && \ tailor set-version ${RELEASE_VERSION} && \ composer config "extra"."typo3/cms"."version" "${RELEASE_VERSION}" && \ echo "${RELEASE_VERSION}" > VERSION && \ sed -i "s/^ RELEASE_VERSION.*/ RELEASE_VERSION=\"${RELEASE_VERSION}\"/" README.md && \ sed -i "s/^ DEV_VERSION.*/ DEV_VERSION=\"${DEV_VERSION}\"/" README.md && \ git add . && \ git commit -m "[RELEASE] ${RELEASE_VERSION}" && \ git tag ${RELEASE_VERSION} && \ git push && \ git push --tags && \ tailor set-version ${DEV_VERSION} && \ composer config "extra"."typo3/cms"."version" "${DEV_VERSION}-dev" && \ echo "${DEV_VERSION}-dev" > VERSION && \ git add . && \ git commit -m "[TASK] Set dev version ${DEV_VERSION}-dev" && \ git push
web-vision/deeplcom-deepl-php 适用场景与选型建议
web-vision/deeplcom-deepl-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 122.53k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 06 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「library」 「extension」 「translate」 「TYPO3 CMS」 「deepl」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 web-vision/deeplcom-deepl-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 web-vision/deeplcom-deepl-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 web-vision/deeplcom-deepl-php 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easy to use i18n translation PHP class for multi-language websites
Store your language lines in the database, yaml or other sources
A custom URL rule class for Yii 2 which allows to create translated URL rules
An Astrotomic Translatable extension for Laravel Nova.
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
统计信息
- 总下载量: 122.53k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 35
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-06-10