Download the PHP package andy87/php-client-hh without Composer

On this page you can find all versions of the php package andy87/php-client-hh. 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 php-client-hh

PHP Client for HeadHunter API

Russian documentation

Typed PHP client for the HeadHunter API. The package provides a main ApiClientHh entry point, generated provider sections, request prompt DTOs, response DTOs, and schema classes.

The client is built on top of andy87/php-client-sdk and targets PHP 8.1 or newer.

Requirements

Installation

Quick Start

Anonymous methods can be called without OAuth credentials:

Protected methods need an OAuth access token:

Configuration

You can pass configuration as an array:

Or from environment variables:

By default, HhConfig::fromEnv() reads:

clientId and clientSecret are stored in config for application-level integrations, but the default client does not perform a login/password flow and does not request tokens automatically.

Runtime Options

ApiClientHh supports shared runtime options from andy87/php-client-sdk: default request headers, event listeners, custom transport, retry policy, response decoding, and authorization resolver. When passing SDK objects directly, use the SDK 0.7 grouped namespaces, for example and_y87\PhpClientSdk\Client\Event, and_y87\PhpClientSdk\Transport, and and_y87\PhpClientSdk\Security\Authorization.

Public API

Generated prompt DTOs are filled through public properties. Create a prompt object first, then assign request values directly to its fields.

Errors

Transport, authorization, decoding, validation, and response hydration errors are raised by andy87/php-client-sdk exceptions. API error payloads for HTTP error responses are available through generated response DTOs via hasError(), getError(), and $response->error. Response DTOs also expose HTTP metadata through getStatusCode(), getHeaders(), getRawBody(), and getDecodedBody().


All versions of php-client-hh with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
andy87/php-client-sdk Version 0.7.0
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 andy87/php-client-hh contains the following files

Loading the files please wait ...