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

ActiveLibrary

vendloop/vendloop-php
=====================

A PHP library for communicating with the Vendloop REST API.

v1.1.0(1y ago)017MITPHPPHP &gt;=5.6.0

Since Jul 17Pushed 3mo agoCompare

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

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Vendloop PHP SDK
================

[](#vendloop-php-sdk)

The Vendloop PHP library provides convenient access to the Vendloop API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Vendloop API.

Requirements
------------

[](#requirements)

PHP 5.6.0 and later.

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

[](#installation)

#### Composer

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require vendloop/vendloop-php
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once 'vendor/autoload.php';
```

#### Manual Installation

[](#manual-installation)

If you do not wish to use Composer, you can download the [latest release](https://github.com/vendloop/vendloop-php/releases). Then, to use the bindings, include the `autoload.php` file.

```
require_once '/path/to/vendloop-php/src/autoload.php';
```

Dependencies
------------

[](#dependencies)

The bindings require the following extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer
- [`json`](https://secure.php.net/manual/en/book.json.php)
- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)

If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.

Getting Started
---------------

[](#getting-started)

Simple usage looks like:

```
use Vendloop\VendloopClient;

$vendloop = new \Vendloop\VendloopClient('sk_live_aa873dabc21fba4d45762bf0b18b56d79a18e37b');
try {
    $customer = $vendloop->customers->fetch([
        'id' => 12
    ]);
    echo $customer;
} catch(\Vendloop\Exception\ApiException $e){
    die($e->getMessage());
}
```

The `VendloopClient` class also accepts an array of config values

```
$vendloop = new \Vendloop\VendloopClient([
    'api_key' => 'sk_live_aa873dabc21fba4d45f0b18b56d79a18e37762bb', // your api key
    'base_url' => 'https://api.vendloop.com', // to change the endpoint URL to a mock server
    'use_guzzlehttp' => false // if true, use GuzzleHttp for API calls (GuzzleHttp should be installed)
]);
```

Check [SAMPLES](SAMPLES.md) for more sample API usage

Documentation
-------------

[](#documentation)

See the [ API docs](https://vendloop.com/docs/api/) for detailed endpoint documentation.

SSL / TLS compatibility issues
------------------------------

[](#ssl--tls-compatibility-issues)

Confirm that your server can conclude a TLSv1.2 connection to Vendloop's servers. Most up-to-date software have this capability. Contact your service provider for guidance if you have any SSL errors. Don't disable SSL peer verification!

The recommended course of action is to [upgrade your cURL and OpenSSL packages](#) so that TLS 1.2 is used by default.

Support
-------

[](#support)

New features and bug fixes are released on the latest major version of the Vendloop PHP library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) and [CONDUCT](.github/CONDUCT.md) for details. Check our [TODO](.github/TODO.md) for features already intended.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance58

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

669d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df3e4594b5f089e87efc93d53d851c28b2367a463521cdf9c0f7851c28cc3b18?d=identicon)[geoorg30](/maintainers/geoorg30)

---

Top Contributors

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

---

Tags

vendloopvendloop-apivendloop-sdkvendloop-php

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

PHPackages © 2026

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