PHPackages                             justinbusschau/php-govtalk - 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. justinbusschau/php-govtalk

ActiveLibrary[API Development](/categories/api)

justinbusschau/php-govtalk
==========================

A library for applications which interface with the UK Government Gateway

0.2.1(11y ago)314.9k31GPLv3PHPPHP &gt;=5.3.2

Since Apr 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/JustinBusschau/php-govtalk)[ Packagist](https://packagist.org/packages/justinbusschau/php-govtalk)[ Docs](https://github.com/justinbusschau/php-govtalk)[ RSS](/packages/justinbusschau-php-govtalk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (8)Used By (1)

PHP GovTalk
===========

[](#php-govtalk)

NB!!This repo is no longer maintained. For something more recent, please see [theBigGive's fork](https://github.com/thebiggive/php-govtalk)-----**A library for applications which interface with the UK Government Gateway**

[![Build Status](https://camo.githubusercontent.com/7a6fe33645efd762dfa7dfa28ad5510b76fc02b519a8a6d3f7a887003227fa14/68747470733a2f2f7472617669732d63692e6f72672f4a757374696e42757373636861752f7068702d676f7674616c6b2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/JustinBusschau/php-govtalk)[![Latest Stable Version](https://camo.githubusercontent.com/10141499e954686b1558877dc301e315d4f562462f54ce7af3da3c0362897f29/68747470733a2f2f706f7365722e707567782e6f72672f6a757374696e62757373636861752f7068702d676f7674616c6b2f76657273696f6e2e706e67)](https://packagist.org/packages/justinbusschau/php-govtalk)[![Total Downloads](https://camo.githubusercontent.com/130a88077b5ac3b0e7649cf79731cebe21f64222dd3c84130c98ed813498ff00/68747470733a2f2f706f7365722e707567782e6f72672f6a757374696e62757373636861752f7068702d676f7674616c6b2f642f746f74616c2e706e67)](https://packagist.org/packages/justinbusschau/php-govtalk)[![License](https://camo.githubusercontent.com/a3d4aa6450f7c9723ab9a3d7c4681e431234021bc4c7a2dc9a6bbf0fb64c9c9e/68747470733a2f2f706f7365722e707567782e6f72672f6a757374696e62757373636861752f7068702d676f7674616c6b2f6c6963656e73652e737667)](https://packagist.org/packages/justinbusschau/php-govtalk)

The GovTalk Message Envelope is a standard developed by the United Kingdom government as a means of encapsulating a range of government XML services in a single standard data format.

This project was originally forked from [Fubra Limited](https://github.com/fubralimited/php-govtalk). Only the GovTalk class is preserved in this library. This library can be used whenever you need to build something that interfaces with any of the services that use the Government Gateway (e.g. Companies House, HMRC, etc.).

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

[](#installation)

The library can be installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "justinbusschau/php-govtalk": "0.*"
    }
}
```

And run composer to update your dependencies:

$ curl -s  | php $ php composer.phar update

Basic usage
-----------

[](#basic-usage)

This library can be extended and used with any one of the gateways that use the GovTalk Message Envelope and the Document Submission Protocol. The following libraries currently use / extend GovTalk:

LibraryComposer PackageMaintainer[HMRC Gif Aid](https://github.com/justinbusschau/hmrc-gift-aid)justinbusschau/hmrc-gift-aid[Justin Busschau](https://github.com/justinbusschau)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~61 days

Recently: every ~90 days

Total

7

Last Release

4049d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fb8648a238e37937d3b1c538ba32701571e745d0a13f5d6e4e111fe3cb99a27?d=identicon)[JustinBusschau](/maintainers/JustinBusschau)

---

Top Contributors

[![JustinBusschau](https://avatars.githubusercontent.com/u/1590364?v=4)](https://github.com/JustinBusschau "JustinBusschau (10 commits)")[![confuzzledduck](https://avatars.githubusercontent.com/u/893730?v=4)](https://github.com/confuzzledduck "confuzzledduck (5 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/justinbusschau-php-govtalk/health.svg)

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

###  Alternatives

[rackspace/php-opencloud

PHP SDK for Rackspace/OpenStack APIs

4495.9M38](/packages/rackspace-php-opencloud)[cdaguerre/php-trello-api

Trello API v2 client

255666.7k3](/packages/cdaguerre-php-trello-api)[dchesterton/marketo-rest-api

A PHP client for the Marketo.com REST API

41844.1k1](/packages/dchesterton-marketo-rest-api)[carlosio/geckoboard

A PHP library for dealing with Geckoboard API (http://www.geckoboard.com)

40172.2k](/packages/carlosio-geckoboard)[teepluss/api

Laravel 4 Internal Request (HMVC)

7034.0k](/packages/teepluss-api)[jlinn/mandrill-api-php

A PHP client library for Mandrill's REST API

24117.4k](/packages/jlinn-mandrill-api-php)

PHPackages © 2026

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