{"repo":"spatie/pdf-to-text","free":true,"listed":false,"github":"https://github.com/spatie/pdf-to-text","clone":"git clone https://github.com/spatie/pdf-to-text.git","description":"Extract text from a pdf","language":"PHP","stars":1029,"topics":["php","text","pdf","pdf-converter"],"license":"MIT","category":"media-processing","readme_excerpt":"Extract text from a pdf This package provides a class to extract text from a pdf. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Requirements Behind the scenes this package leverages pdftotext. You can verify if the binary installed on your system by issueing this command: If it is installed it will return the path to the binary. To install the binary you can use this command on Ubuntu or Debian: On a mac you can install the binary using brew If you're on RedHat, CentOS, Rocky Linux or Fedora use this: If you're on Windows you can download the Xpdf command line tools and store its content at C:\\Program Files\\xpdf-tools-win . The path to the php2text.exe executable should be C:\\Program Files\\xpdf-tools-win\\bin64\\pdftotext.exe . Installation You can install the package via composer: Usage Extracting text from a pdf is easy. Or easier: By default the package will assume that the pdftotext command is located at /usr/bin/pdftotext . If it is located elsewhere pass its binary path to constructor or as the second parameter to the getText s","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/pdf-to-text/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."}