CBT libraries for PHP
PharData from the phar extension (enabled by default) reads and writes tar archives. Files inside are reachable by array access and as phar:// stream URLs, so serving a page is one readfile call. For CBZ use ZipArchive.
- PharData Read and write CBT (TAR) comic book archives in PHP with the bundled PharData class: list pages in natural order, extract the cover, read ComicInfo.xml.