ThinkPHPV8.0 release

2023-07-30 22:37:03

ThinkPHPV8.0 is a refactored version based on PHP 8, with upgraded dependencies. The official team has introduced an AI assistant to enhance the development experience, and has increased the ThinkORM dependency version to 3.0, supporting seamless upgrades for 6.0/6.1.

Although ThinkPHPV8.0 doesn't bring significant updates to core functionalities (in fact, most users don't need overly complex underlying features), as a brand-new version, its greater significance lies in an official stance—Cogito ergo sum. ThinkPHP is seeking change or new exploration. From the new logo and website to a series of official ecosystem services being rolled out, every move is telling users that we aim to do more for the ecosystem and its users, better embodying the official philosophy of "simplicity is the ultimate sophistication" in development and vision, thereby helping developers build better. On the occasion of this new release, the official team has also formally announced the launch of private AI development assistant services.ThinkChat

ThinkPHP8.0, as a brand-new version, carries the official's fresh expectations for the future ecosystem. The official team will continue to uphold the strategies of "simplicity is the ultimate sophistication" and seamless upgrades, striving to create a user-friendly framework and services to facilitate the update and iteration of ecosystem products and services. The release of this version marks an important step for ThinkPHP in its path of continuous innovation and improvement. This new version is not just an upgrade of past versions, but also a push and revolution for the domestic PHP development ecosystem. It is believed that through this new version and the introduction of the AI development assistant, it will bring developers a more convenient and efficient development experience, helping them build more outstanding web applications.

Major updates

  • Based on PHP8.0+ refactoring
  • Added startWith, endWith, and contain validation rules
  • Simplified validation class regular expressions
  • Optimized route detection
  • Upgrade PSR dependency
  • Dependent on think-orm3.0 version

The 8.0 version will continue to update other features, while the 6.0/6.1 versions will no longer receive new feature updates, only bug fixes and security updates.

Documentation

8.0 version starts using the new official manual domain:doc.thinkphp.cnand supports version switching.


Reprinted from: ThinkPHPhttps://www.thinkphp.cn/