PHPackages                             mikaelbr/phpcoderwall - 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. mikaelbr/phpcoderwall

ActiveLibrary[API Development](/categories/api)

mikaelbr/phpcoderwall
=====================

PHP library for fetching Coderwall data

28PHP

Since Aug 29Pushed 13y ago1 watchersCompare

[ Source](https://github.com/mikaelbr/phpcoderwall)[ Packagist](https://packagist.org/packages/mikaelbr/phpcoderwall)[ RSS](/packages/mikaelbr-phpcoderwall/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpCoderwall v0.1
=================

[](#phpcoderwall-v01)

Requirements
------------

[](#requirements)

- PHP &gt; v.5.3.0
- Access to request pages (curl or file\_get\_contents)

For easier installation you should also have [composer](http://getcomposer.org/) installed.

Documentation and Examples
--------------------------

[](#documentation-and-examples)

### Fetching user information

[](#fetching-user-information)

```

```

*Notice:* The second argument defines if we want to fetch full information about a user. This entails more user properties and full information about the team given user is a part of.

#### Properties of the CoderwallUser object

[](#properties-of-the-coderwalluser-object)

 PropertyDescription  username The username of given user.   name Full name of the user.   location Location of the user. E.g. Norway.   endorsements The number of endorsements a user has recived.   team This is a ID to the users team. Can be run through PhpCoderwall#getTeamById() to get full team information.   accounts Collection of all the account types the user has on Coderwall. See more information under properties of the Account object.   badges A collection of CoderwallBadges. See more information about the badges class below.   badgesCount The number of total badges the user has. #### Additional properties of the full information CoderwallUser object

[](#additional-properties-of-the-full-information-coderwalluser-object)

 PropertyDescription  title Self set title for user.   company What company the user works for   thumbnail URL to the avatar image thumbnail.   specialities Collection of strings. A set of specialities the user has added.   accomplishments Collection of strings. A set of accomplishments the user has added #### Properties of the Account object

[](#properties-of-the-account-object)

 PropertyDescription  type The account type. Either github, twitter or linkedin   username The users username on the given account type. #### Properties of the CoderwallBadge object

[](#properties-of-the-coderwallbadge-object)

 PropertyDescription  name The name of the achivement/badge.   description Extended badge description   created A timestamp of when the user recived the badge. E.g. "2012-02-23T19:03:55Z"   badge URL to the badge image. ### Fetching team information

[](#fetching-team-information)

```

```

*Notice:* As per now, the Coderwall's Team API isn't really open and working, so there is a 5 min cache. This means that if you try to first get the Github team and right away the Heroku team, you'll get the Github team information both times. We'll just have to wait until Coderwall releases the Team API to the public.

#### Properties of the CoderwallTeam object

[](#properties-of-the-coderwallteam-object)

 PropertyDescription  name The name of the team.   id The teams unique ID.   score Score in the Coderwall leader board.   rank Ranking in the Coderwall leader board.   size Number of team members   slug Filtered team name, used in the Coderwall URL.   avatar URL to the image avatar.   country Collection of strings. With each index a country of the given team.   neighbors Overview of the team neighbors. Collection of simplified CoderwallTeam objects with all properties set, except the following: neighbors and teamMembers   teamMembers Overview of the teams members. Collection of simplified CoderwallUser objects only with the following properties set: username, name, endorsements and badgesCount ### Fetching team information by team ID

[](#fetching-team-information-by-team-id)

```

```

Returns a CoderwallTeam object as seen above.

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

[](#installation)

Install phpCoderwall by using [composer](http://getcomposer.org/) and add a `composer.json` file to your root, with the following content:

```
{
    "require": {
        "mikaelbr/phpcoderwall": "dev-master"
    }
}

```

Then run (in the root, with a terminal), depending on your setup, either

```
composer install

```

or

```
php composer.phar install

```

With this you can try to run a example as shown above.

---

You can also use this library without composer. Just get the code base by cloning the repository, and either write an auto load function or require the files manually.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fa036583646c9743454051415118dd3a1112db4513b020cd83090d6881276be?d=identicon)[mikaelbr](/maintainers/mikaelbr)

---

Top Contributors

[![mikaelbr](https://avatars.githubusercontent.com/u/606374?v=4)](https://github.com/mikaelbr "mikaelbr (11 commits)")

### Embed Badge

![Health badge](/badges/mikaelbr-phpcoderwall/health.svg)

```
[![Health](https://phpackages.com/badges/mikaelbr-phpcoderwall/health.svg)](https://phpackages.com/packages/mikaelbr-phpcoderwall)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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