akhileshdarjee / linkedin-resume-parser
Parses LinkedIn PDF resumes from recruitment portal into a set of usable entities
2.0.1
2018-02-19 16:55 UTC
Requires
- smalot/pdfparser: ^0.10.0
Requires (Dev)
- mockery/mockery: ^0.9.8
- phpunit/phpunit: ^6.0
README
This library parses LinkedIn PDF resumes from Recruiter portal into a set of PHP entities. The entities are based on the various sections found in each resume, making it easy to extract information such as current / previous roles, education history, certifications etc.
Basic Use
$resumeParser = new \LinkedInResumeParser\Parser(); $parsedResume = $resumeParser->parse('/path/to/resume.pdf'); echo $parsedResume->getFullName(); // Ross Kinsman echo $parsedResume->getCurrentRole()->getOrganisation(); // The Drum echo $parsedResume->getCurrentRole()->getStart()->format('F, Y'); // August, 2016 foreach ($parsedResume->getSkills() as $skill) { echo $skill; // PHP // Git // ... } foreach ($parsedResume->getEducationEntries() as $educationEntry) { echo $educationEntry->getInstitution(); // University of Strathclyde }
Test Data
More test data would always be appreciated, so if you wish to include your resume I'll gladly accept PRs and relevant tests.
The existing test data for this project is a collection of LinkedIn resumes I found on GitHub. If your resume is here, and you wish to have it removed, I'm easily reachable on Twitter at @akhileshdarjee, or open an issue on this repository.