samedi 8 février 2020

setting composer dependency as 'self.version' in forked package

The following package https://github.com/goavega-software/laravel-azure-servicebus-topic/blob/master/composer.json#L20-L22 has fixed dependency versions but I would like to fork it and keep the dependencies dynamic based on the laravel framework like below:

https://github.com/laravel/framework/blob/v5.8.36/composer.json#L52 https://github.com/laravel/framework/blob/v5.8.36/composer.json#L56 https://github.com/laravel/framework/blob/v5.8.36/composer.json#L70

This way, there will be no need to have tagged version like a person did in this repo:

https://github.com/squigg/azure-queue-laravel/blob/v5.8.0/composer.json https://github.com/squigg/azure-queue-laravel/blob/v5.7.0/composer.json

Is it possible to do it using replace? If yes, how? If no, why?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2OFv08B
via IFTTT

Aucun commentaire:

Enregistrer un commentaire