Summary: tp5.2
was directly renamed to 6
, The reason is that the entire framework architecture has changed, and the framework will be used as A component is integrated into the project, fully embracing the component development trend, which is completely consistent with laravel
. At present, the official 6.0
manual is still being written and has not been released yet. The php Chinese website will update it as soon as it is released!
Course recommendation:
The following is the latest official information:
ThinkPHP5.2
version official change For the 6.0
version
, mainly considering the two major reasons of the new architecture adjustment changes and the inability to support seamless upgrades, the official announcement of ThinkPHP5.2RC version
The version number has been changed from the original 5.2
to 6.0
(this plan has been mentioned many times by core members before), but the PHP version
requirements have not changed for the time being. (Still 7.1
).
The latest 6.0 version
will provide more complete support for Swoole
and unit testing. App
The application architecture system has also undergone major changes. It has been split from the original single App responsibility class into an App base class and two App class runtimes, including Http class
(Satisfies Http services including WEB services) and the Console class, and can more conveniently call each other between the two runtimes. Of course, it can also be more convenient to expand more App runtimes.
Only the Http runtime supports routing and multi-application mechanisms. There is no concept of multi-application and routing in the Console
runtime.
The official plan is to release the second RC version before May 1 this year, when a new version of the manual will be ushered in, and most of the expansions will be basically upgraded.
Then the question is, do you want 5.1 LTS version
to be the last version of 5.x version
? Everyone is welcome to leave a message for discussion.
Related recommendations:
ThinkPHP v6.0 framework source code download
ThinkPHP5.2 releases Beta2 version - unifying and streamlining a large number of usages
[Exclusive full illustration] Download and installation of ThinkPHP6 framework