2020-01-22 03:39:42 +13:00
< ? php
const APP_PLATFORM_WEB = 'web' ;
const APP_PLATFORM_IOS = 'ios' ;
const APP_PLATFORM_ANDROID = 'android' ;
const APP_PLATFORM_UNITY = 'unity' ;
const APP_PLATFORM_FLUTTER = 'flutter' ;
2020-01-31 05:17:58 +13:00
2020-01-22 03:39:42 +13:00
const APP_PLATFORM_SERVER = 'server' ;
2020-01-27 19:14:14 +13:00
const APP_PLATFORM_CLIENT = 'client' ;
2020-01-31 05:17:58 +13:00
const APP_PLATFORM_CONSOLE = 'console' ;
2020-01-28 10:50:41 +13:00
2020-01-22 03:39:42 +13:00
return [
APP_PLATFORM_WEB => [
2020-02-09 07:52:59 +13:00
'key' => APP_PLATFORM_WEB ,
2020-01-22 03:39:42 +13:00
'name' => 'Web' ,
2020-02-01 23:41:39 +13:00
'description' => 'Client libraries for integrating with ' . APP_NAME . ' to build web-based applications and websites. Read the [getting started for web](/docs/getting-started-for-web) tutorial to start building your first web application.' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
'beta' => false ,
2020-01-27 06:05:50 +13:00
'languages' => [
2020-01-22 03:39:42 +13:00
[
2020-01-27 06:05:50 +13:00
'key' => 'javascript' ,
2020-02-10 05:53:33 +13:00
'name' => 'JavaScript' ,
2020-01-28 10:50:41 +13:00
'version' => '1.0.28' ,
'url' => 'https://github.com/appwrite/sdk-for-js' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
'beta' => false ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_CLIENT ,
2020-01-26 10:32:05 +13:00
'prism' => 'javascript' ,
2020-01-28 10:50:41 +13:00
'source' => realpath ( __DIR__ . '/../sdks/javascript' ),
'gitUrl' => 'git@github.com:appwrite/sdk-for-js.git' ,
'gitRepoName' => 'sdk-for-js' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
[
2020-01-27 06:05:50 +13:00
'key' => 'typescript' ,
2020-01-22 03:39:42 +13:00
'name' => 'TypeScript' ,
2020-01-28 10:50:41 +13:00
'url' => '' ,
'enabled' => false ,
2020-02-01 23:30:32 +13:00
'beta' => true ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_CLIENT ,
2020-01-26 10:32:05 +13:00
'prism' => 'typescript' ,
2020-01-28 10:50:41 +13:00
'source' => false ,
'gitUrl' => 'git@github.com:appwrite/sdk-for-typescript.git' ,
'gitRepoName' => 'sdk-for-typescript' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
],
],
APP_PLATFORM_IOS => [
2020-02-09 07:52:59 +13:00
'key' => APP_PLATFORM_IOS ,
2020-01-22 03:39:42 +13:00
'name' => 'iOS' ,
2020-02-01 23:30:32 +13:00
'description' => 'Client libraries for integrating with ' . APP_NAME . ' to build iOS applications. Read the [getting started for iOS](/docs/getting-started-for-ios) tutorial to start building your first iOS application.' ,
2020-01-22 03:39:42 +13:00
'enabled' => false ,
'beta' => false ,
2020-01-27 06:05:50 +13:00
'languages' => [
2020-01-22 03:39:42 +13:00
[
2020-01-27 06:05:50 +13:00
'key' => 'swift' ,
2020-01-22 03:39:42 +13:00
'name' => 'Swift' ,
2020-01-28 10:50:41 +13:00
'url' => '' ,
2020-01-22 03:39:42 +13:00
'enabled' => false ,
'beta' => false ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_CLIENT ,
2020-01-26 10:32:05 +13:00
'prism' => 'swift' ,
2020-01-28 10:50:41 +13:00
'source' => false ,
'gitUrl' => 'git@github.com:appwrite/sdk-for-swift.git' ,
'gitRepoName' => 'sdk-for-swift' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
[
2020-01-27 06:05:50 +13:00
'key' => 'objective-c' ,
2020-01-22 03:39:42 +13:00
'name' => 'Objective C' ,
2020-01-28 10:50:41 +13:00
'url' => '' ,
2020-01-22 03:39:42 +13:00
'enabled' => false ,
'beta' => false ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_CLIENT ,
2020-01-26 10:32:05 +13:00
'prism' => '' ,
2020-01-28 10:50:41 +13:00
'source' => false ,
'gitUrl' => 'git@github.com:appwrite/sdk-for-objective-c.git' ,
'gitRepoName' => 'sdk-for-objective-c' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
],
],
APP_PLATFORM_ANDROID => [
2020-02-09 07:52:59 +13:00
'key' => APP_PLATFORM_ANDROID ,
2020-01-22 03:39:42 +13:00
'name' => 'Android' ,
2020-02-01 23:30:32 +13:00
'description' => 'Client libraries for integrating with ' . APP_NAME . ' to build Android applications. Read the [getting started for Android](/docs/getting-started-for-android) tutorial to start building your first Android application.' ,
2020-01-22 03:39:42 +13:00
'enabled' => false ,
'beta' => false ,
2020-01-27 06:05:50 +13:00
'languages' => [
2020-01-22 03:39:42 +13:00
[
2020-01-27 06:05:50 +13:00
'key' => 'kotlin' ,
2020-01-26 10:32:05 +13:00
'name' => 'Kotlin' ,
2020-01-28 10:50:41 +13:00
'url' => '' ,
2020-01-22 03:39:42 +13:00
'enabled' => false ,
'beta' => false ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_CLIENT ,
2020-01-26 10:32:05 +13:00
'prism' => 'kotlin' ,
'source' => false ,
2020-01-28 10:50:41 +13:00
'gitUrl' => 'git@github.com:appwrite/sdk-for-kotlin.git' ,
'gitRepoName' => 'sdk-for-kotlin' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
[
2020-01-27 06:34:12 +13:00
'key' => 'java' ,
2020-01-26 10:32:05 +13:00
'name' => 'Java' ,
2020-01-28 10:50:41 +13:00
'url' => '' ,
2020-01-22 03:39:42 +13:00
'enabled' => false ,
'beta' => false ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_CLIENT ,
2020-01-26 10:32:05 +13:00
'prism' => 'java' ,
'source' => false ,
2020-01-28 10:50:41 +13:00
'gitUrl' => 'git@github.com:appwrite/sdk-for-java.git' ,
'gitRepoName' => 'sdk-for-java' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
],
],
2020-01-31 05:17:58 +13:00
APP_PLATFORM_FLUTTER => [
2020-02-09 07:52:59 +13:00
'key' => APP_PLATFORM_FLUTTER ,
2020-01-31 05:17:58 +13:00
'name' => 'Flutter' ,
2020-02-01 23:30:32 +13:00
'description' => 'Client libraries for integrating with ' . APP_NAME . ' to build cross-platform Flutter applications. Read the [getting started for Flutter](/docs/getting-started-for-flutter) tutorial to start building your first Flutter application.' ,
2020-01-31 05:17:58 +13:00
'enabled' => false ,
2020-02-07 02:03:32 +13:00
'beta' => true ,
2020-01-31 05:17:58 +13:00
'languages' => [
[
'key' => 'dart' ,
'name' => 'Dart' ,
'version' => '0.0.6' ,
'url' => 'https://github.com/appwrite/sdk-for-dart' ,
'enabled' => true ,
2020-02-01 23:30:32 +13:00
'beta' => true ,
2020-01-31 05:17:58 +13:00
'family' => APP_PLATFORM_CLIENT ,
'prism' => 'dart' ,
'source' => realpath ( __DIR__ . '/../sdks/dart' ),
'gitUrl' => 'git@github.com:appwrite/sdk-for-dart.git' ,
'gitRepoName' => 'sdk-for-dart' ,
'gitUserName' => 'appwrite' ,
],
],
],
// APP_PLATFORM_CONSOLE => [
// 'name' => 'Console',
// 'enabled' => false,
// 'beta' => false,
// 'languages' => [
// [
// 'key' => 'javascript',
// 'name' => 'JS',
// 'version' => '1.0.0',
// 'url' => 'https://github.com/appwrite/sdk-for-console',
// 'enabled' => true,
// 'beta' => false,
// 'family' => APP_PLATFORM_CONSOLE,
// 'prism' => 'console',
// 'source' => realpath(__DIR__ . '/../sdks/console'),
// 'gitUrl' => 'git@github.com:appwrite/sdk-for-console.git',
// 'gitRepoName' => 'sdk-for-console',
// 'gitUserName' => 'appwrite',
// ],
// ],
// ],
2020-01-22 03:39:42 +13:00
APP_PLATFORM_SERVER => [
2020-02-09 07:52:59 +13:00
'key' => APP_PLATFORM_SERVER ,
2020-01-22 03:39:42 +13:00
'name' => 'Server' ,
2020-02-01 23:30:32 +13:00
'description' => 'Libraries for integrating with ' . APP_NAME . ' to build server side integrations. Read the [getting started for server](/docs/getting-started-for-server) tutorial to start building your first server integration.' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
'beta' => false ,
2020-01-27 06:05:50 +13:00
'languages' => [
2020-01-22 03:39:42 +13:00
[
2020-01-27 06:05:50 +13:00
'key' => 'nodejs' ,
2020-01-22 03:39:42 +13:00
'name' => 'Node.js' ,
2020-01-28 10:50:41 +13:00
'version' => '1.0.31' ,
'url' => 'https://github.com/appwrite/sdk-for-node' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
'beta' => false ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_SERVER ,
2020-01-26 10:32:05 +13:00
'prism' => 'javascript' ,
2020-02-07 18:23:36 +13:00
'source' => realpath ( __DIR__ . '/../sdks/nodejs' ),
2020-01-28 10:50:41 +13:00
'gitUrl' => 'git@github.com:appwrite/sdk-for-node.git' ,
'gitRepoName' => 'sdk-for-node' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
[
2020-01-27 06:05:50 +13:00
'key' => 'php' ,
2020-01-22 03:39:42 +13:00
'name' => 'PHP' ,
2020-01-28 10:50:41 +13:00
'version' => '1.0.16' ,
'url' => 'https://github.com/appwrite/sdk-for-php' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
2020-01-29 02:16:33 +13:00
'beta' => false ,
'family' => APP_PLATFORM_SERVER ,
2020-01-26 10:32:05 +13:00
'prism' => 'php' ,
'source' => realpath ( __DIR__ . '/../sdks/php' ),
2020-01-28 10:50:41 +13:00
'gitUrl' => 'git@github.com:appwrite/sdk-for-php.git' ,
'gitRepoName' => 'sdk-for-php' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
[
2020-01-27 06:05:50 +13:00
'key' => 'python' ,
2020-01-22 03:39:42 +13:00
'name' => 'Python' ,
2020-01-28 10:50:41 +13:00
'version' => '0.0.3' ,
'url' => 'https://github.com/appwrite/sdk-for-python' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
'beta' => true ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_SERVER ,
2020-01-26 10:32:05 +13:00
'prism' => 'python' ,
'source' => realpath ( __DIR__ . '/../sdks/python' ),
2020-01-28 10:50:41 +13:00
'gitUrl' => 'git@github.com:appwrite/sdk-for-python.git' ,
'gitRepoName' => 'sdk-for-python' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
[
2020-01-27 06:05:50 +13:00
'key' => 'ruby' ,
2020-01-22 03:39:42 +13:00
'name' => 'Ruby' ,
2020-01-28 10:50:41 +13:00
'version' => '1.0.8' ,
'url' => 'https://github.com/appwrite/sdk-for-ruby' ,
2020-01-22 03:39:42 +13:00
'enabled' => true ,
'beta' => true ,
2020-01-29 02:16:33 +13:00
'family' => APP_PLATFORM_SERVER ,
2020-01-26 10:32:05 +13:00
'prism' => 'ruby' ,
'source' => realpath ( __DIR__ . '/../sdks/ruby' ),
2020-01-28 10:50:41 +13:00
'gitUrl' => 'git@github.com:appwrite/sdk-for-ruby.git' ,
'gitRepoName' => 'sdk-for-ruby' ,
'gitUserName' => 'appwrite' ,
2020-01-22 03:39:42 +13:00
],
2020-02-02 00:50:38 +13:00
[
'key' => 'go' ,
'name' => 'Go' ,
'version' => '0.0.5' ,
'url' => 'https://github.com/appwrite/sdk-for-go' ,
2020-02-09 18:17:34 +13:00
'enabled' => true ,
2020-02-02 00:50:38 +13:00
'beta' => true ,
'family' => APP_PLATFORM_SERVER ,
'prism' => 'go' ,
'source' => realpath ( __DIR__ . '/../sdks/go' ),
'gitUrl' => 'git@github.com:appwrite/sdk-for-go.git' ,
'gitRepoName' => 'sdk-for-go' ,
'gitUserName' => 'appwrite' ,
],
2020-01-22 03:39:42 +13:00
],
],
];