Files
2025-04-22 17:02:33 +04:00

334 B

<?php use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint ->setProject(''); // Your project ID $account = new Account($client); $result = $account->createSession( userId: '', secret: '' );