Thinkphp6.0 core analysis summary



The article on tp6 core code analysis written before has been sorted out, re proofread, leak detection and vacancy filling. Now it is sorted into a volume for easy reference.


  1. Automatic loading principle
  2. Dependency injection principle
  3. Initialization of request class
  4. Application initialization
  5. Loading of global Middleware
  6. Execution of Middleware
  7. URL resolution
  8. Execution of controller
  9. Send response and close out work
  10. Event mechanism
  11. Facade mode
  12. system service

Document address:…

This work adoptsCC agreement, reprint must indicate the author and the link to this article

Was mich nicht umbringt, macht mich stärker