{"repo":"shipfastlabs/parsel","free":true,"listed":false,"github":"https://github.com/shipfastlabs/parsel","clone":"git clone https://github.com/shipfastlabs/parsel.git","description":"A fast, helpful, and open-source document parser for PHP","language":"PHP","stars":355,"topics":["docs","ocr","pdf","text-extarction"],"license":"MIT","category":"media-processing","readme_excerpt":"Parsel Parsel provides one expressive PHP API for document parsing, backed by interchangeable drivers. Version 1.0 includes local LiteParse and AnyDoc drivers and public contracts for custom or future hosted providers. Parsel requires PHP 8.4 or greater. Installation Install only the parser you use. With no --driver , the installer installs LiteParse: LiteParse supports npm, pnpm, bun, pip, and cargo. AnyDoc supports npm, pnpm, and bun and requires Node.js 20 or newer. vendor/bin/parsel-install-lit remains as a compatibility alias. Drivers and capabilities Capability LiteParse AnyDoc --- --- --- Markdown Yes Yes Plain text Yes No Structured pages and coordinates Yes No Lazy pages Yes No Screenshots Yes No OCR Yes No Calling an unavailable operation throws UnsupportedCapabilityException before the provider is executed. Parsel does not derive fake structured data or plain text from AnyDoc Markdown. LiteParse remains the default driver, so existing basic calls continue to work: Select AnyDoc explicitly or change the process-wide default: For dependency injection and long-running applications, use an instance: Sources and common options Both drivers accept paths and raw bytes. Byte sources require an extension so signature-less formats such as CSV can be identified reliably. Timeout is portable across drivers: save() selects the corresponding capability from the extension. Both drivers support .md and .markdown ; LiteParse additionally supports .txt and .json . Provider options P","default_branch":null,"files":null,"tree":[],"storefront":"/r/shipfastlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shipfastlabs/parsel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}