Home headlines ThinkPHP6.0RC2 version released-architecture upgrade, streamlined core

ThinkPHP6.0RC2 version released-architecture upgrade, streamlined core

Apr 23, 2019 am 10:28 AM

Since the 5.2 version was changed to 6.0, the official has been committed to optimizing the architecture and streamlining the core. At the same time, it is also preparing manuals and testing work. After nearly one month of development, After iteration, the official announced the release of ThinkPHP6.0RC2 version.

Main updates

Compared with the RC1 version, the updates and adjustments are larger. The main updates are as follows:

● The underlying architecture has been optimized and adjusted for coroutines

● Add WEB application management classHttp

● Add application initialization service and service registration mechanism

● Use event system to take over query events and model events

SessionClass refactoring, no longer uses PHP built-in session

CookieThe class only supports setting and writing, and no longer supports reading

● Cancel the dynamic setting function of the Config class

● Part of the core functions are middleware (page Trace, multi-language, request caching and Session initialization)

● Cancel the conventional configuration file

● Add driver interface specification driver development

● Improve Db class and query class

● Streamline some unnecessary class libraries

● Improve route registration

● Due to abnormal needsView class was changed to built-in, but only supports native PHP templates by default

● A lot of detail improvements and corrections

Due to architectural adjustments, it is recommended that users of the previous 5.2RC version reinstall version 6.0 for testing.

Installation framework

6.0 version only supports composer installation (it is recommended to use domestic mirror installation), also Git installation is no longer supported. Since it has not been officially released, currently only the 6.0.x-dev development version is supported.

composer create-project topthink/think=6.0.x-dev tp
Copy after login

About extensions

Some commonly used official extensions have been basically upgraded, but there may still be problems. The official will continue to improve and fully test them. Here Please do not rely entirely on these extensions before.

Development Manual (Preview Version)

The official complete development manual has been released, but it is only a preview version and will be continuously improved as the framework is updated. Everyone is welcome to provide timely feedback on questions and suggestions during the use and learning process to help us improve the new version as soon as possible.

Related recommendations:

ThinkPHP6.0 version is officially released, fully embracing the component development trend

ThinkPHP v6.0 Framework source code download

ThinkPHP5.2 releases Beta2 version - unifying and streamlining a large number of usage

[Exclusive full illustration]ThinkPHP6 Framework download and installation

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)