[PHP series] PHP recommended standard PSR-1, PSR-2, psr-1psr-2
At least the code. When I first went to college, the teacher taught us to write the code strictly and properly. The code is like a person, and the work is complete. The canonicalized
As the question, I am engaged in a little mixed, who can be careful to talk about: 1, composer psr-0 and psr-4 In the difference; 2, psr-0 specifications and psr-4 specifications of the difference; 3. composer and php-fig. For example, I am a bit
PHP psr-0 psr-4 autoloading composer
In the previous article, we introduced PSR-0 and autoload-related content. Following the PSR-0, the PHP autoloading specification, the PHP-FIG has introduced a PSR-4 called the improved autoloading specification.
1. PSR-4 Specification: Automatic loading
Although it is noted in [Psr-4-meta] that PSR-4 is a supplement to the PSR-0 specification rather than a replacement, it has been written in [PSR-0] that PSR-0 was abandoned in 2014.10.21 and that the Psr-4
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
Psr
PHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the specification has PSR-0 (autoloading), PSR-1 (Basic Coding) , PSR-2 (Coding Style Guide), PSR-3 (Logger
What are the contents of the PSR Series specifications of PHP, what are the PHPPSR specifications?
Psr
PHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the
PSR Specification
PSR Specification
Introduction: PSR is a shorthand for PHP standard recommendations, PHP specifications developed by the PHP FIG organization, is the practice of PHP development standards. The purpose of these specifications is to:
Follow the automatic loading of the PSR-4 and follow the PSR-4 loading. Follow the PSR-4 of automatic loading, follow the PSR-4 loading, first of all here to understand the PSR-4, ProposingaStandardsRecommendation (put forward standard
Transferred from: http://www.cnblogs.com/x3d/p/php-psr-standards.htmlPsrPHP Standard recommendation shorthand, it should be called PSRs, that is, the series of recommended standards: the current adoption of the specification has PSR-0 (autoloading),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.