smartframe-technologies / laminas-cdn
Laminas module that integrates different CDN provider APIs
Installs: 1 008
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: ^8.0 | ^8.1
- fastly/fastly: 1.0.0
- fig/http-message-util: ^1.1.5
- laminas/laminas-servicemanager: ^3.10.0
- psr/container: ^1.1.2
- psr/http-message: ^1.0.1
- psr/log: ^1.1.4
- smartframe-technologies/cloudflare-php: dev-feature/key-value-endpoint
Requires (Dev)
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2025-03-14 17:25:54 UTC
README
The LaminasCdn
provides integration of the CDN APIs.
Installation
Install the latest version with
$ composer require smartframe-technologies/laminas-cdn
Configuration
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
Minimal config settings
<?php return [ 'cdn' => [ 'fastly' => [ 'apiToken' => 'your-api-token-goes-here' ], ] ];
License
See the LICENSE file for license rights and limitations (Apache license 2.0).