PHPackages                             crowdin/crowdin-api-client - 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. crowdin/crowdin-api-client

ActiveLibrary[API Development](/categories/api)

crowdin/crowdin-api-client
==========================

PHP client library for Crowdin API v2

1.23.0(1mo ago)611.5M↑15.8%36[6 issues](https://github.com/crowdin/crowdin-api-client-php/issues)3MITPHPPHP &gt;=7.1CI passing

Since Nov 22Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/crowdin/crowdin-api-client-php)[ Packagist](https://packagist.org/packages/crowdin/crowdin-api-client)[ Docs](https://github.com/crowdin/crowdin-api-client-php)[ RSS](/packages/crowdin-crowdin-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (54)Used By (3)

    ![](https://camo.githubusercontent.com/41b54da2c31a91518a7e3021b548ba2fc7bdca0832696077807ddd683f339ae6/68747470733a2f2f737570706f72742e63726f7764696e2e636f6d2f6173736574732f6c6f676f732f73796d626f6c2f706e672f63726f7764696e2d73796d626f6c2d634461726b2e706e67)

Crowdin PHP client
==================

[](#crowdin-php-client)

The Crowdin PHP client is a lightweight interface to the Crowdin API. It provides common services for making API requests.

Our API is a full-featured RESTful API that helps you to integrate localization into your development process. The endpoints that we use allow you to easily make calls to retrieve information and to execute actions needed.

[**`API Client Docs`**](https://crowdin.github.io/crowdin-api-client-php/packages/Crowdin.html) | [**`Examples`**](https://github.com/crowdin/crowdin-api-client-php/blob/master/EXAMPLES.md) | [**`Crowdin API`**](https://developer.crowdin.com/api/v2/) | [**`Crowdin Enterprise API`**](https://developer.crowdin.com/enterprise/api/v2/)

[![Packagist Version](https://camo.githubusercontent.com/8f8b441a483290c0dff7822434d0848134cb7f829e48220b65a1ba4a3a878da1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63726f7764696e2f63726f7764696e2d6170692d636c69656e743f63616368655365636f6e64733d33363030)](https://packagist.org/packages/crowdin/crowdin-api-client)[![Packagist](https://camo.githubusercontent.com/ba6a83e937af3ea363587befb1c4ae6bc4067fb639c53f9f58993de5f9b671ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63726f7764696e2f63726f7764696e2d6170692d636c69656e743f63616368655365636f6e64733d33363030)](https://packagist.org/packages/crowdin/crowdin-api-client)[![Tests](https://github.com/crowdin/crowdin-api-client-php/actions/workflows/basic.yml/badge.svg)](https://github.com/crowdin/crowdin-api-client-php/actions/workflows/basic.yml)[![codecov](https://camo.githubusercontent.com/fe88a17913f2e21333211368e79131d862de14f8038c9076b11bb52bf31a94e7/68747470733a2f2f636f6465636f762e696f2f67682f63726f7764696e2f63726f7764696e2d6170692d636c69656e742d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/crowdin/crowdin-api-client-php)[![GitHub contributors](https://camo.githubusercontent.com/f86144824830ae63252f8a60f2a863731d3cf05070085187050ae9b9efa8d15b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f63726f7764696e2f63726f7764696e2d6170692d636c69656e742d7068703f63616368655365636f6e64733d33363030)](https://github.com/crowdin/crowdin-api-client-php/graphs/contributors)[![GitHub](https://camo.githubusercontent.com/eaad409a72d90fa2bb2f2e53ad39344de405baa7f4941186dd13e9a21052e830/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63726f7764696e2f63726f7764696e2d6170692d636c69656e742d7068703f63616368655365636f6e64733d33363030)](https://github.com/crowdin/crowdin-api-client-php/blob/master/LICENSE)

### Requirements

[](#requirements)

- PHP &gt;= 7.1

Installation
------------

[](#installation)

Install via Composer

```
composer require crowdin/crowdin-api-client
```

### Quick Start

[](#quick-start)

The API client must be instantiated and configured before calling any API method.

```
use CrowdinApiClient\Crowdin;

$crowdin = new Crowdin([
    'access_token' => '',
    'organization' => '', // optional
]);
```

`` - Personal Access Token. You can generate Personal Access Token in your Crowdin Account Settings.

`` - Organization domain name (for Crowdin Enterprise users only).

For more about Authorization see the [documentation](https://developer.crowdin.com/api/v2/#section/Introduction/Authorization).

#### REST API Examples

[](#rest-api-examples)

- Create directory

    ```
    $directory = $crowdin->directory->create(
        ,
        ['name'=> 'My Directory']
    );
    ```
- Edit directory

    ```
    $directory->setTitle('My Title');

    $crowdin->directory->update($directory);
    ```
- Delete directory

    ```
    $crowdin->directory->delete($directory->getProjectId(), $directory->getId());
    ```

#### GraphQL API Example

[](#graphql-api-example)

For more information about GraphQL API see the [documentation](https://support.crowdin.com/developer/graphql-api/).

```
$query = 'query($limit: Int) {
  viewer {
    projects(first: $limit) {
      edges {
        node {
          name
          files(first: $limit) {
            totalCount
            edges {
              node {
                name
                type
              }
            }
          }
        }
      }
    }
  }
}';

$response = $crowdin->graphql->query($query, null, ['limit' => 10]);
```

Seeking Assistance
------------------

[](#seeking-assistance)

If you find any problems or would like to suggest a feature, please read the [How can I contribute](/CONTRIBUTING.md#how-can-i-contribute) section in our contributing guidelines.

Contributing
------------

[](#contributing)

If you would like to contribute, please read the [Contributing Guidelines](/CONTRIBUTING.md).

### License

[](#license)

```
The Crowdin PHP client is licensed under the MIT License.
See the LICENSE file distributed with this work for additional
information regarding copyright ownership.

Except as contained in the LICENSE file, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.
```

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance88

Actively maintained with recent releases

Popularity56

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~46 days

Total

51

Last Release

52d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31d3fa4a5fab6045ab704805a040762e72e0d419e6550a83d2cbd7c83e60e0ff?d=identicon)[crowdin](/maintainers/crowdin)

---

Top Contributors

[![andrii-bodnar](https://avatars.githubusercontent.com/u/29282228?v=4)](https://github.com/andrii-bodnar "andrii-bodnar (147 commits)")[![sidenser](https://avatars.githubusercontent.com/u/1925964?v=4)](https://github.com/sidenser "sidenser (54 commits)")[![mala-karta](https://avatars.githubusercontent.com/u/7081947?v=4)](https://github.com/mala-karta "mala-karta (29 commits)")[![bhdnb](https://avatars.githubusercontent.com/u/172895427?v=4)](https://github.com/bhdnb "bhdnb (26 commits)")[![pdelre](https://avatars.githubusercontent.com/u/1379248?v=4)](https://github.com/pdelre "pdelre (13 commits)")[![tchapuis](https://avatars.githubusercontent.com/u/15218089?v=4)](https://github.com/tchapuis "tchapuis (12 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (7 commits)")[![mlahargou](https://avatars.githubusercontent.com/u/29667789?v=4)](https://github.com/mlahargou "mlahargou (3 commits)")[![jmleroux](https://avatars.githubusercontent.com/u/1516770?v=4)](https://github.com/jmleroux "jmleroux (3 commits)")[![elliotbruneel](https://avatars.githubusercontent.com/u/37578863?v=4)](https://github.com/elliotbruneel "elliotbruneel (3 commits)")[![kmartin62](https://avatars.githubusercontent.com/u/26507591?v=4)](https://github.com/kmartin62 "kmartin62 (2 commits)")[![Yozhef](https://avatars.githubusercontent.com/u/8971757?v=4)](https://github.com/Yozhef "Yozhef (2 commits)")[![ivdimova](https://avatars.githubusercontent.com/u/465636?v=4)](https://github.com/ivdimova "ivdimova (2 commits)")[![kirejko](https://avatars.githubusercontent.com/u/1614772?v=4)](https://github.com/kirejko "kirejko (2 commits)")[![misantron](https://avatars.githubusercontent.com/u/9839955?v=4)](https://github.com/misantron "misantron (2 commits)")[![Trukes](https://avatars.githubusercontent.com/u/6023213?v=4)](https://github.com/Trukes "Trukes (2 commits)")[![Zrnik](https://avatars.githubusercontent.com/u/55077930?v=4)](https://github.com/Zrnik "Zrnik (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![faizan1191](https://avatars.githubusercontent.com/u/103352578?v=4)](https://github.com/faizan1191 "faizan1191 (1 commits)")[![HypeMC](https://avatars.githubusercontent.com/u/2445045?v=4)](https://github.com/HypeMC "HypeMC (1 commits)")

---

Tags

apiclientcrowdin-apihacktoberfestphpsdkapiclientsdkapi clientcrowdin

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/crowdin-crowdin-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/crowdin-crowdin-api-client/health.svg)](https://phpackages.com/packages/crowdin-crowdin-api-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3633.0M18](/packages/kunalvarma05-dropbox-php-sdk)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
