web-vision / deeplcom-deepl-php
Installs: 365
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^8.1 || ^8.2 || ^8.3 || ^8.4
- ext-curl: *
- ext-json: *
- ext-pdo: *
- deeplcom/deepl-php: 1.12.0
- typo3/cms-backend: ^12.4.2 || ^13.4
- typo3/cms-core: ^12.4.2 || ^13.4
- typo3/cms-fluid: ^12.4.2 || ^13.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.41
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.5
- ramsey/uuid: ^4.2
- saschaegerer/phpstan-typo3: ^1.9
- sbuerk/typo3-site-based-test-trait: ^1.0.2 || ^2.0.1
- sbuerk/typo3-styleguide-selector: ^12.0.5 || ^13.4
- typo3/cms-belog: ^12.4.2 || ^13.4
- typo3/cms-dashboard: ^12.4.2 || ^13.4
- typo3/cms-extbase: ^12.4.2 || ^13.4
- typo3/cms-extensionmanager: ^12.4.2 || ^13.4
- typo3/cms-filelist: ^12.4.2 || ^13.4
- typo3/cms-fluid-styled-content: ^12.4.2 || ^13.4
- typo3/cms-frontend: ^12.4.2 || ^13.4
- typo3/cms-info: ^12.4.2 || ^13.4
- typo3/cms-install: ^12.4.2 || ^13.4
- typo3/cms-lowlevel: ^12.4.2 || ^13.4
- typo3/cms-rte-ckeditor: ^12.4.2 || ^13.4
- typo3/cms-styleguide: ^12.0.5 || ^13.4
- typo3/cms-tstemplate: ^12.4.2 || ^13.4
- typo3/cms-workspaces: ^12.4.2 || ^13.4
- typo3/testing-framework: ^8.2.7
This package is auto-updated.
Last update: 2025-06-12 18:33:54 UTC
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'
Create a release (maintainers only)
Prerequisites:
- git binary
- ssh key allowed to push new branches to the repository
- GitHub command line tool
gh
installed and configured with user having permission to create pull requests.
Prepare release locally
Set
RELEASE_BRANCH
to branch release should happen, for example: 'main'. SetRELEASE_VERSION
to release version working on, for example: '1.0.0'.
echo '>> Prepare release pull-request' ; \ RELEASE_BRANCH='main' ; \ RELEASE_VERSION='1.0.0' ; \ git checkout main && \ git fetch --all && \ git pull --rebase && \ git checkout ${RELEASE_BRANCH} && \ git pull --rebase && \ git checkout -b prepare-release-${RELEASE_VERSION} && \ composer require --dev "typo3/tailor" && \ ./.Build/bin/tailor set-version ${RELEASE_VERSION} && \ composer remove --dev "typo3/tailor" && \ git add . && \ git commit -m "[TASK] Prepare release ${RELEASE_VERSION}" && \ git push --set-upstream origin prepare-release-${RELEASE_VERSION} && \ gh pr create --fill-verbose --base ${RELEASE_BRANCH} --title "[TASK] Prepare release for ${RELEASE_VERSION} on ${RELEASE_BRANCH}" && \ git checkout main && \ git branch -D prepare-release-${RELEASE_VERSION}
Check pull-request and the pipeline run.
Merge approved pull-request and push version tag
Set
RELEASE_PR_NUMBER
with the pull-request number of the preparation pull-request. SetRELEASE_BRANCH
to branch release should happen, for example: 'main' (same as in previous step). SetRELEASE_VERSION
to release version working on, for example:0.1.4
(same as in previous step).
RELEASE_BRANCH='main' ; \ RELEASE_VERSION='1.0.0' ; \ RELEASE_PR_NUMBER='123' ; \ git checkout main && \ git fetch --all && \ git pull --rebase && \ gh pr checkout ${RELEASE_PR_NUMBER} && \ gh pr merge -rd ${RELEASE_PR_NUMBER} && \ git tag ${RELEASE_VERSION} && \ git push --tags
This triggers the on push tags
workflow (publish.yml
) which creates the upload package,
creates the GitHub release and also uploads the release to the TYPO3 Extension Repository.