Forked package is not installed in forked laravel wrapper
Hi everyone,
I forked dompdf/dompdf library, and added few lines of codes. To use it, I also forked the laravel wrapper barryvdh/laravel-dompdf, to be able to use my new code.
So, in laravel-dompdf, I updated the composer.json and added my forked package :
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dimitribocquet/dompdf"
}
],
When i run composer install here, everything looks good.
So, in my laravel app, I use my forked laravel-dompdf :
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dimitribocquet/laravel-dompdf"
}
],
And now, when I composer install, my forked laravel-dompdf is installed, but it installs dompdf/dompdf instead of dimitribocquet/dompdf.
To install it, I also have to decalre it in repositories :
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dimitribocquet/laravel-dompdf"
},
{
"type": "vcs",
"url": "https://github.com/dimitribocquet/dompdf"
}
],
Obviously, I'd like to install my nested forked packages without thinking to declare them again.
Is this behaviour normal? Maybe I did something wrong.
Thank you for your help !
Please or to participate in this conversation.