place / place-api
A PHP library for Place's API
Installs: 2 451
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
This package is not auto-updated.
Last update: 2025-06-13 04:54:00 UTC
README
A php library for interfacing with the Place API
Installation
To install from GitHub using composer:
composer require place/place-api
To manually install place-api
, you can download the source and include with:
<?php require_once('/path/to/place-php/import.php'); ?>
Basic usage
<?php require_once('vendor/autoload.php'); # set your api key Place\Place::$api_key = "private_key_6fsMi3GDxXg1XXSluNx1sLEd"; # create an account $account = Place\Account::create(array( 'email'=>'joe.schmoe@example.com', 'full_name'=>'Joe Schmoe', 'user_type'=>'payer' )); ?>
Documentation
Read the docs