📊 Replace Google Analytics with warehouse analytics.
PHP SDK Integration
by RudderStack
Track your event data from your PHP applications and send it to your specified destinations via RudderStack
As PHP is a single-threaded environment, you cannot use a queue in a separate thread or a connection pool to flush messages. Instead, you can specify different consumers to make requests to RudderStack servers. The lib-curl consumer is preferable for low-volume sources, and the fork-curl consumer should work best for cases where you can't use persistent sockets. You can use both of these for faster response times under light loads. However, the lib-curl consumer is RudderStack's default PHP library.
RudderStack PHP SDK Documentation
Refer to our step-by-step guide and start using PHP SDK today