PHPackages                             chargily/chargily-pay - 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. chargily/chargily-pay

ActiveLibrary[API Development](/categories/api)

chargily/chargily-pay
=====================

PHP Library for Chargily Pay V2

2.0.6(1y ago)135.2k—2.9%8[1 issues](https://github.com/Chargily/chargily-pay-php/issues)1MITPHPPHP ^8.1

Since Feb 7Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Chargily/chargily-pay-php)[ Packagist](https://packagist.org/packages/chargily/chargily-pay)[ RSS](/packages/chargily-chargily-pay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (7)Versions (7)Used By (1)

Welcome to PHP Package Repository
=================================

[](#welcome-to-php-package-repository)

for [Chargily Pay](https://chargily.com/business/pay "Chargily Pay")™ Gateway - V2.
===================================================================================

[](#for-chargily-pay-gateway---v2)

Thank you for your interest in PHP Package of Chargily Pay™, an open source project by Chargily, a leading fintech company in Algeria specializing in payment solutions and e-commerce facilitating, this Package is providing the easiest and free way to integrate e-payment API through widespread payment methods in Algeria such as EDAHABIA (Algerie Post) and CIB (SATIM) into your PHP/Laravel projects.

This package is developed by **Mohamed Boubazine ([Medboubazine](https://github.com/Medboubazine))** and is open to contributions from developers like you.

Requirements
============

[](#requirements)

- PHP &gt;= 8.1.10

Installation
============

[](#installation)

- Via Composer (Recomended)

```
composer require chargily/chargily-pay
```

Getting Started
===============

[](#getting-started)

- Replace **test** by **live** if you are in production mode
- Replace **public\_key\_here** with your public key shown in the Chargily Pay dashboard in the developer section
- Replace **secret\_key\_here** with your secret key shown in the Chargily Pay dashboard in the developer section

```
    use Chargily\ChargilyPay\Auth\Credentials;
    use Chargily\ChargilyPay\ChargilyPay;

    require "path-to-vendor/autoload.php";

    $credentials = new Credentials([
        "mode" => "test",
        "public" => "public_key_here",
        "secret" => "secret_key_here",
    ]);

    $chargily_pay = new ChargilyPay($credentials);

    $chargily_pay->balance()->get(),
    $chargily_pay->checkouts()->all(),
    $chargily_pay->customers()->all(),
    $chargily_pay->payment_links()->all(),
    $chargily_pay->prices()->all(),
    $chargily_pay->products()->all(),
    //validate and get Webhook details
    $chargily_pay->webhook()->get()
```

Documentation
=============

[](#documentation)

- [Balance](https://github.com/Chargily/chargily-pay-php/blob/main/docs/Balance.md)
- [Checkouts](https://github.com/Chargily/chargily-pay-php/blob/main/docs/Checkouts.md)
- [Customers](https://github.com/Chargily/chargily-pay-php/blob/main/docs/Customers.md)
- [Payment Links](https://github.com/Chargily/chargily-pay-php/blob/main/docs/PaymentLinks.md)
- [Prices](https://github.com/Chargily/chargily-pay-php/blob/main/docs/Prices.md)
- [Products](https://github.com/Chargily/chargily-pay-php/blob/main/docs/Products.md)
- [Webhook](https://github.com/Chargily/chargily-pay-php/blob/main/docs/Webhook.md)

Documentation For frameworks
============================

[](#documentation-for-frameworks)

- [Laravel](https://github.com/Chargily/chargily-pay-php/blob/main/docs/frameworks/Laravel.md)

About Chargily Pay™ packages
----------------------------

[](#about-chargily-pay-packages)

Chargily Pay™ packages/plugins are a collection of open source projects published by Chargily to facilitate the integration of our payment gateway into different programming languages and frameworks. Our goal is to empower developers and businesses by providing easy-to-use tools to seamlessly accept payments.

API Documentation
-----------------

[](#api-documentation)

For detailed instructions on how to integrate with our API and utilize Chargily Pay™ in your projects, please refer to our [API Documentation](https://dev.chargily.com/pay-v2/introduction).

Developers Community
--------------------

[](#developers-community)

Join our developer community on Telegram to connect with fellow developers, ask questions, and stay updated on the latest news and developments related to Chargily Pay™ : [Telegram Community](https://chargi.link/PayTelegramCommunity)

How to Contribute
-----------------

[](#how-to-contribute)

We welcome contributions of all kinds, whether it's bug fixes, feature enhancements, documentation improvements, or new plugin/package developments. Here's how you can get started:

1. **Fork the Repository:** Click the "Fork" button in the top-right corner of this page to create your own copy of the repository.
2. **Clone the Repository:** Clone your forked repository to your local machine using the following command:

```
git clone https://github.com/Chargily/chargily-pay-php.git
```

3. **Make Changes:** Make your desired changes or additions to the codebase. Be sure to follow our coding standards and guidelines.
4. **Test Your Changes:** Test your changes thoroughly to ensure they work as expected.
5. **Submit a Pull Request:** Once you're satisfied with your changes, submit a pull request back to the main repository. Our team will review your contributions and provide feedback if needed.

Get in Touch
------------

[](#get-in-touch)

Have questions or need assistance? Join our developer community on [Telegram](https://chargi.link/PayTelegramCommunity) and connect with fellow developers and our team.

We appreciate your interest in contributing to Chargily Pay™! Together, we can build something amazing.

Happy coding!

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~52 days

Recently: every ~59 days

Total

6

Last Release

571d ago

PHP version history (2 changes)2.0.0PHP &gt;=8.1.10

2.0.6PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39988497?v=4)[MOHAMMED BOUBAZINE](/maintainers/Medboubazine)[@Medboubazine](https://github.com/Medboubazine)

![](https://www.gravatar.com/avatar/8f382cc16254c1c7e28478b6d70c95b3bbca1755a365ad516094e6f6d63679d0?d=identicon)[Chargily](/maintainers/Chargily)

---

Top Contributors

[![Medboubazine](https://avatars.githubusercontent.com/u/39988497?v=4)](https://github.com/Medboubazine "Medboubazine (14 commits)")[![ChargilyDev](https://avatars.githubusercontent.com/u/102842898?v=4)](https://github.com/ChargilyDev "ChargilyDev (12 commits)")[![n4ss1m](https://avatars.githubusercontent.com/u/1750845?v=4)](https://github.com/n4ss1m "n4ss1m (2 commits)")

---

Tags

algerieapibaridimobcibedahabialaravelpaymentphppostesatimsymfonyphppaychargilyepaimentsatimcibcibwebpay.chargily.comChargily-Pay-Gateway

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chargily-chargily-pay/health.svg)

```
[![Health](https://phpackages.com/badges/chargily-chargily-pay/health.svg)](https://phpackages.com/packages/chargily-chargily-pay)
```

###  Alternatives

[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[thehocinesaad/laravel-chargily-epay

Laravel-Chargily-ePay is a Laravel package that provides an easy interface to Chargily ePay gateway

202.1k](/packages/thehocinesaad-laravel-chargily-epay)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)

PHPackages © 2026

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