I have a specific file in a .tar.gz archive that I'd like to extract. How do I do this in PHP?
For example, MaxMind's GeoLite databases are available as a .tar.gz files. For each product, the filename is GeoLite2-ProductName.tar.gz, inside there's a GeoLite2-ProductName_yyymmdd directory, and inside that, a GeoLite2-ProductName.mmdb file along with a few other text files. I only want to extract the .mmdb file.