Skip to content

Commit f303d94

Browse files
authored
Merge pull request #40 from kduma-OSS/docs/php-lpd
Docs: php-lpd — PHP 8.3+, fix appendContent() method name
2 parents 4d40e82 + 69280c5 commit f303d94

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • content/3.libraries/100.php

content/3.libraries/100.php/lpd.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ github: https://github.com/kduma-OSS/PHP-LPD
1515
:u-button[Packagist]{icon="simple-icons:packagist" href="https://packagist.org/packages/kduma/lpd" target="_blank"}
1616
::
1717

18+
## Requirements
19+
20+
- PHP `^8.3`
21+
1822
## Install
1923

2024
Via Composer
@@ -44,8 +48,8 @@ $ composer require kduma/lpd
4448
For printing clear text use `TextJob` class:
4549
``` php
4650
$job = new KDuma\LPD\Client\Jobs\TextJob("This is content!");
47-
$job->appdendContent("\n");
48-
$job->appdendContent("And this is second line.");
51+
$job->appendContent("\n");
52+
$job->appendContent("And this is second line.");
4953
```
5054

5155
#### File print job

0 commit comments

Comments
 (0)