Yelp API v2 PHP Code Sample
This program demonstrates the capability of the Yelp API version 2.0 by using the Search API to query for businesses by a search term and location, and the Business API to query additional information about the top result from the search query.
Please refer to API documentation for more details.
Steps to run
Run the code sample without specifying any arguments:
Run the code sample by specifying the optional arguments:
php sample.php --term="bars" --location="San Francisco, CA"