Skip to main content
The First Step
Feb 22, 2017 6:01 PM UTC
Question

Connecting Via the API (Through PHP)

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

Employee
Feb 23, 2017 1:41 AM UTC
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.
The First Step
Feb 23, 2017 11:00 AM UTC
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?
Employee
Feb 23, 2017 11:15 AM UTC
Maybe the latest update breaks the composer support. Please create an issue here: https://github.com/ringcentral/ringcentral-php/issues