growth-institute/circle.so-php

PHP library for Circle.so

dev-master 2022-01-18 22:57 UTC

This package is auto-updated.

Last update: 2024-04-19 03:28:33 UTC


README

Circle.so for PHP

Circle.so for PHP

What is this?

This library is a PHP tool to integrate Circle API into your projects. Circle.so documentation can be found here.

How to use it

Simply require the package with composer add growth-institute/circle.so-php.

Don't forget to include your vendor autoload.php. Then you will be able to instantiate a Circle object. The constructor receives the Circle API Key as its only parameter. Example:

<?php

	include('vendor/autoload.php');
	use CirclePHP\Circle;

	$circle = new Circle('your token here');

	$communities = $addevent->communities();

	echo "<pre>";
	print_r($communities);
	echo "</pre>";
?>

Take a look to the src files to check all the functions available.