https://stackoverflow.com/questions/1004478/read-pdf-files-with-php
например для php https://www.geeksforgeeks.org/how-to-read-pdf-file-using-php/