Download the PHP package sharpapi/laravel-resume-parser without Composer
On this page you can find all versions of the php package sharpapi/laravel-resume-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sharpapi/laravel-resume-parser
More information about sharpapi/laravel-resume-parser
Files in sharpapi/laravel-resume-parser
Package laravel-resume-parser
Short Description AI Resume Parser/CV Parser for Laravel powered by SharpAPI.com
License MIT
Homepage https://github.com/sharpapi/laravel-resume-parser
Informations about the package laravel-resume-parser
Resume Parser/CV Parser for Laravel with AI-powered SharpAPI
🚀 Leverage AI API to streamline resume parsing and data extraction in your HR Tech applications.
Check the details at SharpAPI's Resume Parsing API page.
Requirements
- PHP >= 8.1
- Laravel >= 9.0
Installation
Follow these steps to install and set up the SharpAPI Laravel Resume Parser package.
-
Install the package via
composer
: -
Register at SharpAPI.com to obtain your API key.
-
Set the API key in your
.env
file: - [OPTIONAL] Publish the configuration file:
Key Features
- Automated Resume Parsing with AI: Efficiently parse and extract structured information from resumes in various formats, including PDF, DOC, DOCX, TXT, and RTF.
- Multi-language Support: Supports 80+ languages for parsing results.
- Consistent Data Format: Ensures predictable JSON structure for parsed data.
- Robust Polling for Results: Polling-based API response handling with customizable intervals.
- API Availability and Quota Check: Check API availability and current usage quotas with
ping
andquota
endpoints.
Usage
You can inject the ResumeParserService
class to access parsing functionalities. For best results, especially with batch processing, use Laravel’s queuing system to optimize job dispatch and result polling.
Basic Workflow
- Dispatch Job: Send a resume file to the API using
parseResume
, which returns a status URL. - Poll for Results: Use
fetchResults($statusUrl)
to poll until the job completes or fails. - Process Result: After completion, retrieve the results from the
SharpApiJob
object returned.
Note: Each job typically takes a few seconds to complete. Once completed successfully, the status will update to
success
, and you can process the results as JSON, array, or object format.
Controller Example
Here is an example of how to use ResumeParserService
within a Laravel controller:
Handling Guzzle Exceptions
All requests are managed by Guzzle, so it's helpful to be familiar with Guzzle Exceptions.
Example:
Optonal Configuration
You can customize the configuration by setting the following environment variables in your .env
file:
Available Endpoints
Resume Parsing
Parses a resume in multiple formats and returns structured data points.
Quota Check
Returns information about the subscription, including usage and remaining quota.
API Lightweight Availability Check (Ping)
Checks the API availability and server timestamp.
AI Resume Parsing Data Format Example
Support & Feedback
For issues or suggestions, please:
Changelog
Please see CHANGELOG for a detailed list of changes.
Credits
- A2Z WEB LTD
- Dawid Makowski
- Enhance your Laravel AI capabilities!
License
The MIT License (MIT). Please see License File for more information.
Follow Us
Stay updated with news, tutorials, and case studies:
All versions of laravel-resume-parser with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.0
laravel/framework Version ^9.0|^10.0|^11.0
kongulov/interact-with-enum Version ^1.0
sharpapi/php-core Version ^1.0
spatie/laravel-data Version ^3.0|^4.0
spatie/url Version ^2.4