tosdr/php

ToS;DR API SDK

Maintainers

Package info

github.com/tosdr/php-sdk

pkg:composer/tosdr/php

Fund package maintenance!

tosdr

Open Collective

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2023-07-10 17:15 UTC

This package is auto-updated.

Last update: 2026-03-10 22:59:08 UTC


README

ToS;DR PHP SDK to interact with our API

Installation

composer require tosdr/php-sdk

Usage

Get a Service

<?php

require_once __DIR__ . '/vendor/autoload.php';

use tosdr\api\Service;

$Service = Service::get(182); # Facebook

echo $Service->getName(); # Facebook
echo $Service->getSlug(); # facebook
echo $Service->getPoints(); # array of points