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. 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.).
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
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.
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:
Library | Composer Package | Maintainer |
---|---|---|
HMRC Gift Aid | thebiggive/hmrc-gift-aid | Noel Light-Hilary |