php - How can I test/install an untagged version of a composer package? -


i test private composer package on localhost without need commit new tag perform test.

my package tree

   ├── composer.json ├── readme.md └── src     ├── controllers     │      ├── models      ├── providers     │   └── routegenericserviceprovider.php     ├── repositories      ├── routes     │   └── generics.php     ├── services     │      └── transformers 

as alternative suggested bey @matteo, can use inline alias , reference commit hash instead of tag.

assume x.y.z version have installed, , #123abc hash of commit tag once tested (probably head of whatever branch want test), run:

$ composer require "my/package:dev-master#123abc x.y.z" 

for reference, see:


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -