PHPackages                             vendasta/accounts - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vendasta/accounts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vendasta/accounts
=================

Vendasta accounts library for PHP

1.1.0(5y ago)011PHPCI failing

Since Oct 7Pushed 3y ago6 watchersCompare

[ Source](https://github.com/vendasta/accounts-php-sdk)[ Packagist](https://packagist.org/packages/vendasta/accounts)[ RSS](/packages/vendasta-accounts/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (7)Versions (4)Used By (0)

accounts-php-sdk
================

[](#accounts-php-sdk)

Accounts php sdk

Description
-----------

[](#description)

This is Vendasta's official PHP SDK for API integration of accounts. This is used to provision apps for a business.

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

[](#requirements)

- PHP 5.5 and above or PHP 7.0 and above
- [PECL](https://pecl.php.net/) (may be used to install the required PHP extensions)
- [Composer](https://getcomposer.org/)
- [PHP gmp extension](http://php.net/manual/en/book.gmp.php)
- OPTIONAL (but recommended): [PHP grpc extension](https://cloud.google.com/php/grpc)

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

[](#installation)

Install the requirements from above, then:

```
composer require vendasta/accounts-php-sdk
```

Authentication
--------------

[](#authentication)

To authenticate your SDK calls, you must provision a service account from within the Vendasta platform.

*This feature is currently in alpha, therefore your service account credentials file will be provided to you manually.*

You must put this file on your server, and set an environment variable to it's path:

```
export VENDASTA_APPLICATION_CREDENTIALS=
```

Client Initialization
---------------------

[](#client-initialization)

It is highly recommended that you use a singleton client instance. Each client initilization will open it's own connection, therefore using a singleton results in reusing a connection, saving time and resources.

To instantiate the client:

```
$environment = "DEMO"; // "PROD" for production environment
$client = new Vendasta\Accounts\V1\AccountsServiceClient($environment);
```

App provisioning
----------------

[](#app-provisioning)

To provision an App

```
$createReq = new Vendasta\Accounts\V1\ActivateAppRequest();
$createReq->setBusinessId();
$createReq->setAppId("");
$createReq->setPartnerId("");
$createReq->setEditionId("");
$resp = $client->ActivateApp($createReq);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 53.3% 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 ~345 days

Total

2

Last Release

2067d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1498d6f30e570d34309cfb7c848cb3b80d0eca6bd8e28af9d5db3f4196b300bb?d=identicon)[vendasta](/maintainers/vendasta)

---

Top Contributors

[![gscoular](https://avatars.githubusercontent.com/u/6842296?v=4)](https://github.com/gscoular "gscoular (8 commits)")[![kamundson-va](https://avatars.githubusercontent.com/u/15634999?v=4)](https://github.com/kamundson-va "kamundson-va (6 commits)")[![avadan1](https://avatars.githubusercontent.com/u/83599192?v=4)](https://github.com/avadan1 "avadan1 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vendasta-accounts/health.svg)

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

###  Alternatives

[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[alibaba/nacos

阿里巴巴nacos配置中心php客户端

19340.8k1](/packages/alibaba-nacos)[spiral/grpc-client

gRPC client

41140.3k2](/packages/spiral-grpc-client)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[clarifai/clarifai-php-grpc

Clarifai PHP gRPC client

1128.3k](/packages/clarifai-clarifai-php-grpc)

PHPackages © 2026

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