PHPackages                             aljeerz/php-satim - 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. aljeerz/php-satim

ActiveLibrary[Payment Processing](/categories/payments)

aljeerz/php-satim
=================

PHP Library to Interact with Satim.dz CIB Payment Gateway

v0.0.6(10mo ago)223MITPHPPHP ^8.2

Since Jul 9Pushed 10mo agoCompare

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

READMEChangelogDependencies (1)Versions (7)Used By (0)

php-satim
=========

[](#php-satim)

PHP Library to Interact with Satim.dz CIB Payment Gateway

Installation
------------

[](#installation)

You can install the library using Composer. Run the following command in your terminal:

```
composer require aljeerz/satim
```

Usage
-----

[](#usage)

#### Initializing the Satim Client

[](#initializing-the-satim-client)

```
require 'vendor/autoload.php';
use Aljeerz\PhpSatim\SatimClient;

// Initialize the Satim client with your credentials

$testMode = true; // Set to false for production environment

// Create a new instance of the SatimClient
$client = new SatimClient('satim_username', 'satim_password', 'satim_terminal_id', $testMode);
```

#### Registering a New Order

[](#registering-a-new-order)

```
use Aljeerz\PhpSatim\Support\Enums\SatimCurrency;
use Aljeerz\PhpSatim\Support\Enums\SatimLanguage;
use Aljeerz\PhpSatim\Exceptions\SatimException;

// Create a new order using a builder pattern
$orderBuilder = $client->initNewOrder()
    ->withAmount(1000) // Amount in Currency * 100
    ->withOrderNumber('APP01ORD00001') // Unique order ID
    ->withCurrency(SatimCurrency::DZD) // Currency
    ->withLanguage(SatimLanguage::FR) // Language
    ->withReturnUrl('https://example.com/payments/cib') // URL to redirect after payment
    ->withFailUrl('https://example.com/payments/cib/cancel') // URL to redirect if payment fails
    ->withDescription('Satim Payment Test') // Description of the order
    ->withUserDefinedFields([...]);

try {
    $orderRegistrationResponse = $client->registerOrder($orderBuilder);
} catch (SatimException $e){
    // Handle exception
}
```

#### Confirming an Order

[](#confirming-an-order)

```
use Aljeerz\PhpSatim\Exceptions\SatimException;

// Confirm the order
try {
    $orderConfirmationResponse = $client->confirmOrder("APP01ORD00001");
} catch (SatimException $e){
    // Handle exception
}
```

#### Checking Order Status ( Not in official satim integration documentation )

[](#checking-order-status--not-in-official-satim-integration-documentation-)

```
// Check the status of the order
try {
    $orderStatusResponse = $client->getOrderStatus("APP01ORD00001");
} catch (SatimException $e){
    // Handle exception
}
```

#### Refunding an Order

[](#refunding-an-order)

```
// Refund the order
try {
    $refundResponse = $client->refundOrder("APP01ORD00001", 1000); // Amount in Currency * 100
} catch (SatimException $e){
    // Handle exception
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance54

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

6

Last Release

307d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01204e6c34e1c57510bea3b9445f32d4c31599bc4a1fa34fa596e8bc83abb87e?d=identicon)[thatmounaim](/maintainers/thatmounaim)

---

Top Contributors

[![thatmounaim](https://avatars.githubusercontent.com/u/43970153?v=4)](https://github.com/thatmounaim "thatmounaim (8 commits)")

### Embed Badge

![Health badge](/badges/aljeerz-php-satim/health.svg)

```
[![Health](https://phpackages.com/badges/aljeerz-php-satim/health.svg)](https://phpackages.com/packages/aljeerz-php-satim)
```

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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