PHP code example of victorsfleite / resume-parser

1. Go to this page and download the library: Download victorsfleite/resume-parser library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

victorsfleite / resume-parser example snippets


$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
}