Common or separate PHP libraries for each project?

Hi! Wich of the following stragies do you prefer with PHP projects?

1. Use a common PHP library (which is located outside the project folders) for different PHP projects?

2. Each PHP project uses its own version of the same library which is located inside each project folder?

I think that when using strategy #1 and something changes inside the library this could have adverse effects for already completed projects using the same common library.

Which strategy is better?

Please sign in to leave a comment.