Skip to main content
Question

Connecting Via the API (Through PHP)

  • February 22, 2017
  • 3 replies
  • 917 views

Hi All.


New to Ring Central and in the process of getting our house in order to test and trial the PHP API. I know the guide is not full completed, but hopefully there are some out there that have already done this.


We presently are testing through XAMPP running on a laptop with a virtualised Apache server and mySQL DB's.


Is it relatively easy to install and configure Composer and PHAR in XAMPP?


Is there a relatively straightforward implementation guide on how this would work via XAMPP?


Thanks

Matt / Lee

3 replies

I am not a PHP expert. XAMPP helps you to setup a PHP development environment quickly and easily. After you get your development ready, you can follow the README of RingCentral PHP SDK to install it: https://github.com/ringcentral/ringcentral-php#with-composer-recommended  Composer is supported and recommended.

  • Author
  • New Participant
  • February 23, 2017
So, an update from my side. I have downloaded the repository and running it locally via XAMPP. I have installed the windows version of Composer and it's now linked up to the PHP.EXE file as required.

However - Inside the core scripts - the _bootstrap.php file is looking for ../Vendor/autoload.php which does not exist in the repository.

I'm clearly missing something obvious - can you assist?

Maybe the latest update breaks the composer support. Please create an issue here: https://github.com/ringcentral/ringcentral-php/issues