This is a PHP wrapper for the SOCS XML feeds.
This package was developed by Fred Bradley, a developer at Cranleigh School and Cranleigh Prep School. If you find it useful, I'd really appreciate a tweet to let me know. Or even better, feel free to fund further developments.
You can install the package via composer:
composer require fredbradley/socs-php
$config = new FredBradley\SOCS\Config($socsId, $apiKey);
$socs = new FredBradley\SOCS\CoCurricular($config);
// Get All Clubs from CoCurricular
$clubs = $socs->getClubs();
// Get all Events from CoCurricular
$events = $socs->getEvents();
// ... more documentation to follow
Full docs will be released soon.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.