thebiggive/php-govtalk

A library for applications which interface with the UK Government Gateway

v1.0.3 2023-09-01 12:01 UTC

README

A library for applications which interface with the UK Government Gateway

Build Status Latest Stable Version Total Downloads License

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

The library can be installed via Composer. 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 http://getcomposer.org/installer | php $ php composer.phar update

Library background

Big Give forked this library from JustinBusschau/php-govtalk in 2021, as that library's no longer maintained for active versions of PHP.

We don't offer support for the library, but plan to maintain it for the foreseeable future, with tests running against verions of PHP still receiving security support.

Charities running campaigns on our platform who are using our managed service to claim their Gift Aid can get in touch here.

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: