How to statically link your composer.json file for local project editing
ComposerTypically to make modifications to a remote repository, you have to fork it and then connect to your main branch. For example:
"require": { ... "unisharp/laravel-filemanager": "dev-hyperlink-tree-view" }, "repositories": [ { "type": "vcs", "url": "https://github.com/eugenefvdm/laravel-filemanager" }],
This works great because all items you push to your own repo will now be automatically incorporated into your project. However, you have to pull first.
So instead, just change the bottom section so:
"repositories": [ { "type": "path", "url": "../laravel-filemanager" } ],
Keep your old settings though, because once you publish your source code, you have to remove it as the server won't be able to load the files locally.
Once you've made the above change, then do this:
composer require unisharp/laravel-filemanager:dev-hyperlink-tree-view