Download the PHP package deaniliev/laravel-docling without Composer
On this page you can find all versions of the php package deaniliev/laravel-docling. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-docling
Laravel Docling
Laravel package for the Docling Serve document conversion API.
Convert PDFs, Office docs, HTML, images, and more to Markdown, JSON, HTML, or text from your Laravel app.
Requirements
- PHP 8.2+
- Laravel 11 or 12
- A running Docling Serve instance
Installation
Publish the config (optional):
Configuration
Add these to your .env:
| Env | Description | Default |
|---|---|---|
DOCLING_BASE_URL |
Docling Serve base URL | http://localhost:5001 |
DOCLING_API_KEY |
Sent as X-Api-Key when set |
null |
DOCLING_TIMEOUT |
HTTP timeout (seconds) | 120 |
DOCLING_POLL_INTERVAL |
Async poll interval (seconds) | 2 |
DOCLING_POLL_TIMEOUT |
Max wait for async tasks (seconds) | 600 |
Usage
Docling Serve v1 expects a sources array (with kind: http|file). This package builds that payload for you.
Convert from URL
Convert from local file
Convert from base64
Asynchronous conversion
Or manage polling yourself:
Options
ConvertOptions covers common Docling options and accepts any extra fields via with():
Health check
Without the Facade
Testing
License
MIT
All versions of laravel-docling with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/http Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
The package deaniliev/laravel-docling contains the following files
Loading the files please wait ...