F
Filamentβ€’16mo ago
othmansalem

Composer removes packages

when installing phpstan via composer require --dev phpstan/phpstan it automaticlly removes filament/spatie-laravel-media-library-plugin is there a problem here ???
6 Replies
Dennis Koch
Dennis Kochβ€’16mo ago
I've never seen composer "automatically remove" packages πŸ€” Can you share a video of this?
othmansalem
othmansalemOPβ€’16mo ago
othmansalem
othmansalemOPβ€’16mo ago
i think this package filament/spatie-laravel-media-library-plugin used as dependency for another package it doesn't appear in composer.json @Dennis Koch
Saifallak
Saifallakβ€’16mo ago
that package will be removed anyway when you do composer update or any other installation/update of any package, because its found in composer.lock only, and not composer.json, means its not used anymore by you, so if you need that package add it to composer.json if not just ignore it
Dennis Koch
Dennis Kochβ€’16mo ago
If you don't use that package, what's the issue then? πŸ˜…
othmansalem
othmansalemOPβ€’16mo ago
Got it thanks guys
Want results from more Discord servers?
Add your server