question

lee-bennett avatar image
lee-bennett asked ·

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
topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
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.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

lee-bennett avatar image
lee-bennett answered ·
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?
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered ·
Maybe the latest update breaks the composer support. Please create an issue here:  https://github.com/ringcentral/ringcentral-php/issues
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.