By default Reports.PHP runs in trial mode (with a watermark). This example shows the several ways to apply your license key to remove it.

License setup. Load or assign the license at application startup, before the first report component is created.
// Globally, before creating components:
StiLicense::setPrimaryKey('6vJhGtLLLz2GNviWmUTrhSqnO...');
StiLicense::setPrimaryFile('stimulsoft.key');

// Or per report object:
$report->license->setKey('6vJhGtLLLz2GNviWmUTrhSqnO...');
$report->license->setFile('stimulsoft.key');


The license can be applied globally with StiLicense or on an individual report through its license property, using either the key string or a stimulsoft.key file. This removes the trial watermark and reminders.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.