de-swebhosting / typo3-surf-hardlink-release
Hardlink releases for TYPO3 Surf
Package info
github.com/astehlik/typo3-surf-hardlink-release
pkg:composer/de-swebhosting/typo3-surf-hardlink-release
v1.2.0
2026-07-14 06:10 UTC
Requires
- php: >=8.2 <8.5
- typo3/surf: ^3.1
Requires (Dev)
- de-swebhosting/php-codestyle: ^5.4
- phpunit/phpunit: ^11.4
This package is auto-updated.
Last update: 2026-07-16 09:33:29 UTC
README
This repo provides a task for TYPO3 Surf to release your application with hardlinks instead of softlinks.
How it works
When the application is released, the release directory is copied to next using hardlinks:
cp -al 20201228192426 next
To switch the release to the new version, the directories current and next are moved:
mv ./current ./previous mv ./next ./current
How to use
In the registerTasks() method of your application you can use the HardlinkReleaseRegisterer to
replace the symlink release with a hardlink release:
(new \De\SWebhosting\TYPO3Surf\HardlinkReleaseRegisterer()) ->replaceSymlinkWithHardlinkRelease($workflow, $this);