Skip to content

Commit afedc3d

Browse files
authored
Merge pull request #21 from cp6/dev
Added some index links to readme
2 parents 2ff4aee + 50540db commit afedc3d

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,36 @@ BunnyCDN) pull, video streaming, DNS and storage zones [API](https://docs.bunny.
66
This class whilst having a main focus on storage zone interaction includes pull zone features. Combining API with FTP,
77
managing and using BunnyNet storage zones just got easier.
88

9-
[![Generic badge](https://img.shields.io/badge/version-1.9-blue.svg)]()
10-
[![Generic badge](https://img.shields.io/badge/PHP-8.1-purple.svg)]()
9+
[![Generic badge](https://img.shields.io/badge/version-1.9.2-blue.svg)]()
10+
[![Generic badge](https://img.shields.io/badge/PHP-8.2-purple.svg)]()
1111

12-
### 1.9 changes
13-
* Updated project to have separate class files for each handler (Pull, Storage, Stream and DNS)
14-
* Added class `BunnyAPIPull` for pullzone interaction
15-
* Added class `BunnyAPIStorage` for storage interaction
16-
* Added class `BunnyAPIStream` for video stream interaction
17-
* Added class `BunnyAPIDNS` for DNS interaction
12+
## Index
13+
* [Features](#features)
14+
* [Installing & usage](#installing)
15+
* [Pullzone](#pullzone)
16+
* [Storage](#storage)
17+
* [Video streaming](#video)
18+
* [DNS]()
19+
* [Misc]()
20+
21+
### 1.9.2 changes
22+
* Updated project to be PHP version 8.2 as a minimum
1823

1924
### TODO
2025
* Sort (features) and index the readme
21-
* Create separate example files for each (pull, storage, video/stream and DNS)
2226

2327
### Requirements
2428

29+
* PHP 8.2
30+
2531
For Pull zone, billing and statistics API interaction you will need your BunnyNet API key, this is found in your
2632
dashboard in the My Account section.
2733

2834
If you want to interact with storage zones you will need your BunnyCDN API key set and the name of the storage zone.
2935

3036
You can get this with ```listStorageZones()``` as it returns all the storage zone data/info for the account.
3137

38+
<span id="features"></span>
3239
## Features & abilities
3340

3441
* List storage zones
@@ -71,6 +78,7 @@ You can get this with ```listStorageZones()``` as it returns all the storage zon
7178
* List pull zone HTTP access logs
7279
* Calculate costs
7380

81+
<span id="installing"></span>
7482
## Usage
7583

7684
Install with composer:
@@ -111,7 +119,8 @@ $bunny->apiKey('XXXX-XXXX-XXXX');//Bunny api key
111119

112120
---
113121

114-
### Storage zone interaction
122+
<span id="storage"></span>
123+
### Storage zone interaction
115124

116125
```php
117126
require __DIR__ . '/vendor/autoload.php';
@@ -374,7 +383,7 @@ $bunny->listAll($location);
374383
returns `array`
375384

376385
---
377-
386+
<span id="pullzone"></span>
378387
List all pull zones and data
379388

380389
```php
@@ -610,7 +619,7 @@ $bunny->closeConnection();
610619
```
611620

612621
---
613-
622+
<span id="video"></span>
614623
### Video streaming zone interaction
615624

616625
```php

0 commit comments

Comments
 (0)