Creating useful Command Line (cli) Apps with PHP
In this tutorial, we are going to build a command line app with PHP. The app we are going to build is going to receive certain keywords and optionally a folder and file extensions and it will store the files that correspond to the first page of Google search results for your keywords and for the file extensions you request on your storage drive. In the meantime, we will also show you how to work PHP’s built-in DOMDocument class. We called that script Getty because it GETs files.
Note: If you Un-Subscribe from feed you will not able to download any source.
Source: PHPGang