This is a simple guide to use a package with composer from local git repository.
Imagine you have forked the repository bandwidth-throttle/token-bucket and pushed some changes on a branch called new-feature.
Now, you want to use it on another project. How to do this?
First, you need to do some changes on composer.json file in your main project.