Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the new features of ThinkPHP V6.0.10LTS

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "what are the new functions of ThinkPHP V6.0.10LTS". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what are the new functions of ThinkPHP V6.0.10LTS"?

ThinkPHP V6.0.10 mainly adds PHP8.1 compatibility support, as well as some improvements to ThinkORM, and announced that it has become the second LTS version in the history of ThinkPHP. I wish you all a happy New year as you bid farewell to the New year and welcome the New year!

The core of the 6.0LTS version will no longer do functional updates, only optimization and BUG repair, and the BUG repair time and security updates will be extended to October 24th, 2024.

Major updates

Compatible with PHP8.1

Improved cookie cross-domain deletion

Improved multilingual automatic loading

Improved url generation

Filesystem adds url method to obtain file access address

File upload error supports multiple languages

Fix make:controller instruction error

Check whether the request header has been sent before sending cookie

Improve the problem of hashName conflicts in multiple file uploads

Adjust thinkPath path assignment to true absolute path to avoid potential dangers in special environment

Support for psr7 response

Controller middleware supports dynamic parameters

Improved env file parsing

Major updates to ThinkORM:

Modified column method

Db and model add filter data processing mechanism

Adjust json processing

Fixed sqlite driver lock

Get database field types are not case-sensitive

Correction of many-to-many associated intermediate table data

Modified many-to-many model

Improve the processing mechanism of db class hidden/visible/append method

Improve the associated soft delete query

Improve the character escape when obtaining sql

Install and update

V6 version only supports Composer installation and update, supports seamless update of the previous version, and directly uses

Composer update

Just update to the latest version.

If a fresh installation is required, use:

Composer create-project topthink/think tp so far, I believe you have a deeper understanding of "what are the new features of ThinkPHP V6.0.10LTS?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report