PHPackages                             ludicat/mycow-sdk - 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. ludicat/mycow-sdk

ActiveLibrary[API Development](/categories/api)

ludicat/mycow-sdk
=================

MyCow's REST API SDK

v1.0.0(4y ago)06MITPHPPHP &gt;=5.4

Since Mar 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Ludicat/mycow-sdk)[ Packagist](https://packagist.org/packages/ludicat/mycow-sdk)[ RSS](/packages/ludicat-mycow-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

MyCow SDK
=========

[](#mycow-sdk)

This library allow you to manipulate MyCow's REST API.

1- Setup
========

[](#1--setup)

Use composer

```
composer req ludicat/mycow-sdk

```

2- Usage
========

[](#2--usage)

In your code, instantiate the Core Class

```
$baseUrl = 'https://www.mycow.eu';
$myToken = 'xxxxxxxxxxxxxx'; // Your token was provide by MyCow's team.
$adapter = new MyCow\SDK\Adapter\Curl(); // Depend on your system. If none provide, CURL will be used.
$sdk = new MyCow\SDK\Core($baseUrl, $myToken, $adapter);

```

Then call for the expected endpoint and use related methods :

```
$response = $sdk->getUser()->get($username);
if ($response->isError()) {
    throw new \Exception(sprintf('MyCow API ERROR %d: ', $response->getCode(), $response->getMessage()));
}

print_r($response->getBody());

```

Contribute
==========

[](#contribute)

Create a `.env.local` file and set your GITHUB\_TOKEN variable

```
# .env.local
GITHUB_TOKEN=MyToken

```

Build

```
make build

```

Start container (you will have to start from here on further usages)

```
make build

```

Connect to docker with ssh

```
make ssh

```

Then dump autoloader

```
composer dump-autoload

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1556d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1798787?v=4)[Jihel](/maintainers/Jihel)[@jihel](https://github.com/jihel)

### Embed Badge

![Health badge](/badges/ludicat-mycow-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ludicat-mycow-sdk/health.svg)](https://phpackages.com/packages/ludicat-mycow-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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