ourmetrics/laravel-sdk

dev-master 2021-02-06 19:37 UTC

README

OurMetrics logo
Laravel SDK for OurMetrics API to log metrics.

Build Status Coverage Total Downloads Latest Stable Version License

Uses the OurMetrics PHP SDK under the hood, and adds some Laravel helpers such as config, facade, useful traits and optional middlewares.

Installation

1. Install using composer.

composer require ourmetrics/laravel-sdk

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

... Todo ...

Requirements

  • PHP >= 7.3
  • Laravel >= 5.7