In web development, either working or not with a framework, the need for installing packages is almost inevitable. There are a few which are really indispensable for each and every person.
Part one of my question is, what should be the deciding factors on when to install an X or Y package or not (and just develop the necessary logic yourself).
Second part of my question is, do installed packages influence a lot of the web apps performance? For example, I once saw an image of a company called Spatie (which develops Laravel packages) create a web app for a client, and the list of packages they were installing was gigantic (my standards, like around 30 or 40).