I am developing a timetracker web application and I want to sync my Asana tasks (https://app.asana.com/ ) into webpage. I am Using laravel restful service for this. I've successfully installed the Laravel-Asana package ( https://github.com/Torann/laravel-asana). But Now getting error with getProjects() method.
I configured the Asana API Key & Asana default workspace in \vendor\torann\laravel-asana\src\config\config.php
Error is Class 'Asana' not found
Code : .
protected static $restful = true;
public function task()
{
Asana::getProjects();
echo "task Fetched";
}
}
?>
Anyone please help me. thanks