PHP code example of mitoop / ace
1. Go to this page and download the library: Download mitoop/ace library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mitoop / ace example snippets
shell
ace # ace 等同于执行 ace php
ace php
ace composer
ace pecl
ace clear # 清除 ace 缓存
ace hello # Hello Ace!
# 调用
ace -v # 查看当前 PHP 版本
ace php -v # 查看当前 PHP 版本
ace artisan migrate # 执行 laravel 的 artisan
ace composer install # 执行 composer install
ace pecl install redis # 安装当前 PHP 版本的 redis 扩展
json
{
"php": "^7.4.0"
}