I am trying to setup the UserVoice PHP SDK in my local machine using Composer. I am following the manual specified at https://developer.uservoice.com/docs/api/php-sdk/. I have both oauth and mcrypt php extensions enabled.
The composer.js files contains the following,
{
"require": {
"uservoice/uservoice": ">=0.0.6"
}
}
But when I try php composer.phar install
command, I am getting the following errors in terminal.
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- uservoice/uservoice 0.0.9 requires ext-oauth * -> the requested PHP extension oauth is missing from your system.
- uservoice/uservoice 0.0.8 requires ext-oauth * -> the requested PHP extension oauth is missing from your system.
- uservoice/uservoice 0.0.7 requires ext-oauth * -> the requested PHP extension oauth is missing from your system.
- uservoice/uservoice 0.0.6 requires ext-oauth * -> the requested PHP extension oauth is missing from your system.
- Installation request for uservoice/uservoice >=0.0.6 -> satisfiable by uservoice/uservoice[0.0.6, 0.0.7, 0.0.8, 0.0.9].
php.ini file is configured with the extensions. I have tried restarting the apache server after installation of these extension, still issue persists.
what is that am missing here?