There are 2 repositories under phpscraper-example topic.
Simple example of a few ways to extract keywords from a website
Example to demonstration the parsing of keywords as well as the simple analysis of the data to get a length distribution
Tasking both BeautifulSoup and PHPScraper to extract links - a comparison of code and performance.