Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
.idea
.DS_Store
test.php
test.php
composer.lock
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
This file contains information about every addition, update and deletion in the `ecourty/tor-php` library.
It is recommended to read this file before updating the library to a new version.

## v1.1.0

#### Additions

- Added the [`TorHttpClient::getAllPeers`](./src/TorHttpClient.php) method which returns all current peers on the Tor network in a Generator.
- Added [`ExitNodeHelper`](./src/Helper/ExitNodesHelper.php) helper to extract data from the Tor response.
- Added tests for this method.
- Added a [code example](./examples/get_exit_nodes.php) for getting exit nodes.

#### Updates

- Bumped the minimum PHP version to `>= 8.4` in [composer.json](./composer.json)

## v1.0.0

Initial release of the project.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Requesting a new identity
- Managing Tor circuits and configuration
- Creating and deleting Onion Services
- Retrieve the current Tor exit nodes

---

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"HTTP Client"
],
"require": {
"php": ">= 8.3",
"php": ">= 8.4",
"symfony/http-client": "^7.2"
},
"require-dev": {
Expand Down
Loading