Title, I'm a little confused, who can say it carefully:
1, the difference between psr-0 and psr-4 in composer;
2, the difference between the psr-0 norm and the psr-4 norm;
3, composer and Php-fig, who indulge who.
Reply content:
Title, I'm a little confused, who can say it carefully:
1, the difference between psr-0 and psr-4 in composer;
2, the difference between the psr-0 norm and the psr-4 norm;
3, composer and Php-fig, who indulge who.
is actually a naming specification and automatic loading (autoload) of a standard, specifically can see the official homepage of Php-fig, there are detailed provisions and examples
Composer in the psr-0 and Psr-4 is said that the two norms, not because in the composer is not the same. Composer can be understood as the Yum,mac brew of CentOS, composer is a dependency management tool for PHP. About the composer automatic loading mechanism, you can look at my column: Laravel study notes composer automatic loading, I hope to help you.