An extremely simple PHP script for extracting images from an MBTiles sqlite database file. Examples for use with Leaflet and OpenLayers included.
This script simply extracts the images from the MBTiles database and DOES NOT support UTFGrid interation!
MBTiles files generated from TileMill (currently) use the "TMS" tiling scheme. MapBox hosted tiles (currently) use the "XYZ" tiling scheme. If you use mbutil to export the tile images to a filesystem directory, the default scheme is "XYZ".