PHPackages                             jpcaparas/laravel-llamaparse-client - 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. [API Development](/categories/api)
4. /
5. jpcaparas/laravel-llamaparse-client

ActiveLibrary[API Development](/categories/api)

jpcaparas/laravel-llamaparse-client
===================================

A Laravel library for interacting with Llamaparse Cloud API to parse PDF, XLS, and other file types into more efficient RAG context.

v0.1.0(1y ago)24MITPHPPHP ^8.1

Since Jan 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jpcaparas/laravel-llamaparse-client)[ Packagist](https://packagist.org/packages/jpcaparas/laravel-llamaparse-client)[ RSS](/packages/jpcaparas-laravel-llamaparse-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Laravel LlamaParse Cloud API Client
===================================

[](#laravel-llamaparse-cloud-api-client)

[![Tests](https://github.com/jpcaparas/laravel-llamaparse-client/actions/workflows/tests.yml/badge.svg)](https://github.com/jpcaparas/laravel-llamaparse-client/actions/workflows/tests.yml/badge.svg)

[![image](https://private-user-images.githubusercontent.com/2406808/400194096-7530e6e6-7ed6-4918-ad42-5e38a58ebedf.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0OTkwOTMsIm5iZiI6MTc3NTQ5ODc5MywicGF0aCI6Ii8yNDA2ODA4LzQwMDE5NDA5Ni03NTMwZTZlNi03ZWQ2LTQ5MTgtYWQ0Mi01ZTM4YTU4ZWJlZGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT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IQ)

This package provides a Laravel library for interacting with the [LlamaCloud *Parsing &amp; Transformation* API (aka *LlamaParse Cloud*)](https://www.llamaindex.ai/blog/introducing-llamacloud-and-llamaparse-af8cedf9006b) to parse PDF, XLS, and other file types into more efficient RAG context for consumption into other systems.

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

[](#installation)

You can install the package via Composer:

```
composer require jpcaparas/laravel-llamaparse-client
```

After installing the package, publish the configuration file:

```
php artisan vendor:publish --provider="JPCaparas\LLamaparse\LLamaparseServiceProvider"
```

Then, add your LlamaParse API key to your `.env` file:

```
LLAMAPARSE_API_KEY=your-api-key

```

Usage
-----

[](#usage)

Here is an example of how to use the package with Laravel Tinker:

1. Set a variable to a path of the file:

```
$filePath = 'path/to/your/file.pdf';
```

*Hint: [This PDF full of charts](https://www.hunter.cuny.edu/dolciani/pdf_files/workshop-materials/mmc-presentations/tables-charts-and-graphs-with-examples-from.pdf) is a good resource to upload.*

2. Instantiate the service:

```
$llamaparse = app('llamaparse');
```

3. Upload the file and get the job ID:

```
$response = $llamaparse->uploadFile($filePath);
$jobId = $response['id'];
```

4. Get the job status:

```
$jobStatus = $llamaparse->getJob($jobId);
```

5. Get the job markdown result:

```
$markdownResult = $llamaparse->getJobResult($jobId);
$textResult = $llamaparse->getJobTextResult($jobId);
```

Running Tests
-------------

[](#running-tests)

To run the tests, use the following command:

```
composer test
```

API Reference
-------------

[](#api-reference)

For a full API reference, please visit the [LlamaCloud *Parsing &amp; Transformation* API documentation](https://docs.cloud.llamaindex.ai/category/API/parsing).

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance41

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

493d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2406808?v=4)[JP Caparas](/maintainers/jpcaparas)[@jpcaparas](https://github.com/jpcaparas)

---

Top Contributors

[![jpcaparas](https://avatars.githubusercontent.com/u/2406808?v=4)](https://github.com/jpcaparas "jpcaparas (13 commits)")

---

Tags

aiapilaravelllamaparsephprest

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jpcaparas-laravel-llamaparse-client/health.svg)

```
[![Health](https://phpackages.com/badges/jpcaparas-laravel-llamaparse-client/health.svg)](https://phpackages.com/packages/jpcaparas-laravel-llamaparse-client)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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