This commit is contained in:
9
docs/snippets/php/getting-started/hello_world.md
Normal file
9
docs/snippets/php/getting-started/hello_world.md
Normal file
@@ -0,0 +1,9 @@
|
||||
```php title="PHP"
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
use Kreuzberg\Kreuzberg;
|
||||
|
||||
$result = Kreuzberg::extractFileSync('document.pdf', null, null);
|
||||
echo "Hello, " . substr($result->getContent(), 0, 50) . "\n";
|
||||
```
|
||||
Reference in New Issue
Block a user