PHPackages                             grodt/bflib - 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. grodt/bflib

ActiveLibrary

grodt/bflib
===========

Provides the Betfair API library.

1166PHP

Since May 10Pushed 13y ago1 watchersCompare

[ Source](https://github.com/GRODT/bflib)[ Packagist](https://packagist.org/packages/grodt/bflib)[ RSS](/packages/grodt-bflib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
Copyright Christopher Lacy-Hulbert 2009

This file is part of Bflib.

Bflib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Bflib is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Bflib.  If not, see .

Introduction
--------------

The best way to get started with this library is to run through the tutorial of how to
set up your first betfair connection and issue a couple of API commands. You can read
that article here: http://www.spiration.co.uk/post/1438

Secondly you could try writing a simple application, with working event navigation and
market data views based on the tutorial here: http://www.spiration.co.uk/post/1442/

You should also be sure to have PHP compiled with soap and ssl support.  If you are unsure,
the following PHP compliation works for me (with the supporting libs in place, of course):

./configure  --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-pdo \
--with-pdo-mysql=/usr/local/mysql \
--with-zlib-dir=../zlib-1.2.5 \
--with-curl \
--enable-soap \
--with-openssl \
--with-apc \
--with-gd
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.2% 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/f57939fd428cfe4fd7ddb3bf2750a6349e91e7996721802eae9d2b0182211304?d=identicon)[tomat](/maintainers/tomat)

---

Top Contributors

[![planetguru](https://avatars.githubusercontent.com/u/37353?v=4)](https://github.com/planetguru "planetguru (83 commits)")[![tomat](https://avatars.githubusercontent.com/u/458647?v=4)](https://github.com/tomat "tomat (8 commits)")

### Embed Badge

![Health badge](/badges/grodt-bflib/health.svg)

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

PHPackages © 2026

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