Skip to content

[READ ONLY] Mirror of the ReadMe Metrics SDK for PHP

License

Notifications You must be signed in to change notification settings

readmeio/metrics-sdks-php

Repository files navigation

ReadMe Metrics

Track usage of your API and troubleshoot issues faster.

Latest release Supported PHP versions Build status

With ReadMe's Metrics API your team can get deep insights into your API's usage. If you're a developer, it takes a few small steps to send your API logs to ReadMe. Here's an overview of how the integration works:

  • You add the ReadMe middleware to your Laravel application.
  • The middleware sends to ReadMe the response object that your Laravel application generates each time a user makes a request to your API. The entire response is sent, unless you allow or deny keys.
  • ReadMe populates Metrics with this information, such as which endpoint is being called, response code, and error messages. It also identifies the customer who called your API, using whichever keys in the middleware you call out as containing relevant customer info.
composer require readme/metrics

For more information on setup, check out our integration documentation.

🚧 Any Issues?

Integrations can be tricky! Contact support if you have any questions/issues.