{"repo":"Treblle/treblle-php","free":true,"listed":false,"github":"https://github.com/Treblle/treblle-php","clone":"git clone https://github.com/Treblle/treblle-php.git","description":"The official Treblle SDK for PHP. Seamlessly integrate Treblle to manage communication with your dashboard, send errors, and secure sensitive data.","language":"PHP","stars":20,"topics":["api","logging","php","api-monitoring","backend","treblle","treblle-sdk","api-observability","developer-tool","rest-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Treblle - Runtime Intelligence Platform Website • Documentation • Pricing Discover, Govern, and Secure APIs, Agents, and AI Across Any Cloud, Gateway or Technology. Treblle PHP SDK --- Requirements Dependency Version ------------- --------- PHP ^8.2 ext-curl any ext-json any ext-mbstring any ext-zlib any --- Installation --- Setup Add one line at the top of your entry point (e.g. index.php ) before any output: Both credentials are available in your Treblle Dashboard. That's it. Treblle will automatically capture request and response data and ship it to the ingress asynchronously after your response has been sent. --- Configuration Pass options as the third argument to Treblle::create() : Or build a config object directly for more control: sdkToken Your Treblle SDK Token obtained from the Treblle Dashboard. apiKey Your Treblle API Key obtained from the Treblle Dashboard. enabled Controls whether Treblle is active. Defaults to true . Set to false to disable the SDK in specific environments without removing your credentials. debug When true , the SDK writes diagnostic messages to the PHP error log prefixed with [TREBLLE] . All messages are suppressed by default. Useful for: - Verifying your credentials are correct - Seeing which requests are skipped and why - Diagnosing ingress connectivity issues Example debug output: Debug output goes to wherever PHP's error log is configured - typically your web server error log or a file defined in php.ini . masked keywords Field names to ma","default_branch":null,"files":null,"tree":[],"storefront":"/r/Treblle","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Treblle/treblle-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}