Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Terumi's avatar

Creating symbolic links from package

Hello people, Does anybody know how can I create symbolic links from my custom package in /vendor folder to any folder in the application?

Thank you

0 likes
6 replies
Sinnbeck's avatar

Probably yes. But but why do you need to?

ln -s ./vendor/your/package/folder ./project/folder
Terumi's avatar

@Sinnbeck I know I can do it that way, but I'm in a Windows enviroment. I want the packageprovider to create the link. I want to do it that way because I don't want the package users to be messing with the files of my package directly. It will make my updates more easy.

Sinnbeck's avatar

@Terumi that's why laravel allows you to publish files. See how horizon does it

Please or to participate in this conversation.