使用php easydamin

奥雷连诺 / 2023-06-02 / 原文

#install composer
[root@izbpot8z bin]# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...

#move file
Composer (version 2.5.7) successfully installed to: /usr/bin/composer.phar
Use it: php composer.phar

[root@izbpot8z bin]# mv composer.phar /usr/bin/composer

#switch in project directory
tq0ocsm6oot8z xxxxxx]# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 40 installs, 0 updates, 0 removals
- Downloading mtdowling/jmespath.php (2.4.0)


- Installing topthink/framework (v6.0.8): Extracting archive
- Installing topthink/think-captcha (v3.0.2): Extracting archive
- Installing topthink/think-multi-app (v1.0.11): Extracting archive
- Installing topthink/think-template (v2.0.7): Extracting archive
- Installing topthink/think-view (v1.0.13): Extracting archive
- Installing doctrine/annotations (1.13.2): Extracting archive
- Installing zhongshaofa/easy-admin (v1.0.2): Extracting archive
- Installing zhongshaofa/thinkphp-log-trace (v1.0.1): Extracting archive
Generating autoload files
> @php think service:discover
Succeed!