Skip to content

placepay/place-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Place PHP Library

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

Releases

No releases published

Packages

No packages published

Languages