PHPackages                             upviral/php-sdk - 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. [API Development](/categories/api)
4. /
5. upviral/php-sdk

ActiveLibrary[API Development](/categories/api)

upviral/php-sdk
===============

Upviral PHP SDK

1.1.0(4y ago)13.3k1MITPHP

Since Nov 26Pushed 4y ago2 watchersCompare

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

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

Installation
============

[](#installation)

```
composer require upviral/php-sdk
```

Usage
-----

[](#usage)

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

$apiKey = "";
$upviral = new Upviral\SDK($apiKey);
```

Fetch all campaigns
-------------------

[](#fetch-all-campaigns)

```
$campaigns = $upviral->getCampaigns();
var_dump($campaigns);
```

Fetch custom fields for a campaign
----------------------------------

[](#fetch-custom-fields-for-a-campaign)

```
$customFields = $upviral->geCustomFields('');
var_dump($customFields);
```

Add new contact/lead
--------------------

[](#add-new-contactlead)

```
$contact = new \Upviral\Entity\Contact();
$contact->name = '';
$contact->email = '', 'points'=>'100']);
var_dump($contacts);
```

Add points
----------

[](#add-points)

```
$res = $upviral->addPoints('', '', );
var_dump($res);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Total

2

Last Release

1492d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e30b07db6f8672e2fdb841feba37ba51e9ae5783bf59febe40f4db5a904c0a2?d=identicon)[franksoftgrid](/maintainers/franksoftgrid)

---

Top Contributors

[![franksoftgrid](https://avatars.githubusercontent.com/u/7777840?v=4)](https://github.com/franksoftgrid "franksoftgrid (5 commits)")

---

Tags

apisdkupviral

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M468](/packages/saloonphp-saloon)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)

PHPackages © 2026

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