Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vslinko/find-your-domain
Find best domains in your TLDs. Async on PHP! [ARCHIVE]
https://github.com/vslinko/find-your-domain
Last synced: 22 days ago
JSON representation
Find best domains in your TLDs. Async on PHP! [ARCHIVE]
- Host: GitHub
- URL: https://github.com/vslinko/find-your-domain
- Owner: vslinko
- License: mit
- Created: 2012-11-08T16:22:13.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-26T20:47:19.000Z (almost 12 years ago)
- Last Synced: 2024-09-21T00:33:16.771Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 133 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Find Your Domain
Find best domains in your TLDs
## Installation
Add requirement in your composer.json:
```json
{
"require": {
"rithis/find-your-domain": "@dev"
}
}
```After that run `composer update rithis/find-your-domain`.
## Usage
### Library
```php
create($input->getOption('dns-server'), $loop);$wisdom = new Wisdom(new WhoisClient($resolver, function ($ip) use ($loop) {
return new SocketConnection(stream_socket_client("tcp://$ip:43"), $loop);
}));$container = new PronounceableWord_DependencyInjectionContainer();
$generator = $container->getGenerator();$finder = $this->getFinder($wisdom, $generator, $loop);
$finder->find($callback, $length, $tlds);$loop->run();
```Example output: `absof.com absof.net absof.io`
### Console
After installation you can use our console. Just run:
```./vendor/bin/find-your-domain one -l5 -tcom -tnet -tio```
Or you can run never-ending search, and find best domains from stream:
```./vendor/bin/find-your-domain many -l5 -tcom -tnet -tio```