When developing package, how to add laravel passport as the dependency without duplicating laravel itself? #43482
Unanswered
ProteanCode
asked this question in
Q&A
Replies: 1 comment
-
It's a package registered on packagist. https://packagist.org/packages/laravel/passport maybe use that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there
I am creating my own auth scaffolding package using Laravel Passport as its dependency.
I am however confused about my package having a Laravel framework in its vendor directory.
What if I that version will ship a Laravel 9 in its own directory, but be composer-required by Laravel 8?
Am I doing something wrong? I do not see that any of native packages that ships with Laravel itself have vendor directory on their own.
My package is in sibling directory to /app (/packages/xxx/composer.json), so I guess this is why I have that fat vendor directory shipped with it when I do composer update
Beta Was this translation helpful? Give feedback.
All reactions