The PHP SDK serves optimized pages from a local cache before your application runs, and reports pages that are not optimized yet.
- Copy the connectors/php-sdk folder to your server.
- Run bin/speedpack connect with your API key, API secret and site address. It writes the cache configuration.
- Add the two-line snippet from the README at the very top of your front controller (index.php).
Step-by-step guides for Magento 2 and OpenCart are in the SDK docs folder.