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

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

userlog/php
===========

UserLog PHP SDK

v1.0.2(1y ago)028MITPHPPHP ^8.1

Since Jan 11Pushed 1y ago2 watchersCompare

[ Source](https://github.com/getuserlog/php)[ Packagist](https://packagist.org/packages/userlog/php)[ RSS](/packages/userlog-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

UserLog PHP SDK
===============

[](#userlog-php-sdk)

Installation
------------

[](#installation)

```
composer require userlog/php
```

Usage
-----

[](#usage)

### Initialize Client

[](#initialize-client)

```
use UserLog\PHP\Client;

$userlog = new Client('', '');
```

The project name will be auto-injected in all requests.

### Log

[](#log)

```
// The channel name, event name and user_id are the only required parameters.
$userlog->log('subscriptions', 'User subscribed!', 'user@example.com');

// Other parameters can be added when needed.
$userlog->log(
    channel: 'subscriptions',
    event: 'User subscribed!',
    user_id: 'user@example.com',
    description: 'A new user subscribed to the premium plan.',
    icon: '👍🏼',
    notify: true,
    tags: [
        'payment-method' => 'card',
        'plan' => 'monthly',
    ],
);
```

### Identify

[](#identify)

```
// Both the user id and the properties are required.
$userlog->identify(
    userId: 'user@example.com',
    properties: [
        'active' => 'yes',
        'signed-in' => 'no',
    ],
);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance41

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~2 days

Total

3

Last Release

489d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6e14309ee1306ab6e91f53ef19ed204523908e3c6e20bccc2ef8131ae541c83?d=identicon)[userlog](/maintainers/userlog)

---

Top Contributors

[![8bytede](https://avatars.githubusercontent.com/u/75363633?v=4)](https://github.com/8bytede "8bytede (4 commits)")[![Re3ker](https://avatars.githubusercontent.com/u/11574589?v=4)](https://github.com/Re3ker "Re3ker (2 commits)")

### Embed Badge

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

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

###  Alternatives

[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4561.2M5](/packages/athari-yalinqo)[malukenho/mcbumpface

Bumping into packages

116714.7k24](/packages/malukenho-mcbumpface)[inovector/mixpostapp

Standalone application with the Laravel Package of Mixpost Lite pre-installed and configured

1232.9k](/packages/inovector-mixpostapp)[joserick/laravel-livewire-discover

Discover and autoload multiples components of livewire by convention (componentNamespace)

2736.6k2](/packages/joserick-laravel-livewire-discover)[neysi/directprint

Easy and direct file print from PHP

218.3k](/packages/neysi-directprint)

PHPackages © 2026

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