Download the PHP package sokolnikov911/cloudflare-abuse-reports without Composer
On this page you can find all versions of the php package sokolnikov911/cloudflare-abuse-reports. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sokolnikov911/cloudflare-abuse-reports
More information about sokolnikov911/cloudflare-abuse-reports
Files in sokolnikov911/cloudflare-abuse-reports
Package cloudflare-abuse-reports
Short Description PHP client for the Cloudflare Abuse Reports API
License MIT
Informations about the package cloudflare-abuse-reports
Cloudflare Abuse Reports API Client
PHP client for the Cloudflare Abuse Reports API.
| Scrutinizer CI | ![]() |
Requirements
- PHP 8.1 or higher
ext-curlext-json
Installation
Usage
Setup
To customize the request timeout, pass your own transport:
Submit a report
Each report type has its own request class. All share common fields (email, name, urls) and add type-specific ones.
Phishing
DMCA
signature,agree, and notification fields are set automatically per DMCA requirements.
Trademark
General abuse
Other report types
| Class | act value |
|---|---|
ThreatReportRequest |
abuse_threat |
ChildrenReportRequest |
abuse_children |
RegistrarWhoisReportRequest |
abuse_registrar_whois |
NcseiReportRequest |
abuse_ncsei |
All constructors follow the same pattern: required fields first, then optional ones with defaults.
Notification options
For report types that support it, use NotificationOption to control whether the host and site owner are notified:
Available values: Send, SendAnon, None.
Get a report
List reports
All ListReportsParams fields are optional. Omit the second argument to fetch with no filters.
List mitigations
Appeal a mitigation
Error handling
All methods throw CloudflareAbuse\Exception\ApiException on failure:
License
MIT
All versions of cloudflare-abuse-reports with dependencies
ext-curl Version *
ext-json Version *


