deepslam/content-parser
Laravel 5 package to extract a web page’s main content and title using automatic algorithms. Supports Graby (default) and Mercury API parsers, with an extensible architecture and optional HTML cleanup (remove CSS/style attrs, strip tags) for clean output.
robots.txt checks, rate limiting) before scaling.Avoid if:
Consider if:
"This lightweight PHP package lets us extract structured content from websites quickly and cheaply—ideal for building features like competitor price tracking or content aggregation without heavy engineering lift. Think of it as a ‘scraping starter kit’: low risk, fast to implement, and perfect for MVPs or internal tools. For larger-scale needs, we’d explore dedicated services, but this gives us a cost-effective way to test demand before committing."
*"ContentParser is a simple DOM scraper for Laravel that handles basic content extraction (titles, paragraphs, links) via CSS selectors. It’s not production-ready for complex sites but could save time for:
Caveats:
*"This tool could help us gather public content for features like ‘trending topics’ or ‘user-generated reviews,’ but we’d need to:
robots.txt).How can I help you explore Laravel packages today?