Download the PHP package gerfaut/yelpv3-php without Composer

On this page you can find all versions of the php package gerfaut/yelpv3-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yelpv3-php

DEPRECATED - Yelp PHP Client

DEPRECATED

The base project of this fork is now officially supporting YELP V3 Fusion : https://github.com/stevenmaguire/yelp-php.

Use that one instead.


Latest Version Build Status Coverage Status Quality Score Total Downloads

A PHP client for authenticating with Yelp using OAuth2 and consuming the Fusion API (v3).

More information about Yelp Fusion (v3) API.

Install

Via Composer

Usage

Create client

Search by keyword and location

Yelp documentation and available parameters : https://www.yelp.com/developers/documentation/v3/business_search

Search by phone number

Yelp documentation : https://www.yelp.com/developers/documentation/v3/business_search_phone

Locate details for a specific business by Yelp business id

Yelp documentation : https://www.yelp.com/developers/documentation/v3/business

Get reviews for a specific business by Yelp business id

Yelp documentation : https://www.yelp.com/developers/documentation/v3/business_reviews

Retrieve autocomplete suggestions for keywords, businesses and categories, based on the input text

Yelp documentation : https://www.yelp.com/developers/documentation/v3/autocomplete

Retrieve list of businesses which support certain transactions.

Yelp documentation : https://www.yelp.com/developers/documentation/v3/transactions_search

Currently 'delivery' is the only transaction type supported by Yelp and is the default value.

Configure defaults

Exceptions

If the API request results in an Http error, the client will throw a Gerfaut\Yelp\Exception\ApiException that includes the response body, as a string, from the Yelp API. If the Deserialization process results in an error, the client will throw a Gerfaut\Yelp\Exception\DeserializeException that includes the Exception from JMS\Serialize librabry.

Testing

Using your global phpunit install:

Or using the vendors (from the root folder):

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of yelpv3-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
jms/serializer Version ^1.4
guzzlehttp/guzzle Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gerfaut/yelpv3-php contains the following files

Loading the files please wait ....