1
0
Fork 0
mirror of synced 2024-09-15 08:57:35 +12:00
appwrite/app/sdks/server-php/docs/examples/functions/create-execution.md
2020-05-10 23:13:51 +03:00

15 lines
No EOL
317 B
Markdown

<?php
use Appwrite\Client;
use Appwrite\Services\Functions;
$client = new Client();
$client
->setProject('5df5acd0d48c2') // Your project ID
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;
$functions = new Functions($client);
$result = $functions->createExecution('[FUNCTION_ID]');