The Coralogix PHP SDK will End of Life(EOL) Feb 1st 2024.
For PHP 7.4+, please use the Coralogix’s PHP OpenTelemetry Instrumentation Documentation instead.


If you will use it simply, you should initialize Composer application and install Coralogix PHP SDK:

$ composer init
$ composer require "coralogix/php-coralogix-sdk"

Then you need to include to your script autoload file:

require 'vendor/autoload.php';

And then you can use Coralogix logger:


require_once "vendor/autoload.php";

use Coralogix\CoralogixLogger;

// Initialize logger with your credentials
$logger = new CoralogixLogger(

// Send log message
$logger->info("Hello from Coralogix PHP SDK");