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

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

samlittler/vero-php
===================

Modern library for handling, users and channels with Vero's communications platform.

v1.0.0(6y ago)014.7k[2 issues](https://github.com/samlittler/vero-php/issues)[2 PRs](https://github.com/samlittler/vero-php/pulls)1MITPHPPHP &gt;=7.1

Since Nov 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/samlittler/vero-php)[ Packagist](https://packagist.org/packages/samlittler/vero-php)[ RSS](/packages/samlittler-vero-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Vero PHP
--------

[](#vero-php)

About
=====

[](#about)

I've developed this library because the official Vero library is out of data and doesn't support some stuff.

Requirements
============

[](#requirements)

- PHP 7.1+
- json extension

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

[](#installation)

Install this library with composer by running the following command.

`composer require samlittler/vero-php`

Usage
=====

[](#usage)

- Users
    - Identify
    - Unsubscribe
    - Resubscribe
    - Delete
    - Tags
        - Add
        - Remove
- Events
    - Track

Get a Vero instance
-------------------

[](#get-a-vero-instance)

```
$vero  = new \SamLittler\Vero('');
```

Users
-----

[](#users)

### Identify

[](#identify)

**Standard Identify Usage**

Standard identification usage is simple, and it allows subsequent track events to be collected on the Vero dashboard.

```
$user = $vero->users()->findOrCreate(123);
$user->identify();
```

**You can also add arbitrary identification information here.**

*Note: Email addresses have a dedicated method, because they're handled differently.*

```
$user = $vero->users()->findOrCreate(123);
$user->setEmail('john@example.com');
$user->identify([
    'forename' => 'John',
    'surname' => 'Smith',
]);
```

**Push Channels**

You can only register push channels during the identify call.

```
$user = $vero->users()->findOrCreate(123);
$user->addChannel('push', '', 'ios');
$user->identify();
```

### Unsubscribe

[](#unsubscribe)

You can programmatically unsubscribe users from Vero marketing.

```
$user = $vero->users()->findOrCreate(123);
$user->unsubscribe();
```

### Resubscribe

[](#resubscribe)

You can programmatically resubscribe users to Vero marketing.

```
$user = $vero->users()->findOrCreate(123);
$user->unsubscribe();
```

### Delete

[](#delete)

You can delete users from Vero. You'll require a new identify call to re-add them.

```
$user = $vero->users()->findOrCreate(123);
$user->delete();
```

Tags
----

[](#tags)

### Add

[](#add)

```
$user = $vero->users()->findOrCreate(123);
$user->addTag('november');
```

### Remove

[](#remove)

```
$user = $vero->users()->findOrCreate(123);
$user->removeTag('november');
```

Events
------

[](#events)

### Track

[](#track)

You can send track events with arbitrary data.

```
$user = $vero->users()->findOrCreate(123);
$user->track('User Registered', [
    'referral' => 'app_store',
]);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

2431d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96775b72e83f533028dc82c8f24df717f837f8b3ba00b6f25e305179ef627c3b?d=identicon)[SamMakesCode](/maintainers/SamMakesCode)

---

Top Contributors

[![SamMakesCode](https://avatars.githubusercontent.com/u/10065536?v=4)](https://github.com/SamMakesCode "SamMakesCode (1 commits)")

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k37](/packages/neuron-core-neuron-ai)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

346132.9M111](/packages/google-cloud-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k39](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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