https://github.com/santik/pdf-extract-diff
https://github.com/santik/pdf-extract-diff
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/santik/pdf-extract-diff
- Owner: santik
- Created: 2022-02-07T21:24:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T10:47:51.000Z (almost 4 years ago)
- Last Synced: 2025-01-14T01:09:55.519Z (12 months ago)
- Language: PHP
- Size: 559 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF Diff Application
### Local set up
For local development docker environment can be used.
To start container use the command
`docker-compose up`
### Server set up
Copy all the files from `www` directory to the server. Make sure directory is writable.
Run the command to install dependencies
`php composer.phar install --no-interaction --no-plugins --no-scripts --no-dev --prefer-dist`
### Running the application
Copy `config.php_tpl` to `config.php`.
Set the path where you will put PDF files to compare details and DB details in `config.php` file.
To save results in database flag `$saveResultsToDatabase` should be set to `true`.
Database schema could be found in `dump/myDb.sql`
Run the command
`php index.php file1.pdf file2.pdf`
Result will be written in json and csv file in the same directory.