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(4mo ago)3891MITPHPPHP ^8.3CI passing

Since Aug 7Pushed 4mo 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 3w 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

50

—

FairBetter than 95% of packages

Maintenance77

Regular maintenance activity

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity81

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

126d 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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[smodav/mpesa

M-Pesa API implementation

16467.9k1](/packages/smodav-mpesa)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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