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

ActiveLibrary[API Development](/categories/api)

infoodle/php-govtalk
====================

A library for applications which interface with the UK Government Gateway

v1.0.0(4y ago)0251GPL-3.0-or-laterPHPPHP ^7.4 | ^8.0

Since Apr 7Pushed 4y agoCompare

[ Source](https://github.com/infoodle/php-govtalk)[ Packagist](https://packagist.org/packages/infoodle/php-govtalk)[ Docs](https://github.com/thebiggive/php-govtalk)[ RSS](/packages/infoodle-php-govtalk/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (16)Used By (1)

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

[](#php-govtalk)

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

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

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

[](#requirements)

- PHP 7.1+

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

[](#installation)

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

```
{
"require": {
"infoodle/php-govtalk": "^1.0"
}
}
```

And run composer to update your dependencies:

$ curl -s &lt;http: //getcomposer.org/installer&gt; | 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/infoodle/hmrc-gift-aid)infoodle/hmrc-gift-aid[Noel Light-Hilary](https://github.com/noellh)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~219 days

Recently: every ~36 days

Total

14

Last Release

1613d ago

Major Versions

0.2.1 → v1.0.0-beta2021-09-07

0.3.0.x-dev → v1.0.0-beta12021-09-10

PHP version history (2 changes)0.1PHP &gt;=5.3.2

v1.0.0-betaPHP ^7.4 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7dc1913684d2e41604760276761832eaf59cf86817b482c58b900d25c1a3beac?d=identicon)[renatorocha1](/maintainers/renatorocha1)

---

Top Contributors

[![NoelLH](https://avatars.githubusercontent.com/u/3274454?v=4)](https://github.com/NoelLH "NoelLH (11 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)")[![renatorocha1](https://avatars.githubusercontent.com/u/8076022?v=4)](https://github.com/renatorocha1 "renatorocha1 (3 commits)")[![alihejazi](https://avatars.githubusercontent.com/u/35169573?v=4)](https://github.com/alihejazi "alihejazi (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M735](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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