This repository was archived by the owner on Feb 13, 2020. It is now read-only.
File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 3
3
This plugin is a (* very* ) thin veil over vexxhost's [ CloudFlare-API] ( https://github.com/vexxhost/CloudFlare-API ) for use in CakePHP controllers.
4
4
Please use composer to install so that the required dependencies are installed
5
5
6
- ## Installation
6
+ ## Composer Installation
7
7
8
8
* Add to composer, this will also install the Amazon SDK for PHP as a dependency
9
9
10
10
"ali1/cakephp-cloudflare-api": "dev-master"
11
11
12
- * Add the component to a controller
12
+ ## Non-composer Installation
13
13
14
- public $components = array('CloudFlareApi.CloudFlareApi');
14
+ * Place the contents of this repo in Plugin/CloudFlareApi
15
+ * Download the contents of https://github.com/vexxhost/CloudFlare-API into Plugin/CloudFlareApi/Vendor/vexxhost/cloud-flare-api
15
16
16
17
## Configuration
17
18
18
- You must add configuration to bootstrap.php.
19
+ * You must add configuration to bootstrap.php.
19
20
20
21
Configure::write('CloudFlareApi.email', 'CLOUDFLARE EMAIL');
21
22
Configure::write('CloudFlareApi.apiKey', 'CLOUDFLARE API KEY');
22
23
23
- Don't forget to replace the placeholder text with your actual keys!
24
+ * Don't forget to replace the placeholder text with your actual keys!
25
+
26
+ * Add the component to a controller
24
27
25
- ## Example
28
+ public $components = array('CloudFlareApi.CloudFlareApi'); ## Example
26
29
27
30
* Remove a file from the cache
28
31
You can’t perform that action at this time.
0 commit comments