-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
61 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: 'Static analysis' | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
pull_request: | ||
branches: ['main'] | ||
|
||
permissions: | ||
contents: 'read' | ||
|
||
jobs: | ||
|
||
php-cs-fixer: | ||
name: 'PHP CS Fixer' | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
|
||
- name: 'Setup PHP' | ||
uses: 'shivammathur/setup-php@v2' | ||
with: | ||
php-version: '8.3' | ||
coverage: 'none' | ||
|
||
- name: 'Install dependencies' | ||
uses: 'ramsey/composer-install@v3' | ||
|
||
- name: 'Run PHP CS Fixer' | ||
run: 'php vendor/bin/php-cs-fixer check -v' | ||
|
||
phpstan: | ||
name: 'PHPStan' | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
|
||
- name: 'Setup PHP' | ||
uses: 'shivammathur/setup-php@v2' | ||
with: | ||
php-version: '8.3' | ||
coverage: 'none' | ||
|
||
- name: 'Install dependencies' | ||
uses: 'ramsey/composer-install@v3' | ||
|
||
- name: 'Run PHPStan' | ||
run: 'php vendor/bin/phpstan' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
Gotenberg Bundle | ||
============================= | ||
# Gotenberg Bundle | ||
|
||
[![Latest Version](https://img.shields.io/github/release/sensiolabs/gotenberg-bundle.svg?style=flat-square)](https://github.com/sensiolabs/gotenberg-bundle/releases) | ||
[![Total Downloads](https://poser.pugx.org/sensiolabs/gotenberg-bundle/downloads)](https://packagist.org/packages/sensiolabs/gotenberg-bundle) | ||
[![Monthly Downloads](https://poser.pugx.org/sensiolabs/gotenberg-bundle/d/monthly.png)](https://packagist.org/packages/sensiolabs/gotenberg-bundle) | ||
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENCE) | ||
[![Static analysis](https://github.com/sensiolabs/gotenberg-bundle/actions/workflows/static.yml/badge.svg?branch=main)](https://github.com/sensiolabs/gotenberg-bundle/actions/workflows/static.yaml?query=branch%3Amain) | ||
[![Tests](https://github.com/sensiolabs/gotenberg-bundle/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/sensiolabs/gotenberg-bundle/actions/workflows/tests.yaml?query=branch%3Amain) | ||
|
||
This bundle allows you to generate, stream and save PDF locally. | ||
|
||
Documentation | ||
------------- | ||
## Documentation | ||
|
||
The entry point of the documentation can be found in the file `docs/index.rst` | ||
|
||
[Read the documentation](docs/index.rst) | ||
|
||
Credits | ||
------- | ||
## Credits | ||
|
||
This bundle was inspired by [Gotenberg PHP](https://github.com/gotenberg/gotenberg-php). | ||
- [Steven RENAUX](https://github.com/StevenRenaux) | ||
- [All Contributors](../../contributors) | ||
|
||
Licence | ||
------- | ||
# Licence | ||
|
||
MIT License (MIT): see the [License File](LICENSE) for more details. |