Download the PHP package rakete7/substance-php-sdk without Composer
On this page you can find all versions of the php package rakete7/substance-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rakete7/substance-php-sdk
More information about rakete7/substance-php-sdk
Files in rakete7/substance-php-sdk
Download rakete7/substance-php-sdk
More information about rakete7/substance-php-sdk
Files in rakete7/substance-php-sdk
Vendor rakete7
Package substance-php-sdk
Short Description A simple PHP SDK to integrate the Physical Web platform Substance into any PHP project.
License Rakete 7
Package substance-php-sdk
Short Description A simple PHP SDK to integrate the Physical Web platform Substance into any PHP project.
License Rakete 7
Please rate this library. Is it a good library?
Informations about the package substance-php-sdk
substance-php-sdk
PHP SDK to integrate Substance in CMS systems
Example
<?php
require_once __DIR__ . '/vendor/autoload.php'; // Autoload files using Composer autoload
use Substance\SubstanceSdk;
use Substance\Models\Content;
use Substance\Models\ContentAssociation;
$substance = new SubstanceSdk("8991544805321d10cbe97e602a88aa8ef5e91xxx","a5002dbef6e6dc0597ba1e5657e9e5cec1e66xxx");
$substance->auth();
$beacons = $substance->getBeacons();
$beacon = $beacons->random();
echo $beacon->getName()."\n";
echo $beacon->getAlias()."\n";
$content = new Content("https://www.rakete7.com","Rakete 7 Website","Hab ich mit dem SDK erstellt!");
$contentAssociation = new ContentAssociation($beacon,$content);
$updatedBeacon = $substance->associateContent($contentAssociation);
echo "connected beacon\n";
$updatedBeacon = $substance->disassociateContent($updatedBeacon);
echo "disconnected beacon\n";
All versions of substance-php-sdk with dependencies
PHP Build Version
Package Version
The package rakete7/substance-php-sdk contains the following files
Loading the files please wait ....