PHPackages                             logtide/sdk-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. logtide/sdk-php

ActiveProject[Logging &amp; Monitoring](/categories/logging)

logtide/sdk-php
===============

LogTide PHP SDK monorepo - log management, tracing, and observability

v0.7.2(2mo ago)05↓50%MITPHPPHP ^8.1CI passing

Since Nov 22Pushed 2mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (25)Versions (7)Used By (0)

 [![LogTide Logo](https://raw.githubusercontent.com/logtide-dev/logtide/main/docs/images/logo.png)](https://raw.githubusercontent.com/logtide-dev/logtide/main/docs/images/logo.png)

LogTide PHP SDK
===============

[](#logtide-php-sdk)

 [![Release](https://camo.githubusercontent.com/2648e2483162378a02f261bc06f5308b730dc5398904904f5a537d965f33f2d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6c6f67746964652d6465762f6c6f67746964652d706870)](https://github.com/logtide-dev/logtide-php/releases) [![License](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE) [![CI](https://camo.githubusercontent.com/d76afb6bffa66c069ee2f3138c25b47d77d8d0b46d9b7681c4e87ef4e8549bfa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f67746964652d6465762f6c6f67746964652d7068702f63692e796d6c3f6272616e63683d6d61696e)](https://github.com/logtide-dev/logtide-php/actions)

 Official PHP SDKs for [LogTide](https://logtide.dev) - self-hosted log management with distributed tracing, error capture, and breadcrumbs for every major framework.

---

Packages
--------

[](#packages)

PackageVersionDescription[`logtide/logtide`](./packages/logtide)[![Packagist](https://camo.githubusercontent.com/0f048d5c5d3c3efb04671fd48b77a62f6332e67a8e5021f55ac23f0b903478f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f67746964652f6c6f67746964653f636f6c6f723d626c7565)](https://packagist.org/packages/logtide/logtide)Core client, hub, transports, and utilities[`logtide/logtide-laravel`](./packages/logtide-laravel)[![Packagist](https://camo.githubusercontent.com/9024caf11bdb21ce34eb38cdd57e2508226d2bdc3c5eb0c40e6c87351a1f8314/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f67746964652f6c6f67746964652d6c61726176656c3f636f6c6f723d626c7565)](https://packagist.org/packages/logtide/logtide-laravel)Laravel integration[`logtide/logtide-symfony`](./packages/logtide-symfony)[![Packagist](https://camo.githubusercontent.com/6a7821342a5fe6ddc017e1bd1c1a531de8c394701027f148260efa17d23d1304/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f67746964652f6c6f67746964652d73796d666f6e793f636f6c6f723d626c7565)](https://packagist.org/packages/logtide/logtide-symfony)Symfony Bundle[`logtide/logtide-slim`](./packages/logtide-slim)[![Packagist](https://camo.githubusercontent.com/46175fed4c030300609f0b535b81adcbbef72e6dd8baad3743fc41eb873a9789/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f67746964652f6c6f67746964652d736c696d3f636f6c6f723d626c7565)](https://packagist.org/packages/logtide/logtide-slim)Slim 4 middleware[`logtide/logtide-wordpress`](./packages/logtide-wordpress)[![Packagist](https://camo.githubusercontent.com/9a83406746a58ee1f05ce26587d780509315572449c882a6a5cc720a312a8a3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f67746964652f6c6f67746964652d776f726470726573733f636f6c6f723d626c7565)](https://packagist.org/packages/logtide/logtide-wordpress)WordPress integrationQuick Start
-----------

[](#quick-start)

Every framework package follows the same pattern - pass your DSN and service name:

```
# Install for your framework
composer require logtide/logtide-laravel    # Laravel
composer require logtide/logtide-symfony    # Symfony
composer require logtide/logtide-slim       # Slim 4
composer require logtide/logtide-wordpress  # WordPress
composer require logtide/logtide            # Core (standalone)
```

```
// Every integration follows the same pattern:
\LogTide\init([
    'dsn' => 'https://lp_your_key@your-logtide-instance.com',
    'service' => 'my-app',
]);

// Or use api_url + api_key separately:
\LogTide\init([
    'api_url' => 'https://your-logtide-instance.com',
    'api_key' => 'lp_your_key',
    'service' => 'my-app',
]);
```

See each package's README for framework-specific setup instructions.

---

Architecture
------------

[](#architecture)

```
logtide/logtide                ← Core: Client, Hub, Scope, Transports, Integrations
    ↓
├── logtide/logtide-laravel    ← Laravel ServiceProvider, Middleware, Log Channel
├── logtide/logtide-symfony    ← Symfony Bundle, Event Subscribers
├── logtide/logtide-slim       ← Slim 4 PSR-15 Middleware
└── logtide/logtide-wordpress  ← WordPress hooks & integrations

```

All framework packages share `logtide/logtide` core for:

- **Distributed tracing** (W3C Trace Context / `traceparent`)
- **Error serialization** with structured stack traces
- **Breadcrumbs** for HTTP, database, and custom events
- **Batched transport** with retry logic and circuit breaker
- **Scope isolation** per request
- **Monolog integration** for logging

---

Development
-----------

[](#development)

```
# Install dependencies
composer install

# Run all tests
composer test

# Run tests with coverage
composer test:coverage

# Static analysis (PHPStan level 8)
composer phpstan

# Code style check (PSR-12)
composer cs

# Code style fix
composer cs:fix
```

Branch Model
------------

[](#branch-model)

```
feature/* ──> develop ──> main ──> tag v*.*.* ──> Packagist publish
hotfix/*  ──> main (via PR, for urgent fixes)

```

See [`.github/BRANCH_PROTECTION.md`](.plans/BRANCH_PROTECTION.md) for full details.

Contributing
------------

[](#contributing)

Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.

License
-------

[](#license)

MIT License - see [LICENSE](LICENSE) for details.

Links
-----

[](#links)

- [LogTide Website](https://logtide.dev)
- [Documentation](https://logtide.dev/docs)
- [GitHub Issues](https://github.com/logtide-dev/logtide-php/issues)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance88

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

4

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cbe013166f42478282cf80b5fccff336417fa008ba3e79d0c7e27130415f8b5?d=identicon)[Polliog](/maintainers/Polliog)

---

Top Contributors

[![Polliog](https://avatars.githubusercontent.com/u/40077351?v=4)](https://github.com/Polliog "Polliog (23 commits)")

---

Tags

batchingcircuitbreakerdistributed-tracinglaravellog-managementlogginglogtidemiddlewaremonorepoobserabilityobservabilitypackagistphppsr-15retry-logicsdkslimsymfonytracingwordpress

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)

PHPackages © 2026

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