talira

ThinkPHP

A PHP web framework popular in China, rebuilt for PHP 8

open sourceApache-2.0free

ThinkPHP is an open source PHP web framework. Version 8 is rebuilt for PHP 8.0 and later, upgrades its PSR dependencies, uses think-orm 3 for database access and adds think-dumper for remote debugging. A new project starts from Composer and runs with its own development server. Its documentation is in Chinese.

Problems it solves

  • build a PHP web application with a full-featured MVC framework
  • a PHP framework with Chinese documentation and a large Chinese community
  • upgrade an older PHP framework app to run on PHP 8

Features

  • rebuilt for PHP 8.0 and later
  • think-orm 3 for database access
  • think-dumper for remote debugging
  • seamless upgrade from versions 6.0 and 6.1
  • built-in development server via php think run

Limitations

  • Documentation and the project README are in Chinese1

Alternatives

The same job

These do what ThinkPHP does.

  1. CodeIgniter The small framework with powerful features
  2. laminas-mvc The Laminas Project's event-driven MVC framework for PHP applications
  3. Nette Framework Component-based PHP framework and standalone libraries with security built in
  4. Flow Framework A PHP web application framework focused on Domain-Driven Design and clean code
  5. Slim PHP micro framework for small web applications and APIs

Compare ThinkPHP with the top 3