Reymart Calicdan

4 Followers
7 Following
14 Posts
Creator of HiblaPHP and creating easy to use Async and Parallel Components for PHP
#Making Async PHP fun and easy

I am nearing the release of a fully async, Fiber-based PostgreSQL client for PHP. It features connection pooling and true server-side cancellation to stop database work immediately if a request is aborted.

Using Promise::all(), multiple queries run concurrently and 5 queries taking 1s each can finish in just ~1s total.

After this, I will be working on a DX-focused async query builder for this ecosystem. Open source and docs coming soon.

#PHP #PostgreSQL #Async #Backend #SoftwareEngineering

I am nearing the release of a fully async, Fiber-based PostgreSQL client for PHP. It features connection pooling and true server-side cancellation to stop database work immediately if a request is aborted.

Using Promise::all(), multiple queries run concurrently and 5 queries taking 1s each can finish in just ~1s total.

After this, I will be working on a DX-focused async query builder for this ecosystem. Open source and docs coming soon.

#PHP #PostgreSQL #Async #Backend #SoftwareEngineering

5 x SLEEP(1) MySQL queries, done in ~1s, not ~5s.

I Built hiblaphp/mysql: async MySQL for PHP with connection pooling, prepared statements, streaming, and transactions.

Fiber-native, binary protocol, per-connection LRU statement cache, COM_RESET_CONNECTION between pooled requests, and KILL QUERY via side-channel TCP on cancellation.

Still beta and any feedback is welcome
→ github.com/hiblaphp/mysql

#PHP #MySQL #AsyncPHP #OpenSource #PHPCommunity

5 x SLEEP(1) MySQL queries, done in ~1s, not ~5s.

I Built hiblaphp/mysql: async MySQL for PHP with connection pooling, prepared statements, streaming, and transactions.

Fiber-native, binary protocol, per-connection LRU statement cache, COM_RESET_CONNECTION between pooled requests, and KILL QUERY via side-channel TCP on cancellation.

Still beta and any feedback is welcome
→ github.com/hiblaphp/mysql

#PHP #MySQL #AsyncPHP #OpenSource #PHPCommunity

Testing SSE is hard without blocking threads. Hibla provides a hyper realistic HTTP testing simulation framework to solve this. It simulates token jitter via the event loop, keeping tests fast and async.

Hibla automates JSON decoding and offers a fluent API for streaming assertions.

Hibla HTTP Client: https://github.com/hiblaphp/http-client
Hibla Testing Framework: https://github.com/hiblaphp/http-client-testing

#php #pestphp #ai #asyncphp #webdev #opensource

PHP is no longer just Request-Response. I built a next-gen, Fiber-native MySQL client for the Hibla ecosystem.

Ground-up Binary Protocol for async apps:
✅ Pooling: Check-on-Borrow + Reset.
✅ Transactions: Auto-retry Deadlocks.
✅ Streaming: Unbuffered + Backpressure.
✅ Cancellation: side-channel KILL QUERY.
✅ Protocols: SSL, SHA256, zlib.

PHP Fibers changed the game. Time for our drivers to catch up!

#PHP #WebDev #Async #MySQL #OpenSource #Hibla

Real-time AI streaming in PHP and Finally clean. Hibla HTTP Client brings first-class SSE support to PHP, async, fiber-based, and fluent. Hook into any LLM stream with a single .onEvent() callback.

Check it out:
http://github.com/hiblaphp/http-client

#PHP #SSE #AsyncPHP