51Degrees for PHP
Device Detection, IP Intelligence, Human Confidence, and Identifiers
Cloud first on Composer, with a native extension when detection must stay on your server. new DeviceDetectionPipelineBuilder(['resourceKey' => $key]) sends each request's headers to the 51Degrees cloud service and returns the device properties your key covers.
On-premise, phpize builds the FiftyOneDegreesHashEngine extension from the shared C code and php.ini names the Device Detection data file. It loads once at PHP start-up, so Apache needs the prefork MPM. IP Intelligence has its own extension and cloud support. The cloud is the source of Human Confidence and Identifiers, fiftyone.pipeline.did reads and checks the 51Did, and fiftyone.geolocation turns latitude and longitude into an address.
...