Local executable for Composer

Last month I learned this little trick for Composer. If you modify your PATH env variable in this way

export PATH="vendor/bin":$PATH

when you switch project it will automatically load the local executable for the dependency.

Leave a Reply

Your email address will not be published. Required fields are marked *