PHPackages                             2upmedia/scout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. 2upmedia/scout

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

2upmedia/scout
==============

Flexible, structured scraping

0.2.1(10y ago)338BSD-2-ClausePHPPHP &gt;=5.4

Since Jul 6Pushed 10y ago3 watchersCompare

[ Source](https://github.com/2upmedia/scout)[ Packagist](https://packagist.org/packages/2upmedia/scout)[ RSS](/packages/2upmedia-scout/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Scout, PHP Scraper - Data your way
==================================

[](#scout-php-scraper---data-your-way)

[![Build Status](https://camo.githubusercontent.com/5b66c102da65068c50b499a44fc65f0d9f3f8e18daa5a51bd21e839a28fdb28b/68747470733a2f2f7472617669732d63692e6f72672f3275706d656469612f73636f75742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/2upmedia/scout)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/332ef93c8b8af120762d0315c1fdc594e3030f4b5c230bb9fd172f9985689892/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f3275706d656469612f73636f75742f6261646765732f7175616c6974792d73636f72652e706e673f733d32646534666237333961353036333066666362633631623632626664613136316163333861666434)](https://scrutinizer-ci.com/g/2upmedia/scout/)[![Code Coverage](https://camo.githubusercontent.com/98b4553de6bc3aa1a1d643475fb73cc1504ad87a236e8c653bd30fa18cc2ab53/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f3275706d656469612f73636f75742f6261646765732f636f7665726167652e706e673f733d65373732363134303338353865316264393762343133356136323265373661303432336563323438)](https://scrutinizer-ci.com/g/2upmedia/scout/)[![Latest Stable Version](https://camo.githubusercontent.com/7aa4d22c54128c8b38d8065e0588804a9fde8619704e39836fd7f38017bbfa61/68747470733a2f2f706f7365722e707567782e6f72672f3275706d656469612f73636f75742f762f737461626c652e706e67)](https://packagist.org/packages/2upmedia/scout)[![Dependency Status](https://camo.githubusercontent.com/9339aa430cdeac8b1c1651fbf1756dc3ca5cb8beda8a17bae6bbc6576b97bf32/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f3275706d656469613a73636f75742f302e312f62616467652e706e67)](https://www.versioneye.com/php/2upmedia:scout/0.1)

Scout is a easy-to-use and fast scraper that uses your knowledge of PHP to transform data the way you want without having to learn another transformation language such as XSLT.

This is currently in stable beta and I encourage submitting tickets for bug, feedback, and ideas.

Currently Supported
-------------------

[](#currently-supported)

- Document types: HTML and XML
- Querying: XPath
- PHP 5.4+, including PHP 7!

Planned for the future
----------------------

[](#planned-for-the-future)

- Save to a JSON, CSV, and XML file
- Support for querying with CSS selectors
- Support for querying JSON
- Ability to persist information and track atomic changes

Possible Uses
-------------

[](#possible-uses)

- Track search rankings
- Spy competitors websites
- Scrape coupon websites
- Scrape websites for your own aggregation website
- Migrate data from large static websites to import into a CMS
- Get a list of jobs you're interested in from a wide range of job boards online
- Transform XML responses from your webservice into JSON
- Anything else that involves transforming XML/HTML to a data structure *you* want.

Consulting
----------

[](#consulting)

For consulting, contact []()

Examples
--------

[](#examples)

```
