growth-institute / tribe.so-php
PHP library for Tribe
v2.17
2024-06-26 23:22 UTC
Requires
- cfpinto/graphql: ^1.0
- dev-main
- v2.17
- v2.16
- v2.15
- v2.14
- v2.13
- v2.12
- v2.11
- v2.10
- v2.9
- v2.8
- v2.7
- v2.6
- v2.5
- v2.4
- v2.3
- v2.1
- v2.0
- v1.51
- v1.50
- v1.49
- v1.48
- v1.47
- v1.46
- v1.45
- v1.44
- v1.43
- v1.42
- v1.41
- v1.40
- v1.39
- v1.38
- v1.37
- v1.36
- v1.35
- v1.34
- v1.33
- v1.32
- v1.31
- v1.30
- v1.29
- v1.28
- v1.27
- v1.26
- v1.25
- v1.24
- v1.23
- v1.22
- v1.21
- v1.19
- v1.18
- v1.17
- v1.16
- v1.5
- v1.4
- v1.3.0
- v1.2
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0
- dev-develop
This package is auto-updated.
Last update: 2025-03-27 00:52:29 UTC
README
Tribe.so for PHP
What is this?
This library is a PHP tool to integrate Tribe API into your projects. Tribe.so documentation can be found here.
How to use it
Simply require the package with composer require growth-institute/tribe.so-php
.
Tribe API works with a GraphQL API, very different stuff than a REST API.
Don't forget to include your vendor autoload.php
. Then you will be able to instantiate a Tribe object. The constructor receives the Tribe APP Bearer as its only parameter. Example:
<?php include('vendor/autoload.php'); use TribePHP\Tribe; $tribe = new Tribe('your token here'); $spaces = $tribe->getSpaces(); echo "<pre>"; print_r($spaces); echo "</pre>"; ?>
Take a look to the src files to check all the functions available.