Skip to content

Commit

Permalink
update read.me & support Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackpig committed Nov 30, 2023
1 parent 2f99230 commit 39c039e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 57 deletions.
26 changes: 2 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,13 @@
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/sawirricardo/laravel-api2pdf/Check%20&%20fix%20styling?label=code%20style)](https://github.com/sawirricardo/laravel-api2pdf/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/sawirricardo/laravel-api2pdf.svg?style=flat-square)](https://packagist.org/packages/sawirricardo/laravel-api2pdf)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

## Support us

[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/laravel-api2pdf.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/laravel-api2pdf)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

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](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

## Installation

You can install the package via composer:

```bash
composer require sawirricardo/laravel-api2pdf
composer require blackpig/laravel-api2pdf
```

You can publish the config file with:
Expand Down Expand Up @@ -53,22 +44,9 @@ echo $result->getFile();
composer test
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [sawirricardo](https://github.com/sawirricardo)
- [All Contributors](../../contributors)
- Forked from [sawirricardo](https://github.com/sawirricardo/laravel-api2pdf)

## License

Expand Down
56 changes: 23 additions & 33 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,57 +1,50 @@
{
"name": "sawirricardo/laravel-api2pdf",
"description": "This is my package laravel-api2pdf",
"name": "blackpig/laravel-api2pdf",
"description": "A simple Laravel wrapper around api2pdf",
"keywords": [
"sawirricardo",
"Blackpig",
"laravel",
"laravel-api2pdf"
"api2pdf"
],
"homepage": "https://github.com/sawirricardo/laravel-api2pdf",
"homepage": "https://github.com/blackpig/laravel-api2pdf",
"license": "MIT",
"authors": [
{
"name": "sawirricardo",
"email": "[email protected]",
"name": "Blackpig",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "^8.0",
"api2pdf/api2pdf.php": "^2.0",
"illuminate/contracts": "^9.0",
"spatie/laravel-package-tools": "^1.8.0"
"php": "^8.1",
"illuminate/contracts": "^10.0",
"spatie/laravel-package-tools": "^1.14.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5",
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.9",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"spatie/laravel-ray": "^1.26"
},
"autoload": {
"psr-4": {
"Sawirricardo\\Api2pdf\\Laravel\\": "src"
},
"files": [
"src/helpers.php"
]
"Blackpig\\Laravel-Api2Pdf\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Sawirricardo\\Api2pdf\\Laravel\\Tests\\": "tests"
"Blackpig\\Laravel-Api2Pdf\\Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
"analyse": "vendor/bin/phpstan analyse",
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
"format": "vendor/bin/pint"
},
"config": {
"sort-packages": true,
Expand All @@ -63,11 +56,8 @@
"extra": {
"laravel": {
"providers": [
"Sawirricardo\\Api2pdf\\Laravel\\Api2pdfServiceProvider"
],
"aliases": {
"Api2pdf": "Sawirricardo\\Api2pdf\\Laravel\\Facades\\Api2pdf"
}
"Blackpig\\Laravel-Api2Pdf\\Api2pdfServiceProvider"
]
}
},
"minimum-stability": "dev",
Expand Down

0 comments on commit 39c039e

Please sign in to comment.