senfenico/senfenico-php

Senfenico payment API sdk

Maintainers

Package info

github.com/senfenico/senfenico-php

Homepage

pkg:composer/senfenico/senfenico-php

Transparency log

Statistics

Installs: 105

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.3.0 2024-09-08 03:31 UTC

This package is not auto-updated.

Last update: 2026-08-23 13:27:03 UTC


README

The Senfenico PHP library provides convenient access to the Stripe API from applications written in the PHP language.

Requirements

PHP 7.3.0 and later.

Composer

You can install the bindings via Composer. Run the following command:

composer require senfenico/senfenico-php

To use the bindings, use Composer's autoload:

require_once 'vendor/autoload.php';

Manual Installation

If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file.

require_once '/path/to/senfenico-php/init.php';

Getting Started

Simple usage looks like:

$senfenico = new \Senfenico\Senfenico('sk_test_...');
$charge = $senfenico->charge->create([
    'amount' => 1000,
    'phone' => '76xxxxxx',
    'provider' => 'orange_bf'
]);
echo $charge;

Documentation

See the PHP API docs.