appwrite/php-runtimes
最新稳定版本:0.19.2
Composer 安装命令:
composer require appwrite/php-runtimes
包简介
Appwrite repository for Cloud Function runtimes that contains the configurations and tests for all of the Appwrite runtime environments.
关键字:
README 文档
README
Appwrite repository for Cloud Function runtimes that contains the configurations and tests for all of the Appwrite runtime environments. This library is maintained by the Appwrite team.
Getting Started
Install using composer:
composer require appwrite/php-runtimes
<?php require_once '../vendor/autoload.php'; use Appwrite\Runtimes\Runtimes; $runtimes = new Runtime(); // returns all supported cloud function runtimes Runtimes::getAll();
Adding a new Runtime
After the Docker image is created, this must be added to the main class of this library.
References to this must be added to the constructor of src/Runtimes/Runtimes.php.
Example:
$dotnet = new Runtime('dotnet', '.NET'); $dotnet->addVersion('5.0', 'mcr.microsoft.com/dotnet/runtime:5.0-alpine', 'appwrite/env-dotnet-5.0:1.0.0', [System::X86, System::ARM]); $runtimes[] = $dotnet;
Contributing
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.
Authors
Torsten Dittmann
Copyright and license
BSD 3-Clause License https://opensource.org/licenses/BSD-3-Clause
统计信息
- 总下载量: 123.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 48
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2021-04-22