stajor / proxy-fetcher
PHP package for dealing with proxy lists from various sources
Installs: 5 020
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=7.2
- ext-json: *
- fakerphp/faker: ^1.11
- guzzlehttp/guzzle: ^7.0
- symfony/css-selector: ^6.0
- symfony/dom-crawler: ^6.0
Requires (Dev)
- phpunit/phpunit: ^9
README
Installation
$ composer require stajor/proxy-fetcher
Usage
<?php $manager = new \ProxyFetcher\Manager(); // Filter proxies by country $proxies = $manager->fetch(['country' => 'US']); // Filter proxies by type $proxies = $manager->fetch(['type' => 'SOCKS5']); // Limit proxies results $proxies = $manager->fetch(['limit' => 100]);
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Stajor/proxy-fetcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The library is available as open source under the terms of the MIT License.