# boxzilla/3.4.3/src/licensing/services.php

Boxzilla – WordPress Popup Builder, version 3.4.3. 29 lines.

- Page: https://pluginprobe.com/plugins/boxzilla/3.4.3/code/src/licensing/services.php
- Raw: https://pluginprobe.com/plugins/boxzilla/3.4.3/raw/src/licensing/services.php
- Modified: 2025-03-24T08:35:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/boxzilla/3.4.3/code/src/licensing/services.php#L10-L20`.

```php
<?php

namespace Boxzilla\Licensing;

defined('ABSPATH') or exit;

$boxzilla = boxzilla();

$boxzilla['license'] = function ($boxzilla) {
    return new License('boxzilla_license');
};

$boxzilla['license_api'] = function ($boxzilla) {
    $api_url = 'https://my.boxzillaplugin.com/api/v2';
    return new API($api_url, $boxzilla['license']);
};

$boxzilla['license_manager'] = function ($boxzilla) {
    return new LicenseManager($boxzilla['plugins'], $boxzilla['license_api'], $boxzilla['license']);
};

$boxzilla['update_manager'] = function ($boxzilla) {
    return new UpdateManager($boxzilla['plugins'], $boxzilla['license_api'], $boxzilla['license']);
};

$boxzilla['license_poller'] = function ($boxzilla) {
    return new Poller($boxzilla['license_api'], $boxzilla['license']);
};

```
