PHP code example of vansari / composer-symlink
1. Go to this page and download the library: Download vansari/composer-symlink library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vansari / composer-symlink example snippets
composer
{
"mposer-symlink": "^1.0"
},
"scripts": {
"post-install-cmd": "tools\\Symlinker::createSymlinks",
"post-update-cmd: "tools\\Symlinker::updateSymlinks"
},
"extra": {
"symlinks": {
"origin": {
"rel": [
"target/subdir"
]
},
"origin2": {
"rel": [
"target1/subdir",
"target2/subdir"
]
},
"file.php": {
"abs":[
"target3/symlinked.php"
]
}
}
}
}