thinkphp本地调试安装指南

网络技术2年前 (2021)发布 电商君
2,201 0
thinkphp本地调试安装指南

composer 更新到最新的后

输入安装命令 composer create-project topthink/think tp

 

 

thinkphp本地调试安装指南

 

 

______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 2.1.8 2021-09-15 13:55:14

Usage:
command [options] [arguments]

Options:
-h, –help Display this help message
-q, –quiet Do not output any message
-V, –version Display this application version
–ansi Force ANSI output
–no-ansi Disable ANSI output
-n, –no-interaction Do not ask any interactive question
–profile Display timing and memory usage information
–no-plugins Whether to disable plugins.
-d, –working-dir=WORKING-DIR If specified, use the given directory as working directory.
–no-cache Prevent use of the cache
-v|vv|vvv, –verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
about Shows a short information about Composer.
archive Creates an archive of this composer package.
browse Opens the package’s repository URL or homepage in your browser.
cc Clears composer’s internal package cache.
check-platform-reqs Check that platform requirements are satisfied.
clear-cache Clears composer’s internal package cache.
clearcache Clears composer’s internal package cache.
config Sets config options.
create-project Creates new project from a package into given directory.
depends Shows which packages cause the given package to be installed.
diagnose Diagnoses the system to identify common errors.
dump-autoload Dumps the autoloader.
dumpautoload Dumps the autoloader.
exec Executes a vendored binary/script.
fund Discover how to help fund the maintenance of your dependencies.
global Allows running commands in the global composer dir ($COMPOSER_HOME).
help Displays help for a command
home Opens the package’s repository URL or homepage in your browser.
i Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
info Shows information about packages.
init Creates a basic composer.json file in current directory.
install Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
licenses Shows information about licenses of dependencies.
list Lists commands
outdated Shows a list of installed packages that have updates available, including their latest version.
prohibits Shows which packages prevent the given package from being installed.
reinstall Uninstalls and reinstalls the given package names
remove Removes a package from the require or require-dev.
require Adds required packages to your composer.json and installs them.
run Runs the scripts defined in composer.json.
run-script Runs the scripts defined in composer.json.
search Searches for packages.
self-update Updates composer.phar to the latest version.
selfupdate Updates composer.phar to the latest version.
show Shows information about packages.
status Shows a list of locally modified packages.
suggests Shows package suggestions.
u Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
update Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
upgrade Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
validate Validates a composer.json and composer.lock.
why Shows which packages cause the given package to be installed.
why-not Shows which packages prevent the given package from being installed.

D:\phpstudy_pro\WWW\www.tp6.cn>composer create-project topthink/think tp
Creating a “topthink/think” project at “./tp”
Installing topthink/think (v6.0.9)
– Downloading topthink/think (v6.0.9)
– Installing topthink/think (v6.0.9): Extracting archive
Created project in D:\phpstudy_pro\WWW\www.tp6.cn\tp
Loading composer repositories with package information
Updating dependencies
Lock file operations: 15 installs, 0 updates, 0 removals
– Locking league/flysystem (1.1.5)
– Locking league/flysystem-cached-adapter (1.1.0)
– Locking league/mime-type-detection (1.7.0)
– Locking psr/cache (1.0.1)
– Locking psr/container (1.1.1)
– Locking psr/log (1.1.4)
– Locking psr/simple-cache (1.0.1)
– Locking symfony/polyfill-mbstring (v1.23.1)
– Locking symfony/polyfill-php72 (v1.23.0)
– Locking symfony/polyfill-php80 (v1.23.1)
– Locking symfony/var-dumper (v4.4.30)
– Locking topthink/framework (v6.0.9)
– Locking topthink/think-helper (v3.1.5)
– Locking topthink/think-orm (v2.0.44)
– Locking topthink/think-trace (v1.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 15 installs, 0 updates, 0 removals
– Downloading psr/cache (1.0.1)
– Downloading league/mime-type-detection (1.7.0)
– Downloading league/flysystem (1.1.5)
– Downloading league/flysystem-cached-adapter (1.1.0)
– Downloading psr/container (1.1.1)
– Downloading symfony/polyfill-php80 (v1.23.1)
– Downloading symfony/polyfill-php72 (v1.23.0)
– Downloading symfony/polyfill-mbstring (v1.23.1)
– Downloading symfony/var-dumper (v4.4.30)
– Downloading topthink/think-helper (v3.1.5)
– Downloading psr/simple-cache (1.0.1)
– Downloading psr/log (1.1.4)
– Downloading topthink/think-orm (v2.0.44)
– Downloading topthink/framework (v6.0.9)
– Downloading topthink/think-trace (v1.4)
– Installing psr/cache (1.0.1): Extracting archive
– Installing league/mime-type-detection (1.7.0): Extracting archive
– Installing league/flysystem (1.1.5): Extracting archive
– Installing league/flysystem-cached-adapter (1.1.0): Extracting archive
– Installing psr/container (1.1.1): Extracting archive
– Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
– Installing symfony/polyfill-php72 (v1.23.0): Extracting archive
– Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
– Installing symfony/var-dumper (v4.4.30): Extracting archive
– Installing topthink/think-helper (v3.1.5): Extracting archive
– Installing psr/simple-cache (1.0.1): Extracting archive
– Installing psr/log (1.1.4): Extracting archive
– Installing topthink/think-orm (v2.0.44): Extracting archive
– Installing topthink/framework (v6.0.9): Extracting archive
– Installing topthink/think-trace (v1.4): Extracting archive
14 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
> @php think service:discover
Succeed!
> @php think vendor:publish
Succeed!
6 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...