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.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.