An open API service indexing awesome lists of open source software.

https://github.com/leadpingai/leadping-php

Official PHP SDK for the Leadping API.
https://github.com/leadpingai/leadping-php

api-client composer kiota leadping leadping-api openapi packagist php rest-api sdk

Last synced: about 22 hours ago
JSON representation

Official PHP SDK for the Leadping API.

Awesome Lists containing this project

README

          

[![](https://img.shields.io/packagist/v/leadpingai/sdk.svg?style=for-the-badge)](https://packagist.org/packages/leadpingai/sdk)
[![](https://img.shields.io/github/actions/workflow/status/leadpingai/leadping-php/release.yml?style=for-the-badge)](https://github.com/leadpingai/leadping-php/actions/workflows/release.yml)
[![](https://img.shields.io/packagist/dt/leadpingai/sdk.svg?style=for-the-badge)](https://packagist.org/packages/leadpingai/sdk)
[![](https://img.shields.io/github/actions/workflow/status/leadpingai/leadping-php/codeql.yml?label=CodeQL&style=for-the-badge)](https://github.com/leadpingai/leadping-php/actions/workflows/codeql.yml)

# ![Leadping](https://leadping.ai/favicon.ico) Leadping PHP SDK

Type-safe PHP client for the Leadping API.

## Install

```bash
composer require leadpingai/sdk
```

The generated client uses a Kiota request adapter. Install the Kiota bundle in the application that will call Leadping:

```bash
composer require microsoft/kiota-bundle:^2.0.2
```

## Use

```php
users()->me()->get()->wait();
```

`createLeadpingRequestAdapter` is application code. Configure it to send one of:

- `Authorization: Bearer `
- `X-Leadping-Api-Key: `

The client defaults to `https://api.leadping.ai` when the adapter does not already have a base URL.

## Links

- [Documentation](https://leadping.ai/docs)
- [API reference](https://leadping.ai/docs/api-reference)
- [License](LICENSE)