I'm getting the above error while I have already used Nylas, class Nylas not found.
Anybody can help me with this?
my code is:
`<?php
namespace Nylas;
use Nylas;
$client = new Nylas(***, ***);
$redirect_url = 'http://localhost/nylas-php/login_callback.php';
$get_auth_url = $client->createAuthURL($redirect_url);
// redirect to Nylas auth server
header("Location: ".$get_auth_url);
?>`
My folder structure is:
