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

ActiveLibrary[API Development](/categories/api)

usmanibrahim74/php-govtalk
==========================

A library for applications which interface with the UK Government Gateway

00PHP

Since Apr 18Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#php-govtalk)

**A library for applications which interface with the UK Government Gateway**

[![Build Status](https://camo.githubusercontent.com/a6b2cf56422d6dde074fc8c6586d415842f3e8b5137bc31f3f3cc5d0d24a17bd/68747470733a2f2f7472617669732d63692e6f72672f746865626967676976652f7068702d676f7674616c6b2e706e673f6272616e63683d6d61696e)](https://travis-ci.org/thebiggive/php-govtalk)[![Latest Stable Version](https://camo.githubusercontent.com/4d7b715ac5673b3c8a288ac38272be0656167f066a7cb3fddc2ba106e3faafb0/68747470733a2f2f706f7365722e707567782e6f72672f746865626967676976652f7068702d676f7674616c6b2f76657273696f6e2e706e67)](https://packagist.org/packages/thebiggive/php-govtalk)[![Total Downloads](https://camo.githubusercontent.com/904176eccde6a2a825b3251bfc5c98799743c5eccd0caa892ee9fa36efd4a9e6/68747470733a2f2f706f7365722e707567782e6f72672f746865626967676976652f7068702d676f7674616c6b2f642f746f74616c2e706e67)](https://packagist.org/packages/thebiggive/php-govtalk)[![License](https://camo.githubusercontent.com/29663e639d7ba9eb935fa224f4a338114a60f08441060c529852e94f0e4c8de4/68747470733a2f2f706f7365722e707567782e6f72672f746865626967676976652f7068702d676f7674616c6b2f6c6963656e73652e737667)](https://packagist.org/packages/thebiggive/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": {
        "thebiggive/php-govtalk": "^1.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 Gift Aid](https://github.com/thebiggive/hmrc-gift-aid)thebiggive/hmrc-gift-aid[Noel Light-Hilary](https://github.com/noellh)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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/d352a25ce21d2ca3ebe4b3911542f4abec5972a435e33bb3da87c2c14b462dce?d=identicon)[usmanibrahim74](/maintainers/usmanibrahim74)

---

Top Contributors

[![NoelLH](https://avatars.githubusercontent.com/u/3274454?v=4)](https://github.com/NoelLH "NoelLH (13 commits)")[![JustinBusschau](https://avatars.githubusercontent.com/u/1590364?v=4)](https://github.com/JustinBusschau "JustinBusschau (8 commits)")[![confuzzledduck](https://avatars.githubusercontent.com/u/893730?v=4)](https://github.com/confuzzledduck "confuzzledduck (5 commits)")[![usmanibrahim74](https://avatars.githubusercontent.com/u/20674784?v=4)](https://github.com/usmanibrahim74 "usmanibrahim74 (2 commits)")[![alihejazi](https://avatars.githubusercontent.com/u/35169573?v=4)](https://github.com/alihejazi "alihejazi (1 commits)")

### Embed Badge

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

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

###  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)
