PHPackages                             samlittler/laravel-vero - 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. samlittler/laravel-vero

AbandonedLibrary[API Development](/categories/api)

samlittler/laravel-vero
=======================

A laravel extension for interacting with the Vero API using the Vero PHP library

v2.1.1(6y ago)03642[1 issues](https://github.com/samlittler/laravel-vero/issues)MITPHPPHP &gt;=7.1.0CI failing

Since Sep 24Pushed 6y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (10)Used By (0)

laravel-vero
------------

[](#laravel-vero)

About
=====

[](#about)

This library adapts the Vero PHP library for Laravel. It provides a service container and facade for easy access.

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

[](#requirements)

- PHP 7.1+
- Laravel 5.6+
- json extension // Undocumented requirement of the underlying library
- curl extension // Undocumented requirement of the underlying library

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

[](#installation)

- Install the library with composer

`composer require samlittler/laravel-vero`

- Store an auth\_token key in your `config/services.php`

```
return [
    ...
    'vero' => [
        'auth_token' => env('VERO_AUTH_TOKEN'),
    ],
];
```

- Lastly, add your Vero auth token to your `.env`

```
VERO_AUTH_TOKEN="your auth token here"
```

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

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Recently: every ~11 days

Total

9

Last Release

2428d ago

Major Versions

v0.5.0 → v1.0.02019-10-28

v1.0.0 → v2.0.02019-11-06

### 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 (10 commits)")

### Embed Badge

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

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[rapidez/core

Rapidez Core

1822.4k65](/packages/rapidez-core)

PHPackages © 2026

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