Download the PHP package ngfw/dnsdumpster without Composer
On this page you can find all versions of the php package ngfw/dnsdumpster. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ngfw/dnsdumpster
More information about ngfw/dnsdumpster
Files in ngfw/dnsdumpster
Package dnsdumpster
Short Description A Laravel package to fetch DNS reconnaissance data from the DNSDumpster API, easily installable via Composer and configurable as a service provider.
License MIT
Homepage https://github.com/ngfw/dnsdumpster
Informations about the package dnsdumpster
DNSDumpster - Laravel Service Provider
A Laravel package for fetching and managing DNS reconnaissance data using the DNSDumpster API. This package simplifies integration with the API, enabling you to query domain-related data directly within your Laravel application.
Installation
Install the package using Composer:
The package will automatically register the service provider.
Configuration
Publish the configuration file:
Add the required environment variables to your .env
file:
You can obtain your key here: dnsdumpster api
Alternatively, you can provide the API key and URL dynamically when instantiating the class.
Usage
Here’s how you can fetch domain data using this package:
-
Using the Facade-like Access via App::make() or resolve():
-
Using Dependency Injection
- Using the
app()
Helper
Rate Limiting
The package includes built-in rate-limiting logic to prevent exceeding the API’s limit of 1 request per 2 seconds.
Pagination
For domains with more than 200 host records, use pagination to retrieve additional results. Example:
The fetchData
method accepts an optional $page
parameter to specify the page number.
Changelog
Refer to the CHANGELOG for details on recent changes.
Contributing
Contributions are welcome! Please see CONTRIBUTING for guidelines.
Credits
- Nick Gejadze
- All Contributors
License
This package is open-sourced software licensed under the MIT License.