PHPackages                             gragerdsouza/payit-php-client - 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. gragerdsouza/payit-php-client

ActiveLibrary[API Development](/categories/api)

gragerdsouza/payit-php-client
=============================

PHP client for Payit (NatWest) API

v1.0.1(9mo ago)01MITPHPPHP &gt;=7.4CI passing

Since Oct 5Pushed 9mo agoCompare

[ Source](https://github.com/gragerdsouza/payit)[ Packagist](https://packagist.org/packages/gragerdsouza/payit-php-client)[ RSS](/packages/gragerdsouza-payit-php-client/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (3)Used By (0)

Payit PHP Client
================

[](#payit-php-client)

This repository contains a small PHP client for the Payit API (NatWest / Payit). It demonstrates:

- OAuth2 client\_credentials token retrieval
- Basic endpoints: list banks, create payments, check payment status
- Example scripts

Setup
-----

[](#setup)

1. Copy `.env.example` to `.env` and fill in your sandbox/production credentials.
2. `composer install`
3. Run examples: `php examples/get_token.php`

Notes
-----

[](#notes)

- Replace placeholder endpoints and payloads with the exact shapes from the Payit API documentation.
- Do not store client secrets in source control.
- Use the sandbox environment for testing before going live.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance58

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~0 days

Total

2

Last Release

273d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17107084?v=4)[Grager D'souza](/maintainers/gragerdsouza)[@gragerdsouza](https://github.com/gragerdsouza)

---

Top Contributors

[![gragerdsouza](https://avatars.githubusercontent.com/u/17107084?v=4)](https://github.com/gragerdsouza "gragerdsouza (7 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/gragerdsouza-payit-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/gragerdsouza-payit-php-client/health.svg)](https://phpackages.com/packages/gragerdsouza-payit-php-client)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

668535.6k5](/packages/netflie-whatsapp-cloud-api)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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