Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1006 Bytes

readme.md

File metadata and controls

38 lines (22 loc) · 1006 Bytes

Tiny Drive PHP Starter Project

This project helps you get started with Tiny Drive and allows you to play around with its features.

Requirements

PHP 7.0+

Getting started steps

These are the steps needed to get this project running on your machine:

1. Clone this repository to your local machine

Use the following command:

$ git clone https://github.com/tinymce/tinydrive-php-starter.git

You can also download this repository as a zip file from Github.

2. Change the apiKey in tinydrive-php-starter/config.php

You get the API key from the API Key Manager account manager at https://www.tiny.cloud.

3. Create a tinydrive-php-starter/private.key file containing your generated private RSA key

You get the private RSA key from the JWT Key Manager account manager at http://www.tiny.cloud.

4. Go to the directory and start the dev server

$ cd tinydrive-php-starter
$ php -S localhost:3000

5. Open the example project at http://localhost:3000