PHPackages                             thecompaniesapi/sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. thecompaniesapi/sdk-php

ActiveLibrary[API Development](/categories/api)

thecompaniesapi/sdk-php
=======================

PHP SDK for The Companies API

v1.0.1(9mo ago)30MITPHPPHP &gt;=8.0CI passing

Since Jul 22Pushed 9mo agoCompare

[ Source](https://github.com/thecompaniesapi/sdk-php)[ Packagist](https://packagist.org/packages/thecompaniesapi/sdk-php)[ RSS](/packages/thecompaniesapi-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

The Companies API SDK for PHP
=============================

[](#the-companies-api-sdk-for-php)

[![Packagist Version](https://camo.githubusercontent.com/18482fae0004108e078db9882d36235df921ccaea6f68a9ab552edce0d91df43/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746865636f6d70616e6965736170692f73646b2d7068703f7374796c653d666c617426636f6c6f72413d30383066313226636f6c6f72423d316661363639)](https://packagist.org/packages/thecompaniesapi/sdk-php)[![Packagist Downloads](https://camo.githubusercontent.com/8717fa8413903f8d72e11fbabced4b8f3fea3216d3d6e4048122c318ea5a00f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f746865636f6d70616e6965736170692f73646b2d7068703f7374796c653d666c617426636f6c6f72413d30383066313226636f6c6f72423d316661363639)](https://packagist.org/packages/thecompaniesapi/sdk-php)[![License](https://camo.githubusercontent.com/16991442f08cb1933821252588ad38cb9a398924029e32fd3867791822ed3243/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746865636f6d70616e6965736170692f73646b2d7068703f7374796c653d666c617426636f6c6f72413d30383066313226636f6c6f72423d316661363639)](https://github.com/thecompaniesapi/sdk-php/blob/main/LICENSE)

A fully-featured PHP SDK for [The Companies API](https://www.thecompaniesapi.com), providing type-safe access to company data, locations, industries, technologies, job titles, lists, and more.

If you need more details about a specific endpoint, you can find the corresponding documentation in [the API reference](https://www.thecompaniesapi.com/api).

You can also contact us on our [livechat](https://www.thecompaniesapi.com/) if you have any questions.

🚀 Features
----------

[](#-features)

- Expose all our 30+ endpoints and gives access to 50M+ companies from your codebase
- Type-safe API client with full access to our [OpenAPI](https://api.thecompaniesapi.com/v2/openapi) schemas
- Real-time company enrichment with both synchronous and asynchronous options
- Powerful search capabilities with filters, sorting and pagination
- Create and manage your company lists
- Track and monitor enrichment actions and requests
- Generate detailed analytics and insights for searches and lists
- Natural language querying for structured company information
- Lightweight with minimal dependencies

📦 Installation
--------------

[](#-installation)

Install the SDK using Composer:

```
composer require thecompaniesapi/sdk-php
```

🔑 Initialize the client
-----------------------

[](#-initialize-the-client)

Get your API token from [your settings page](https://www.thecompaniesapi.com/settings/api-tokens) and initialize our client.

The API token is required to authenticate your requests and should be kept secure. Never commit your API token to version control or share it publicly.

```
