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 confused. Who can tell me carefully:
1. The difference between
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
[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 code is controlled from the very beginning when you use the command line to edit the C language code, and you are force
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 recommendations) abbreviation, is a PHP
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.
In the
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.2
PSR-1 basic code specification, psr-1 code specification
This article provides standards for the basic elements of the Code to ensure that the shared PHP code has a high degree of technical interconnectivity.
Key words: "MUST" ("MUST"), "must not/must not" ("must not"), and "need" ("REQUIRED "), "will" ("SHALL"), "no" ("shall not"), "SHOULD" ("shocould"), and "shouldn't" ("shocould NOT ") for detailed descr
PSR is a series of PHP development specifications, divided into several versions, their own learning is also relatively superficial, but still want to be able to review the specification, in order to facilitate memory and follow, I put the key words for the necessary to pick up, do a simple necessary standard records. (It's a brick-moving ... )Https://github.com/PizzaLiu/PHP-FIGhttp://segmentfault.com/a/1190000002521577Official release file versionPSR
First, Introduction
First of all, here to understand psr,proposing a standards recommendation (the standard recommendation) abbreviation, is a PHP development specification, let us develop the code more reasonable, better maintenance, more readable. There are several criteria for PSR:
PSR-0: Auto Load
PSR-1:
[PHP] A brief description of the PSR specification
This is a series of php Development specifications, which are divided into several versions and are relatively superficial. However, we still hope to view the specifications from time to time. in order to facilitate memory and follow-up, I picked up the keywords as necessary and made a simple and necessary standard record. (It is a brick-and-mortar ...)Https://github.com/PizzaLiu/PHP-FIGHttp:
Good code writing habits can make people pleasing to the eye, the following this article to share the code of PHP to meet the PSR programming specifications, the need for friends can refer to, let's take a look at it.
Objective
About the development of the standard this piece, can say has always been different styles, each home has a play, folk is also a personal play. At present, our domestic more well-known frameworks (Yii,laravel) have supported c
Share PHP instances that comply with the PSR programming specifications, and phppsr programming instances
Preface
With regard to the development standard, it can be said that there have always been different styles, each of which has its own gameplay, and even more private. At present, several well-known frameworks in China (Yii, Laravel) have supported Composer and joined the PHP-FIG (php Framework Program Group ).
The automatic loading of Composer s
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 Interface),
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 specification has PSR-0 (autoloading), PSR-1 (Basic Coding) ,
====================PSR-0 (Automatic loading specification)=======================The PSR-0 (autoloading standard) class auto-load specification, which is now obsolete (Deprecated), will be replaced by PSR-4.1. A fully qualified namespace and class name must follow the following structure "\vendorname\namespace\classname"2. Each namespace must have a top-level na
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), PSR-1 (Basic Coding) , PSR-2 (Coding Style Guide),
PHP PSR-1 Basic Code Specification (Chinese version),
Basic code Specification
This specification formulates the relevant standards for the basic elements of Code,To ensure a high degree of technical interoperability between shared PHP code.
Keywords "must" ("must"), "must not/must not be" ("must not"), "Need" ("REQUIRED"),"Will" ("Shall"), "no" ("Shall not"), "should" ("should"), "shouldn't" ("should not"),Detailed descriptions of "recommended" ("RE
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: through the framework of the author or the representative of the framework of the discussion, with the minimum limi
Basic code SpecificationThis specification formulates the relevant standards for the basic elements of Code,To ensure a high degree of technical interoperability between shared PHP code.Keywords "must" ("must"), "must not/must not be" ("must not"), "Need" ("REQUIRED"),"Will" ("Shall"), "no" ("Shall not"), "should" ("should"), "shouldn't" ("should not"),Detailed descriptions of "recommended" ("RECOMMENDED"), "Can" ("may") and "optional" ("OPTIONAL") can be found in RFC 2119.1. Overview
P
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.