diff --git a/composer.json b/composer.json index 4058fb4..bf868ba 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,8 @@ "d3/xrechnung_standalone": "dev-rel_1.0", "horstoeko/zugferd": "^1.0", "vlucas/phpdotenv": "^5.6", - "horstoeko/zugferdvisualizer": "^1.0" + "horstoeko/zugferdvisualizer": "^1.0", + "ajgl/composer-symlinker": "^0.2.5" }, "repositories": [ { @@ -19,6 +20,14 @@ "url": "gitfhfac@git.d3data.de:D3Private/XRechnungLib.git" } ], + "scripts": { + "post-install-cmd": [ + "Ajgl\\Composer\\ScriptSymlinker::createSymlinks" + ], + "post-update-cmd": [ + "Ajgl\\Composer\\ScriptSymlinker::createSymlinks" + ] + }, "config": { "preferred-install": { "*": "dist" @@ -28,5 +37,12 @@ }, "allow-plugins": { } + }, + "extra": { + "ajgl-symlinks": { + "d3/xrechnung_lib": { + "xrechnung-xml.php": "source/xrechnung-xml.php" + } + } } }