Track your API metrics within ReadMe.
Installs: 61 228
- php: ^8.0 | ^8.1 | ^8.2
- composer-runtime-api: ^2.2
- composer/composer: ^2.0
- guzzlehttp/guzzle: ^7.0
- illuminate/http: ^9.0 | ^10.0
- illuminate/support: ^9.0 | ^10.0
- ramsey/uuid: ^3.7 | ^4.0
- phpunit/phpunit: ^9.5
- psalm/plugin-laravel: ^2.7
- squizlabs/php_codesniffer: ^3.6
- vimeo/psalm: ^5.7
Track usage of your API and troubleshoot issues faster.
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.