place / place-php
A PHP library for Place's API
dev-master
2024-10-29 18:57 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
This package is not auto-updated.
Last update: 2025-06-12 13:11:02 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