Added IPv6 support, added none auth method, added curl options by GJSBRT · Pull Request #239 · smi2/phpClickHouse

isublimity added a commit that referenced this pull request

Apr 3, 2026

@isublimity @claude

- IPv6: getUri() wraps bare IPv6 addresses in brackets (e.g. [::1]:8123)
- AUTH_METHOD_NONE (0): skip authentication for trusted/proxy setups
- curl_options: pass arbitrary CURLOPT_* via config or setCurlOptions()
- CurlerRequest::option() made public for curl option injection
- Tests: IPv6UriTest, AuthMethodNoneTest, CurlOptionsTest

Inspired by PR #239, reimplemented with proper IPv6 detection and tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>