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(11mo ago)223MITPHPPHP ^8.2

Since Jul 9Pushed 11mo 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 today

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

29

—

LowBetter than 57% of packages

Maintenance50

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

354d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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