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 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 3d 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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

2383d 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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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