The LaminasCdn
provides integration of the CDN APIs.
Install the latest version with
$ composer require smartframe-technologies/laminas-cdn
Start by creating a logging configuration file (i.e. config/autoload/cdn.global.php
) with minimal configration
If are you using ConfigAggregator library already have
defined ConfigProvider
More information in ConfigProviders section
<?php
return [
'cdn' => [
'fastly' => [
'apiToken' => 'your-api-token-goes-here'
],
]
];
See the LICENSE file for license rights and limitations (Apache license 2.0).