PHPackages                             webirr/webirr - 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. [Payment Processing](/categories/payments)
4. /
5. webirr/webirr

ActiveLibrary[Payment Processing](/categories/payments)

webirr/webirr
=============

Official PHP Client Library for WeBirr Payment Gateway APIs

2.0.3(1y ago)4126↓66.7%2MITPHPPHP &gt;=7.2.5

Since Aug 12Pushed 4mo ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

Official PHP Client Library for WeBirr Payment Gateway APIs

This Client Library provides convenient access to WeBirr Payment Gateway APIs from PHP Applications.

Install
-------

[](#install)

```
$ composer require webirr/webirr
```

Usage
-----

[](#usage)

The library needs to be configured with a *merchant Id* &amp; *API key*. You can get it by contacting [webirr.com](https://webirr.net)

> You can use this library for production or test environments. you will need to set isTestEnv=true for test, and false for production apps when creating objects of class WeBirrClient

Example
-------

[](#example)

### Creating a new Bill / Updating an existing Bill on WeBirr Servers

[](#creating-a-new-bill--updating-an-existing-bill-on-webirr-servers)

```
