appwrite / php-runtimes
Appwrite repository for Cloud Function runtimes that contains the configurations and tests for all of the Appwrite runtime environments.
Installs: 48 410
Dependents: 1
Suggesters: 0
Security: 0
Stars: 44
Watchers: 16
Forks: 23
Open Issues: 2
Requires
- php: >=8.0
- utopia-php/system: 0.9.*
Requires (Dev)
- laravel/pint: ^1.15
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.3
- dev-main
- 0.16.5
- 0.16.4
- 0.16.3
- 0.16.2
- 0.16.1
- 0.16.0
- 0.15.0
- 0.14.x-dev
- 0.14.0
- 0.13.5
- 0.13.4
- 0.13.3
- 0.13.2
- 0.13.1
- 0.13.0
- 0.12.0
- 0.11.1
- 0.11.0
- 0.10.0
- 0.9.1
- 0.9.0
- 0.8.0
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-feat-flutter-rntime
- dev-feat-increase-memory-sizes
- dev-feat-go
- dev-feat-github-action
- dev-feat-update-system
- dev-feat-bun-runtimes
- dev-feat-add-start-commands
- dev-feat-upgrade-system-version
- dev-feat-runtime-logs
- dev-feat-console-logs
- dev-feat-add-dotnet
- dev-feat-add-cpp
- dev-feat-add-kotlin
- dev-feat-add-java
- dev-feat-seperate-run-images
- dev-feat-dart-version
- dev-feat-enable-swift
- dev-fix-runtime-version
- dev-feat-migrate-to-open-runtimes
- dev-refactor
- dev-fix-dart-runtime
- dev-refactor-fix-nodejs
- dev-refactor-php-fixes
- dev-feat-php-8.1
- dev-doc-add-contributing
- dev-feat-node-17
- dev-feat-dart-new-runtimes-and-fix
- dev-feat-deno-new-with-official
This package is auto-updated.
Last update: 2024-11-25 15:17:17 UTC
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