Skip to content

A sample OAuth2 application using the Acuity Scheduling PHP dev kit.

License

Notifications You must be signed in to change notification settings

AcuityScheduling/acuity-php-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acuity Scheduling PHP Sample App

An OAuth2 sample app using the Acuity Scheduling PHP dev kit.

Setup

First install the dependencies (Acuity Scheduling's PHP dev kit) using composer.

composer update

Then fill out the config.php file with your OAuth2 client credentials. See config.example.php for an example.

config.php

<?php

define('CLIENT_ID', 'YOUR_CLIENT_ID');
define('CLIENT_SECRET', 'YOUR_CLIENT_SECRET');
define('REDIRECT_URI', 'YOUR_REDIRECT_URI');

Once that's set up, you can start a server. Either install this app in your existing PHP server, or run it using the built-in PHP server:

php -S localhost:8000 -t .

About

A sample OAuth2 application using the Acuity Scheduling PHP dev kit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages