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

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

藏色散人
藏色散人forward
2022-01-04 14:20:122765browse

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

to update to the latest version.

If you need a new installation, use:

composer create-project topthink/think tp

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!

Statement:
This article is reproduced at:weixin. If there is any infringement, please contact admin@php.cn delete