Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump versions and merge with forks #19

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
551eed3
chore(Packages): Updates
giliomeejg May 4, 2020
a94376f
fix(Phpunit): Breaking tests
giliomeejg May 5, 2020
26b3e8a
Added support for Laravel 6.x and 7.x
Chalkin Jul 15, 2020
8fb9a15
Merge pull request #1 from Chalkin/master
daniel-werner Jul 16, 2020
e97de71
Support Laravel8
JohnyProkie Mar 2, 2021
f847018
Merge pull request #2 from JohnyProkie/patch-1
daniel-werner Mar 2, 2021
b7b5339
Update composer dependecies php and laravel
daniel-werner Mar 8, 2022
542b48f
Fix tests
daniel-werner Mar 8, 2022
0167e9c
Add github action workflow
daniel-werner Mar 8, 2022
5600679
Update test.yml
daniel-werner Mar 8, 2022
4f0a23a
Update test.yml
daniel-werner Mar 8, 2022
37a4817
Update test.yml
daniel-werner Mar 8, 2022
3f4c071
Update test.yml
daniel-werner Mar 8, 2022
efc7ccf
Update test.yml
daniel-werner Mar 8, 2022
0f4da35
Update phpunit.xml
daniel-werner Mar 8, 2022
83e509d
Bump min php version to 7.4
daniel-werner Mar 8, 2022
c861d20
Add php 8.1 to the test matrix
daniel-werner Mar 8, 2022
a4652f8
Add test badge
daniel-werner Mar 8, 2022
3218044
Merge pull request #3 from 42coders/laravel9-compatibility
daniel-werner Mar 9, 2022
1d8b654
Merge remote-tracking branch 'upstream/master'
daniel-werner Jul 20, 2022
0904aee
Fix deprecated assertions, make tests compatible with PHPUnunit 9
daniel-werner Jul 20, 2022
3afd61f
Merge pull request #1 from 42coders/master
vitormattos Dec 16, 2022
6179ed9
Merge remote-tracking branch 'giliomeejg/master' into giliomeejg-master
vitormattos Dec 16, 2022
b72010b
Merge pull request #3 from LibreSign/giliomeejg-master
vitormattos Dec 16, 2022
c468628
Organize GitHub Actions
vitormattos Dec 16, 2022
4daa695
drop support to deprecated PHP version
vitormattos Dec 16, 2022
af6a830
Merge pull request #4 from LibreSign/refactor/organize-github-actions
vitormattos Dec 16, 2022
edb1d6b
Revert change
vitormattos Dec 16, 2022
f707cf0
Fix minimum PHP version
vitormattos Dec 16, 2022
4b10916
Revert change
vitormattos Dec 16, 2022
5a35bf3
chore: bump dependencies
vitormattos Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: PHPUnit

on:
pull_request:

jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install poppler
run: sudo apt-get install poppler-utils
- name: Install Dependencies
run: composer i
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: vendor/bin/phpunit
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor/
/nbproject/
/.idea
/.idea
.phpunit.result.cache
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# PopplerPhp: Comprehensive PHP wrapper for Poppler-utils

[![Build Status](https://github.com/ncjoes/poppler-php/actions/workflows/test.yml/badge.svg)](https://github.com/ncjoes/poppler-php/actions/workflows/test.yml)

PopplerPhp is a complete and very flexible PHP wrapper for [Poppler-utils](http://poppler.freedesktop.org/).
This package is brought to you so you can use php and poppler-utils to extract contents from, and convert your pdf files to any of these formats:

* HTML
* JPG, PNG, TIFF
* PostScript (PS)
* Encapsulated PostScript (EPS)
* Scalable Vector Graphic (SVG)
* Plain Text
- HTML
- JPG, PNG, TIFF
- PostScript (PS)
- Encapsulated PostScript (EPS)
- Scalable Vector Graphic (SVG)
- Plain Text

You can also use this package to split pdf files, combine pdf files, and detach embedded items from pdf files using within your php scripts.
With the `NcJoes\PopplerPhp\PdfInfo` class, you can query meta-data of any pdf file.
Expand All @@ -34,19 +36,21 @@ Or add this line to your `composer.json`
```

### Dependencies
In order to use Poppler-PHP, you need to install Poppler. Depending of your configuration, please follow the instructions at

In order to use Poppler-PHP, you need to install Poppler. Depending of your configuration, please follow the instructions at
[http://poppler.freedesktop.org/](http://poppler.freedesktop.org/). You will also need to configure your PHP environment to enable shell access.

Briefly,

#### If you are using Ubuntu Distro, just install it from apt:
#### If you are using Ubuntu Distro, just install it from apt:

```bash
sudo apt-get install poppler-utils
```

#### For Windows Users
First download poppler-utils for windows here <http://blog.alivate.com.au/poppler-windows/>.

First download poppler-utils for windows here <http://blog.alivate.com.au/poppler-windows/>.

Extract the downloaded archive and copy the contents of the `bin` directory to `your-project-path/vendor/bin/poppler/`.

Expand Down Expand Up @@ -130,6 +134,7 @@ print_r($pdfToHtml->generate()); //html string
```

### License

The PopplerPHP package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

### Feedback & Contribute
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
}
],
"require" : {
"php" : ">=5.5.9",
"illuminate/config" : "^5.3",
"illuminate/support" : "^5.3"
},
"require-dev" : {
"phpunit/phpunit" : "5.5.*"
"php" : ">=8",
"illuminate/config" : "^9.52",
"illuminate/support": "^9.52"
},
"autoload" : {
"psr-4" : {
"NcJoes\\PopplerPhp\\" : "src/PopplerPhp"
}
},
"minimum-stability" : "stable"
"minimum-stability" : "stable",
"require-dev": {
"phpunit/phpunit": "^11.5"
}
}
Loading