Skip to content

Commit 4792811

Browse files
committed
Support for Laravel 11
1 parent c7b5c46 commit 4792811

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<p align="center"><img src="https://static.typeset.sh/images/typeset.sh-logo.svg" width="300"></p>
33

44

5-
# Typeset.sh wrapper for Laravel 7, 8, 9 and 10
5+
# Typeset.sh wrapper for Laravel 7, 8, 9, 10 and 11
66

77
This is a laravel typeset.sh wrapper that lets you easily configure and use typeset.sh
88
in your laravel project. Typeset.sh is a printcss layout and rendering engine written in PHP.
@@ -33,7 +33,7 @@ use Typesetsh\LaravelWrapper\Facades\Pdf;
3333

3434
Route::get('/invoice/print', function () {
3535
$invoice = new stdClass();
36-
36+
3737
return Pdf::make('invoice', ['invoice' => $invoice]);
3838
});
3939
```
@@ -47,7 +47,7 @@ Alternative you can use the helper.
4747

4848
Route::get('/invoice/print', function () {
4949
$invoice = new stdClass();
50-
50+
5151
return Typesetsh\pdf('invoice', ['invoice' => $invoice]);
5252
});
5353
```
@@ -58,7 +58,7 @@ or force a download
5858

5959
Route::get('/invoice/print', function () {
6060
$invoice = new stdClass();
61-
61+
6262
return Typesetsh\pdf('invoice', ['invoice' => $invoice])->forceDownload('invoice.pdf');
6363
});
6464
```
@@ -67,7 +67,7 @@ Route::get('/invoice/print', function () {
6767
## Configuration
6868

6969
Typeset.sh does not require much configuration. The only important aspect to understand is that
70-
by default typeset.sh does not allow including any external resources (image, css, fonts,...)
70+
by default typeset.sh does not allow including any external resources (image, css, fonts,...)
7171
unless specified.
7272

7373
See the configuration file `config/typesetsh.php` for more information. By default, typeset.sh
@@ -76,8 +76,8 @@ has access to the public directory and any http(s) resources.
7676
You can also publish the file using:
7777

7878
php artisan vendor:publish --provider="Typesetsh\LaravelWrapper\ServiceProvider"
79-
80-
79+
80+
8181
## License
8282

8383
This extension is under the [MIT license](LICENSE).

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typesetsh/laravel-wrapper",
3-
"description": "Typeset.sh wrapper for laravel 7-10",
3+
"description": "Typeset.sh wrapper for laravel 7-11",
44
"type": "library",
55
"license": "MIT",
66
"authors": [
@@ -15,7 +15,7 @@
1515
],
1616
"minimum-stability": "stable",
1717
"require": {
18-
"laravel/framework": "^7.0 || ^8.0 || ^9.0 || ^10.0",
18+
"laravel/framework": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
1919
"typesetsh/typesetsh": "^0.26.0"
2020
},
2121
"require-dev": {

0 commit comments

Comments
 (0)