PHPackages                             ourmetrics/laravel-sdk - 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. ourmetrics/laravel-sdk

ActiveLibrary[API Development](/categories/api)

ourmetrics/laravel-sdk
======================

....

15.6k[4 PRs](https://github.com/OurMetrics/laravel-sdk/pulls)PHP

Since Mar 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/OurMetrics/laravel-sdk)[ Packagist](https://packagist.org/packages/ourmetrics/laravel-sdk)[ RSS](/packages/ourmetrics-laravel-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

[![OurMetrics logo](logo.png)](logo.png)
Laravel SDK for OurMetrics API to log metrics.

 [![Build Status](https://camo.githubusercontent.com/104169d8bb7a0027d3a19bcd3074ff7ed951c2db147693b51d7b127beae556a8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4f75724d6574726963732f6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/OurMetrics/laravel-sdk)[![Coverage](https://camo.githubusercontent.com/2efaa437176d985ec0c8318d72a55e5a0d666c25af1f98686955cdc5d878f8c7/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f4f75724d6574726963732f6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/OurMetrics/laravel-sdk)[![Total Downloads](https://camo.githubusercontent.com/2b508288ef326a1d638506cdb1194573b62173467b0c2e343b2c9dc0a8a13a01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f75726d6574726963732f6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ourmetrics/laravel-sdk)[![Latest Stable Version](https://camo.githubusercontent.com/2c968b8420e8fbe136ddd9a8d631daefb7f3d178f0b688e5f722ba0154fb593e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f75726d6574726963732f6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ourmetrics/laravel-sdk)[![License](https://camo.githubusercontent.com/f5fcaa660530bff5bd1b9dfd27fd8afb24ffd81e5dc50e2b0e4c1772367e3308/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f75726d6574726963732f6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ourmetrics/laravel-sdk)

Uses the [OurMetrics PHP SDK](https://github.com/OurMetrics/php-sdk) under the hood, and adds some Laravel helpers such as config, facade, useful traits and optional middlewares.

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

[](#installation)

### 1. Install using composer.

[](#1-install-using-composer)

```
composer require ourmetrics/laravel-sdk
```

### 2. Add your project key

[](#2-add-your-project-key)

Find your project key in the OurMetrics dashboard, and append it to your `.env` file as so:

```
OURMETRICS_KEY=123456789

```

Usage
-----

[](#usage)

... Todo ...

Requirements
------------

[](#requirements)

- PHP &gt;= 7.3
- Laravel &gt;= 5.7

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

### Community

Maintainers

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

---

Top Contributors

[![LasseRafn](https://avatars.githubusercontent.com/u/2689341?v=4)](https://github.com/LasseRafn "LasseRafn (30 commits)")

### Embed Badge

![Health badge](/badges/ourmetrics-laravel-sdk/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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