Home > PHP Framework > ThinkPHP > TP framework V6.0.10LTS has been released (compatible with PHP8.1)

TP framework V6.0.10LTS has been released (compatible with PHP8.1)

Release: 2022-01-04 16:09:44
forward
2815 people have browsed it

ThinkPHP V6.0.10 version mainly adds PHP8.1 compatibility support, as well as some improvements to ThinkORM, and is announced to be the second LTS version in the history of ThinkPHP. On this occasion of bidding farewell to the old and welcoming the new, I wish everyone a happy new year!

The core of the 6.0LTS version will no longer be updated with functions, only optimization and bug fixes will be made. The bug fix time and security updates will be extended to October 24, 2024.

Main update

  • Compatible with PHP8.1

  • Improved cookie cross-domain deletion

  • Improve multi-language automatic loading

  • Improve url generation

  • Filesystem adds url method to obtain file access address

  • File upload error supports multiple languages

  • Fix the make:controller command error

  • Before sending cookies First check whether the request header has been sent

  • Improve the file hashName conflict problem in multi-file upload

  • Adjust the thinkPath path assignment to a real absolute path to avoid Potential risks in special environments

  • Support psr7 response

  • Controller middleware supports dynamic parameters

  • Improve env file parsing

ThinkORM major update:

  • Correction of column method

  • Add filter data processing mechanism to Db and model

  • Adjust json processing

  • Correct sqlite driver lock

  • Getting the database field type is case-insensitive

  • Correction of many-to-many association intermediate table data

  • Correction of many-to-many model

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

  • Improve the associated soft delete query

  • Improve character escaping when obtaining sql

Installation and update

The V6 version only supports Composer installation and update, and the previous one is supported. For seamless version updates, just use

composer update
Copy after login

to update to the latest version.

If you need a new installation, use:

composer create-project topthink/think tp
Copy after login

Recommended learning: "The latest 10 thinkphp video tutorials"

The above is the detailed content of TP framework V6.0.10LTS has been released (compatible with PHP8.1). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:weixin
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template