PHPackages                             fredbradley/socs-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. fredbradley/socs-php

ActiveLibrary[API Development](/categories/api)

fredbradley/socs-php
====================

A PHP wrapper for the SOCS XML feeds.

v1.4.5(2mo ago)3891MITPHPPHP ^8.3CI passing

Since Aug 7Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/fredbradley/socs-php)[ Packagist](https://packagist.org/packages/fredbradley/socs-php)[ Docs](https://github.com/fredbradley/socs-php)[ GitHub Sponsors](https://github.com/fredbradley)[ RSS](/packages/fredbradley-socs-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (12)Versions (65)Used By (0)

SOCS PHP
========

[](#socs-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0f760963bcc1f8d5ea7e121585f481c126e092a7dfe47ddbc8a50536b3c4431d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726564627261646c65792f736f63732d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fredbradley/socs-php)[![Tests](https://github.com/fredbradley/socs-php/actions/workflows/pest.yml/badge.svg)](https://github.com/fredbradley/socs-php/actions/workflows/pest.yml)[![Total Downloads](https://camo.githubusercontent.com/0ee1b1bd28dbf6e3242d1eb349e88990803eb24ea1019e75655e4fd48ad99871/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66726564627261646c65792f736f63732d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fredbradley/socs-php)

This is a PHP wrapper for the [SOCS](https://misocs.com) XML feeds.

If you find this useful...
--------------------------

[](#if-you-find-this-useful)

This package was developed by [Fred Bradley](https://twitter.com/fredbradley), a developer at [Cranleigh School](https://www.cranleigh.org) and [Cranleigh Prep School](https://www.cranprep.org). If you find it useful, I'd really appreciate [a tweet](https://twitter.com/fredbradley) to let me know. Or even better, feel free to fund further developments.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require fredbradley/socs-php
```

Example Usage
-------------

[](#example-usage)

```
$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.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Fred Bradley](https://github.com/fredbradley)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~106 days

Total

63

Last Release

81d ago

Major Versions

v0.3.1 → v1.0.02023-12-19

PHP version history (3 changes)v0.1.0PHP ^7.4||^8.0

0.3.0PHP ^8.2

v1.4.3PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1639226?v=4)[Fred Bradley](/maintainers/fredbradley)[@fredbradley](https://github.com/fredbradley)

---

Top Contributors

[![fredbradley](https://avatars.githubusercontent.com/u/1639226?v=4)](https://github.com/fredbradley "fredbradley (113 commits)")

---

Tags

apisocswrapperwrapper-apixmlfredbradleysocs-php

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fredbradley-socs-php/health.svg)

```
[![Health](https://phpackages.com/badges/fredbradley-socs-php/health.svg)](https://phpackages.com/packages/fredbradley-socs-php)
```

###  Alternatives

[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3672.8k2](/packages/specialtactics-l5-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
