├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml └── src ├── API ├── APIInterface.php ├── AbstractAPIClient.php ├── AbstractPluginActions.php ├── Client.php ├── DefaultHttpClient.php ├── Exception │ ├── CloudFlareException.php │ └── ZoneSettingFailException.php ├── Host.php ├── HttpClientInterface.php ├── Plugin.php ├── PluginRoutes.php └── Request.php ├── DNSRecord.php ├── Integration ├── ConfigInterface.php ├── DataStoreInterface.php ├── DefaultConfig.php ├── DefaultIntegration.php ├── DefaultLogger.php ├── IntegrationAPIInterface.php └── IntegrationInterface.php ├── Router ├── DefaultRestAPIRouter.php ├── RequestRouter.php └── RouterInterface.php ├── SecurityUtil.php ├── Test ├── .DS_Store ├── API │ ├── AbstractAPIClientTest.php │ ├── AbstractPluginActionsTest.php │ ├── ClientTest.php │ ├── DefaultHttpClientTest.php │ ├── HostTest.php │ └── PluginTest.php ├── Integration │ ├── DefaultConfigTest.php │ └── DefaultLoggerTest.php ├── Router │ ├── DefaultRestAPIRouterTest.php │ └── RequestRouterTest.php └── SecurityUtilTest.php └── Utils.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/API/APIInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/APIInterface.php -------------------------------------------------------------------------------- /src/API/AbstractAPIClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/AbstractAPIClient.php -------------------------------------------------------------------------------- /src/API/AbstractPluginActions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/AbstractPluginActions.php -------------------------------------------------------------------------------- /src/API/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/Client.php -------------------------------------------------------------------------------- /src/API/DefaultHttpClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/DefaultHttpClient.php -------------------------------------------------------------------------------- /src/API/Exception/CloudFlareException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/Exception/CloudFlareException.php -------------------------------------------------------------------------------- /src/API/Exception/ZoneSettingFailException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/Exception/ZoneSettingFailException.php -------------------------------------------------------------------------------- /src/API/Host.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/Host.php -------------------------------------------------------------------------------- /src/API/HttpClientInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/HttpClientInterface.php -------------------------------------------------------------------------------- /src/API/Plugin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/Plugin.php -------------------------------------------------------------------------------- /src/API/PluginRoutes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/PluginRoutes.php -------------------------------------------------------------------------------- /src/API/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/API/Request.php -------------------------------------------------------------------------------- /src/DNSRecord.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/DNSRecord.php -------------------------------------------------------------------------------- /src/Integration/ConfigInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/ConfigInterface.php -------------------------------------------------------------------------------- /src/Integration/DataStoreInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/DataStoreInterface.php -------------------------------------------------------------------------------- /src/Integration/DefaultConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/DefaultConfig.php -------------------------------------------------------------------------------- /src/Integration/DefaultIntegration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/DefaultIntegration.php -------------------------------------------------------------------------------- /src/Integration/DefaultLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/DefaultLogger.php -------------------------------------------------------------------------------- /src/Integration/IntegrationAPIInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/IntegrationAPIInterface.php -------------------------------------------------------------------------------- /src/Integration/IntegrationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Integration/IntegrationInterface.php -------------------------------------------------------------------------------- /src/Router/DefaultRestAPIRouter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Router/DefaultRestAPIRouter.php -------------------------------------------------------------------------------- /src/Router/RequestRouter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Router/RequestRouter.php -------------------------------------------------------------------------------- /src/Router/RouterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Router/RouterInterface.php -------------------------------------------------------------------------------- /src/SecurityUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/SecurityUtil.php -------------------------------------------------------------------------------- /src/Test/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/.DS_Store -------------------------------------------------------------------------------- /src/Test/API/AbstractAPIClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/API/AbstractAPIClientTest.php -------------------------------------------------------------------------------- /src/Test/API/AbstractPluginActionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/API/AbstractPluginActionsTest.php -------------------------------------------------------------------------------- /src/Test/API/ClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/API/ClientTest.php -------------------------------------------------------------------------------- /src/Test/API/DefaultHttpClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/API/DefaultHttpClientTest.php -------------------------------------------------------------------------------- /src/Test/API/HostTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/API/HostTest.php -------------------------------------------------------------------------------- /src/Test/API/PluginTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/API/PluginTest.php -------------------------------------------------------------------------------- /src/Test/Integration/DefaultConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/Integration/DefaultConfigTest.php -------------------------------------------------------------------------------- /src/Test/Integration/DefaultLoggerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/Integration/DefaultLoggerTest.php -------------------------------------------------------------------------------- /src/Test/Router/DefaultRestAPIRouterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/Router/DefaultRestAPIRouterTest.php -------------------------------------------------------------------------------- /src/Test/Router/RequestRouterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/Router/RequestRouterTest.php -------------------------------------------------------------------------------- /src/Test/SecurityUtilTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Test/SecurityUtilTest.php -------------------------------------------------------------------------------- /src/Utils.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/cloudflare-plugin-backend/HEAD/src/Utils.php --------------------------------------------------------------------------------