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

ActiveLibrary[API Development](/categories/api)

rikimaru09/php-sdk
==================

Upviral PHP SDK

1.0.0(6y ago)07MITPHP

Since Nov 26Pushed 5y agoCompare

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

READMEChangelogDependencies (1)Versions (2)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-&gt;getCampaigns(); var\_dump($campaigns);

Fetch custom fields for a campaign
==================================

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

$customFields = $upviral-&gt;geCustomFields(''); var\_dump($customFields);

Add new contact/lead
====================

[](#add-new-contactlead)

$contact = new \\Upviral\\Entity\\Contact(); $contact-&gt;name = ''; $contact-&gt;email = '&lt;Email'; $contact-&gt;campaigns = ''; $contact-&gt;referred\_by = ''; $contact-&gt;custom\_fields = \['custom\_field\_1'=&gt;'value'\]; $res = $upviral-&gt;addContact($contact); var\_dump($res);

Fetch contact/lead by id
========================

[](#fetch-contactlead-by-id)

$contact = $upviral-&gt;getContact('', ''); var\_dump($contact);

Fetch contact/lead by email
===========================

[](#fetch-contactlead-by-email)

$contact = $upviral-&gt;getContact('', ''); var\_dump($contact);

Fetch all contacts of a campaign
================================

[](#fetch-all-contacts-of-a-campaign)

$contacts = $upviral-&gt;getContacts(''); var\_dump($contacts);

Fetch all contacts of a campaign filtered by points
===================================================

[](#fetch-all-contacts-of-a-campaign-filtered-by-points)

$contacts = $upviral-&gt;getContacts('', \['operator'=&gt;'', 'points'=&gt;''\]); // For example // $contacts = $upviral-&gt;getContacts('', \['operator'=&gt;'&gt;', 'points'=&gt;'100'\]); var\_dump($contacts);

Add points
==========

[](#add-points)

$res = $upviral-&gt;addPoints('&lt;lead/contact id&gt;', '', ); var\_dump($res);

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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

Unknown

Total

1

Last Release

2364d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12764303?v=4)[Syrone Rex Condez](/maintainers/rikimaru09)[@rikimaru09](https://github.com/rikimaru09)

---

Top Contributors

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

---

Tags

apisdkupviral

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/rikimaru09-php-sdk/health.svg)](https://phpackages.com/packages/rikimaru09-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)
