Download the PHP package codesaur/http-client without Composer
On this page you can find all versions of the php package codesaur/http-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codesaur/http-client
More information about codesaur/http-client
Files in codesaur/http-client
Package http-client
Short Description HTTP хүсэлт илгээх болон MIME имэйл боловсруулах/илгээх энгийн хөнгөн жинтэй, объект хандалтат http-client компонент
License MIT
Homepage https://github.com/codesaur-php
Informations about the package http-client
codesaur/http-client
HTTP хүсэлт илгээх болон MIME имэйл боловсруулах/илгээх энгийн хөнгөн жинтэй, объект хандалтат http-client компонент.
Агуулга / Table of Contents
- Getting Started
1. Монгол тайлбар
codesaur/http-client нь codesaur ecosystem-ийн нэг хэсэг бөгөөд хөнгөн жинтэй,
фрэймворкоос үл хамааран standalone байдлаар ашиглаж болох PHP HTTP клиент компонент юм.
Багц нь дараах 4 үндсэн class-аас бүрдэнэ:
- CurlClient - cURL дээр суурилсан уян хатан HTTP клиент
- JSONClient - JSON өгөгдөлтэй REST API-тэй ажиллахад тохиромжтой
- Response - HTTP хариуг обьект хэлбэрээр илэрхийлэх (status code, headers, body)
- Mail - HTML + Text + олон хавсралттай MIME имэйл илгээгч
Онцлох боломжууд
- UTF-8 бүрэн дэмжлэг (нэрс, файлын нэр, гарчиг г.м.)
- Хөнгөн, хурдан, ямар ч фрэймворк дээр эсвэл дангаар ашиглаж болно
- Зөвхөн
ext-curl,ext-jsonбайхад л болно
Дэлгэрэнгүй мэдээлэл
- Бүрэн танилцуулга - Суурилуулалт, хэрэглээ, жишээнүүд
- API тайлбар - Бүх метод, exception-үүдийн тайлбар
- Шалгалтын тайлан - Код шалгалтын тайлан
2. English description
codesaur/http-client is part of the codesaur ecosystem and is a lightweight PHP HTTP client component that can be used standalone, independent of any framework.
The package consists of the following 4 core classes:
- CurlClient - flexible HTTP client based on cURL
- JSONClient - convenient for working with REST APIs with JSON data
- Response - HTTP response object with status code, headers, and body
- Mail - MIME email sender with HTML + Text + multiple attachments
Key Features
- Full UTF-8 support (names, file names, headers, etc.)
- Lightweight, fast, can be used on any framework or standalone
- Only requires
ext-curlandext-json
Documentation
- Full Documentation - Installation, usage, examples
- API Reference - Complete API documentation
- Review - Complete package review and code quality assessment
3. Getting Started
Requirements
- PHP 8.2.1+
- Composer
ext-curlextensionext-jsonextension
Installation
Composer ашиглан суулгана / Install via Composer:
Quick Examples
CurlClient - Ерөнхий HTTP клиент
JSONClient - JSON API-тэй ажиллах
Mail - MIME HTML + Хавсралттай имэйл клиент
Running Tests
Тест ажиллуулах / Run tests:
Changelog
- CHANGELOG.md - Full version history
Contributing & Security
- Contributing Guide
- Security Policy
License
This project is licensed under the MIT License.
Author
Narankhuu
[email protected]
https://github.com/codesaur
codesaur ecosystem: https://codesaur.net
All versions of http-client with dependencies
ext-curl Version *
ext-json Version *