Aaron Piotrowski (@_trowski) 's Twitter Profile
Aaron Piotrowski

@_trowski

Computer programmer, photographer, and coffee lover. Maintainer of @asyncphp, a library for writing async code in PHP using promises and coroutines.

ID: 319969891

linkhttp://trowski.com calendar_today19-06-2011 02:30:54

996 Tweet

563 Followers

316 Following

AMPHP (@asyncphp) 's Twitter Profile Photo

🎉 We're excited to announce that v3.0 of AMPHP has been released! 🥳 This marks a major milestone for AMPHP and the #async #PHP community. v3 creates coroutines using Fibers instead of Generators and is based on the Revolt PHP event-loop. github.com/amphp/amp/rele…

AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing v1.0 of amphp/pipeline, a new library using #PHP fibers and AMPHP v3 to create #async sets and concurrent iterators! github.com/amphp/pipeline… The example creates a set of values from 0 to 99, consumes concurrently in multiple fibers, collecting to a single iterator.

Announcing v1.0 of amphp/pipeline, a new library using #PHP fibers and AMPHP v3 to create #async sets and concurrent iterators!

github.com/amphp/pipeline…

The example creates a set of values from 0 to 99, consumes concurrently in multiple fibers, collecting to a single iterator.
AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing amphp/sync v2.0 which provides synchronization tools compatible with AMPHP v3! 🎊 github.com/amphp/sync/rel… Sync data access across #async coroutines in one process or share data among multiple #PHP processes! Use semaphores, channels, or a parcel as in the example.

AMPHP (@asyncphp) 's Twitter Profile Photo

We've tagged v2.0 of amphp/byte-stream, providing a set of stream interfaces and composable implementations compatible with AMPHP v3 and fibers! 🎉 github.com/amphp/byte-str… The script below reads a gzip stream from stdin, writing the decompressed bytes to stdout.

We've tagged v2.0 of amphp/byte-stream, providing a set of stream interfaces and composable implementations compatible with AMPHP v3 and fibers! 🎉

github.com/amphp/byte-str…

The script below reads a gzip stream from stdin, writing the decompressed bytes to stdout.
AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing v2.0 of amphp/process compatible with AMPHP v3 and fibers! 🚀 github.com/amphp/process/… The process package provides #async execution and communication with child processes from #PHP. This example pings 5 hosts concurrently in 5 separate child processes.

AMPHP (@asyncphp) 's Twitter Profile Photo

Thanks to our new sponsor Daniil Gentili, a maintainer of Psalm! We use Psalm in AMPHP and our own applications to catch bugs and improve code quality. Sponsoring AMPHP or a Psalm maintainer provides more resources to develop! github.com/sponsors/danog github.com/sponsors/amphp

AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing v2.0 of amphp/dns compatible with AMPHP v3 and fibers! 🎉 github.com/amphp/dns/rele… The DNS package implements basic #async DNS resolution in #PHP. Use it for resolving domain names to a host or query any DNS record type, such as MX records as in the example below.

Announcing v2.0 of amphp/dns compatible with AMPHP v3 and fibers! 🎉

github.com/amphp/dns/rele…

The DNS package implements basic #async DNS resolution in #PHP.

Use it for resolving domain names to a host or query any DNS record type, such as MX records as in the example below.
AMPHP (@asyncphp) 's Twitter Profile Photo

Calling all #PHP developers! We want to hear about your usage of AMPHP and how it has helped you in your projects. Share your story with us and be featured on our blog!

AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing v2.0 of amphp/socket compatible with AMPHP v3 and fibers! 🎊 github.com/amphp/socket/r… This package builds on our stream interfaces to create socket servers and client connections. The example creates a basic HTTP server, replying with the IP and port of the client.

Announcing v2.0 of amphp/socket compatible with AMPHP v3 and fibers! 🎊

github.com/amphp/socket/r…

This package builds on our stream interfaces to create socket servers and client connections.

The example creates a basic HTTP server, replying with the IP and port of the client.
AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing v2.0 of amphp/parallel, compatible with AMPHP v3 and fibers! 🎉 amphp/parallel provides true parallel processing for #PHP using multiple processes or threads, without blocking, no extensions required. Below is an example with parent and child scripts communicating.

Announcing v2.0 of amphp/parallel, compatible with AMPHP v3 and fibers! 🎉

amphp/parallel provides true parallel processing for #PHP using multiple processes or threads, without blocking, no extensions required.

Below is an example with parent and child scripts communicating.
Niklas Keller (@kelunik) 's Twitter Profile Photo

It's incredible how many smooth upgrades have been made possible through my parameter type widening change. I didn't see the potential at the time of writing the RFC, but Nikita Popov did. Time flies!

AMPHP (@asyncphp) 's Twitter Profile Photo

Announcing a huge milestone for the AMPHP project – the release of amphp/http-server v3.0, compatible with AMPHP v3 and fibers! 🎉 amphp/http-server provides a non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for #PHP github.com/amphp/http-ser… The example above is

Announcing a huge milestone for the AMPHP project – the release of amphp/http-server v3.0, compatible with AMPHP v3 and fibers! 🎉

amphp/http-server provides a non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for #PHP

github.com/amphp/http-ser…

The example above is
AMPHP (@asyncphp) 's Twitter Profile Photo

On the heels of last weeks release of amphp/http-server v3, we're working to tag stable releases of the "accessory" libraries. 🛠️ First up is amphp/http-server-router using nikic/fast-route to provide routing for your application. Incoming HTTP requests are directed to various

On the heels of last weeks release of amphp/http-server v3, we're working to tag stable releases of the "accessory" libraries. 🛠️

First up is amphp/http-server-router using nikic/fast-route to provide routing for your application.

Incoming HTTP requests are directed to various
AMPHP (@asyncphp) 's Twitter Profile Photo

Continuing our series of accessory libraries compatible with amphp/http-server v3 and AMPHP v3, we've tagged v2 of amphp/http-server-form-parser. 🎉 This helper library provides a utility to parse url-encoded form requests or stream large files from multipart/form-data requests.

Continuing our series of accessory libraries compatible with amphp/http-server v3 and AMPHP v3, we've tagged v2 of amphp/http-server-form-parser. 🎉

This helper library provides a utility to parse url-encoded form requests or stream large files from multipart/form-data requests.
AMPHP (@asyncphp) 's Twitter Profile Photo

Thank you to our newest sponsor github.com/nayleen! We really appreciate every contribution toward our efforts to bring #async #PHP forward. Consider sponsoring AMPHP if you use it in one of your projects. Thank you to everyone who supports us! github.com/sponsors/amphp