question

Brian Kellett avatar image
Brian Kellett asked Brian Kellett commented

Basic installation and setup

Hello all,

I'm brand new to developing with RingCentral. I've downloaded/unzipped/copied the Platform PHP SDK to our dev server and would like to know how to set up the most basic example I can of connecting and displaying some call log information from our account using our developer sandbox app/credentials.

What should my folder structure look like? What variables do I need to be setting and where? Anything else I'll need to get into the environment (ie. MCrypt)?

I've read through the API documentation and demo examples, but need more to understand. I apologize if this is basic and/or if it lacks enough information to be answered. Any help would be appreciated to get started.

Thanks..

installationsetup
1 |1000

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

1 Answer

·
Phong Vu avatar image
Phong Vu answered Brian Kellett commented

Which API documentation did you read? Have you looked at this dev manual? It provides almost complete code for copy/paste in several programming languages including PHP.

To use the PHP SDK, the easiest way is to install the SDK into your environment using composer and here is some instruction to do so:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require ringcentral/ringcentral-php

Let me know if you have more questions.

1 comment
1 |1000

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

Brian Kellett avatar image Brian Kellett commented ·

Hi Phong. Yes, I've read through all that. I don't use Composer. I would like to download and copy the SDK to a sub folder of our project (web app) and manipulate any set up and/or variables directly. How should my folders look under "myapp/ringcentral/..." and what files do I need to touch just to get things started?

Thanks for responding. Sorry if it's a newb question. :)

0 Likes 0 ·

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.