ThinkPHP is a free and open source, fast and simple object-oriented lightweight PHP development framework. It is released under the Apache2 open source agreement and was born for agile WEB application development and simplified enterprise-level application development. It has many excellent functions and features. After more than three years of development, with the active participation of the community team, it has been continuously optimized and improved in terms of ease of use, scalability and performance. Numerous typical cases ensure that it can be stably used in commercial applications. and portal-level development.
ThinkPHP5.1 has further improved the underlying architecture to reduce dependencies. Its main features include
Use containers to manage objects uniformly
Support Facade
Annotation routing support
Routing cross-domain request support
Configuration and routing directories are independent
Cancel system constant
Helper function enhancement
Class library alias mechanism
Add condition query
Improve query mechanism
Configuration adopts secondary
Dependency injection improvement
Support PSR-3 log specification
Middleware support (V5.1.6+)
Swoole/Workerman support (V5.1.18+)
The operating environment of ThinkPHP5 requires PHP5.6 or above and is compatible with PHP8.0.
Change log
V5.1.40 LTS (2020-10-09)
This is a regular update, mainly including
Improve redis driver `has` method
Fix XA transaction
Fix `HasManyThrough` association
Add mysql json type field->> method to obtain support
Improve route loading to avoid the impact of loading temporary files in the editor
Fix that the attributes of the associated model are directly attached to the current model. When the associated model field is named name, the value obtained is the attribute name value of the model.
Fix polymorphic association preloading `field` is invalid
Improve PHP compatibility issues of `column` method of Collection class
Improve mysql driver
Improve `parseclosure` method
SoftDelete delete condition short judgment
Improve the `append` method of validation class