It should not be a dependency. The PHP extension only accelerates usage of thrift in PHP. This formular installs the thrift compiler and php client library, which can be used without the extension, and the extension can be used without the thrift compiler.