aidenkr / internetapi
A lightweight PHP cURL-based HTTP client for simple REST API requests
dev-master
2026-06-17 02:51 UTC
Requires
- php: >=8.1
- ext-curl: *
This package is not auto-updated.
Last update: 2026-06-18 01:14:36 UTC
README
A lightweight PHP HTTP client built on top of cURL for making simple REST API requests (GET, POST, PUT, PATCH, DELETE).
Features
- Simple static API interface
- JSON request/response handling
- Automatic query building for GET requests
- Custom headers support
- Configurable timeout
- Built-in error handling for cURL
- Strict typing enabled
Installation
Install via Composer:
composer require aidenkr/internetapi