laravel-5goutte

Where to find Laravel Goutte web scraper method usage documentation?


Where can i refer the method usage of Laravel 5 Goutte documentation?

For example:

->filter()

->each()

->text()

->attr()

Is that all?..

This is the documentation that i refer: https://www.fastfwd.com/website-scraper-using-laravel-goutte/

Thanks guys!


Solution

  • the functions aren't from the 'Goutte' package. If you look carefully Goutte uses laravel collections, therefore all avaible methods of laravel collections can be used on the custom collections that packages creates.

    The are a lot of aviable methods, you can find them explained here(official laravel docs)