Download the PHP package mitoop/ace without Composer

On this page you can find all versions of the php package mitoop/ace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ace

Ace

🥇 macOS 下优雅管理多版本 PHP 的命令行工具


简介

Ace 是一款 macOS 平台下的 PHP 多版本切换工具,灵感来自优秀的 laravel/valet

如果你本地安装了多个版本的 PHP,并希望在不同项目中使用不同版本,Ace 将是你不可或缺的工具。

只需在项目根目录下运行:

Ace 会自动为当前项目匹配最合适的 PHP 版本,无需手动切换。


快速命令参考


版本匹配逻辑

Ace 会按照以下优先级查找项目所需 PHP 版本:

  1. 当前目录中的 ace.json
  2. 当前目录中的 composer.json
  3. 系统环境变量中的默认 PHP 版本

例如:

支持语义化版本约束,详见 https://semver.org/lang/zh-CN/


安装方式


注意事项

  1. 支持的 PHP 版本为 >= 7.1
  2. 若版本约束为 ^7.1,且本地存在 [email protected], [email protected], [email protected], [email protected], [email protected] 等版本,Ace 会选择 最高的 [email protected],即 [email protected]
  3. 若需固定版本,请在项目中创建 ace.json 并指定版本
  4. 首次运行会缓存所有已安装的 PHP 版本,加快后续执行速度。新增/移除 PHP 后请运行 ace clear 清除缓存
  5. 多版本 PHP 同时启用时,需注意 php-fpm 的监听端口冲突。建议使用不同端口,或通过 unix socket 方式运行
  6. 推荐使用 shivammathur/homebrew-php 安装旧版本 PHP
  7. 多版本 PHP 安装相同扩展(如 redis)时可能冲突。可在对应版本下先卸载再安装
  8. Composer 高版本对 PHP 有最低要求,例如:

    可使用长期维护版:


灵感来源

✨ Inspired by the great laravel/valet


All versions of ace with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.0
ext-json Version *
composer/semver Version ^3.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mitoop/ace contains the following files

Loading the files please wait ....