ThinkPHP 是一个基于 PHP 的轻量级 Web 开发框架。在命令行中,您可以使用以下参数来执行一些常见的任务:
composer create-project topthink/think tp_name
php think run
或
php think s
php think key:generate
php think make:controller ControllerName
php think make:model ModelName
php think make:middleware MiddlewareName
php think make:command CommandName
php think schedule:run
php think cache:clear
php think config:clear
php think view:clear
php think migrate
php think migrate:rollback
这些命令只是 ThinkPHP 命令行参数的一部分。您可以在官方文档中查看更多详细信息:https://www.kancloud.cn/manual/thinkphp6_0/content