PHPackages                             partitech/llamacloud - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. partitech/llamacloud

ActiveLibrary

partitech/llamacloud
====================

Simple php client for LamaCloud, LlamaParse and LlamaExtract services

v0.0.3(1y ago)21.0k↓50%2MITPHP

Since Sep 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/partITech/llamacloud)[ Packagist](https://packagist.org/packages/partitech/llamacloud)[ RSS](/packages/partitech-llamacloud/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

LlamaCloud PHP Client
=====================

[](#llamacloud-php-client)

This PHP client provides a simple interface to interact with the LlamaParse API service, allowing you to perform a variety of tasks such as uploading files, retrieving job details, and obtaining results in different formats. Currently, this package only supports **LlamaParse**, but **LlamaCloud** and **LlamaExtract** services will be added as soon as we have time for it :).

Features
--------

[](#features)

- Upload files to the LlamaParse service
- Retrieve job statuses and details
- Access job results in various formats (text, raw text, JSON, Markdown, images)
- Generate presigned URLs for downloading results
- Monitor usage and retrieve parsing history

Installation
------------

[](#installation)

Install the package via composer:

```
composer require partitech/llamacloud
```

Usage
-----

[](#usage)

1. Get Supported File Extensions Retrieve a list of supported file extensions.

```
$client = new Partitech\LlamaCloud\Client($apiKey);
$parse = new Partitech\LlamaCloud\Parse($client);
$extensions = $parse->getSupportedFileExtensions();
print_r($extensions);
```

```
$extensions = $parse->getSupportedFileExtensions();
print_r($extensions);
```

2. Upload File Upload a file to LlamaParse and create a job.

```
$parameters = ['language' => 'en'];
$response = $parse->uploadFile('/path/to/your/file.pdf', $parameters);
print_r($response);
```

3. Get Usage Data Retrieve usage data for the parsing service.

```
$usage = $parse->getUsage();
print_r($usage);
```

4. Get Job By ID Retrieve details of a job using its ID.

```
$jobDetails = $parse->getJobById('job_id');
print_r($jobDetails);
```

5. Get Parsing Job Details Get detailed information about a specific parsing job.

```
$jobDetails = $parse->getParsingJobDetails('job_id');
print_r($jobDetails);
```

6. Get Job Text Result Retrieve the parsed text result of a job.

```
$textResult = $parse->getJobTextResult('job_id');
print_r($textResult);
```

7. Get Job Raw Text Result Retrieve the raw text result of a parsing job.

```
$rawTextResult = $parse->getJobRawTextResult('job_id');
print_r($rawTextResult);
```

8. Get Job JSON Result Retrieve the parsed JSON result of a job.

```
$jsonResult = $parse->getJobJsonResult('job_id');
print_r($jsonResult);
```

9. Generate Presigned URL Generate a presigned URL for downloading a file associated with a job.

```
$presignedUrl = $parse->generatePresignedUrl('job_id', 'filename.pdf');
print_r($presignedUrl);
```

10. Get Job Image Result Retrieve the image result of a parsing job.

```
$imageResult = $parse->getJobImageResult('job_id', 'image_name.jpg');
header('Content-Type: image/jpeg');
echo $imageResult->getContent();
```

11. Get Parsing History Retrieve the parsing history.

```
$history = $parse->getParsingHistoryResult();
print_r($history);
```

Contributions
-------------

[](#contributions)

We welcome contributions to this project! Feel free to fork the repository, submit pull requests, or report any issues. Contributions to support LlamaCloud and LlamaExtract services will be highly appreciated.

License This project is licensed under the MIT License.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~26 days

Total

3

Last Release

569d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d641cc3a07941ca1ae0d118292a46c55a0c8e504235316f5635b55ca041ecf48?d=identicon)[partitech](/maintainers/partitech)

---

Top Contributors

[![GeraudBourdin](https://avatars.githubusercontent.com/u/9740283?v=4)](https://github.com/GeraudBourdin "GeraudBourdin (4 commits)")[![partITech](https://avatars.githubusercontent.com/u/117969827?v=4)](https://github.com/partITech "partITech (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/partitech-llamacloud/health.svg)

```
[![Health](https://phpackages.com/badges/partitech-llamacloud/health.svg)](https://phpackages.com/packages/partitech-llamacloud)
```

###  Alternatives

[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
