PHPackages                             kazakevic/strapi-wrapper - 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. kazakevic/strapi-wrapper

ActiveLibrary[API Development](/categories/api)

kazakevic/strapi-wrapper
========================

wrapper for Strapi headless CMS

2.0.1(2y ago)315.0k↓59.9%[1 issues](https://github.com/kazakevic/strapi-wrapper/issues)MITPHPPHP &gt;=8.1

Since Nov 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kazakevic/strapi-wrapper)[ Packagist](https://packagist.org/packages/kazakevic/strapi-wrapper)[ RSS](/packages/kazakevic-strapi-wrapper/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

Simple PHP client for  🕸️
--------------------------------------------

[](#simple-php-client-for-httpsstrapiio-️)

[![Latest Stable Version](https://camo.githubusercontent.com/fe77d8f334260be86fcca91ab6992991806f068c3545c33cdb0a0822aa3d0858/687474703a2f2f706f7365722e707567782e6f72672f6b617a616b657669632f7374726170692d777261707065722f76)](https://packagist.org/packages/kazakevic/strapi-wrapper) [![Total Downloads](https://camo.githubusercontent.com/9f619895034605d2d1d82975aab8fced6db2b8b9dad199d10281dbaaed1e6cfd/687474703a2f2f706f7365722e707567782e6f72672f6b617a616b657669632f7374726170692d777261707065722f646f776e6c6f616473)](https://packagist.org/packages/kazakevic/strapi-wrapper) [![License](https://camo.githubusercontent.com/7fc7d7ae261892412fd3f3b09ff81bc7de8356fce9fc1541ad83ad46de22c7ea/687474703a2f2f706f7365722e707567782e6f72672f6b617a616b657669632f7374726170692d777261707065722f6c6963656e7365)](https://packagist.org/packages/kazakevic/strapi-wrapper) [![PHP Version Require](https://camo.githubusercontent.com/34a3c377499a58413586b31c8d59c67d7a030d784376c41299f4093a120c9099/687474703a2f2f706f7365722e707567782e6f72672f6b617a616b657669632f7374726170692d777261707065722f726571756972652f706870)](https://packagist.org/packages/kazakevic/strapi-wrapper)

##### ⚙️ Install

[](#️-install)

```
composer require kazakevic/strapi-wrapper
```

##### ⚙️ Usage

[](#️-usage)

- Setup Client
    - You can use any HTTP client that implements `Psr\Http\Client\ClientInterface`

```
$httpClient = new Client(); //Guzzle http client, but can be any suitable

$strapiClient = new StrapiClient(
$httpClient,
'token',
'http://localhost:1338'
);
```

- getItems

```
$response = $strapiClient->getItems(
    'item-identifier',
    new PageFilter(100),
    new SortFilter('id', SortOrder::DESC)
);
```

- getItemById

```
$jsonData = $strapiClient->getItemById('seo-pages', 534546)
```

- getItemsBy

```
    $response = $strapiClient->getItemsBy(
        'item-identifier',
        'fieldName',
        'fieldValue',
        new PageFilter(100),
        new SortFilter('id', SortOrder::DESC)
    );
```

- createItem

```
$jsonData = $strapiClient->createItem('topics', [

'data' => [
    'Title' => 'Test Title',
    'Slug' => 'test-slug',
    'seoTitle' => 'test title',
    'seoDescription' => 'test description',
    'tags' => [1, 2, 2],
    'videoCount' => 10
]
]);
```

- updateItem

```
$jsonData = $strapiClient->updateItem('topics', 1, [

'data' => [
    'Title' => 'Test Title',
    'Slug' => 'test-slug',
    'seoTitle' => 'test title',
    'seoDescription' => 'test description',
    'tags' => [1, 2, 2],
    'videoCount' => 10
]
]);
```

##### ⚙️ Tests

[](#️-tests)

```
./vendor/bin/phpunit tests
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~93 days

Recently: every ~116 days

Total

6

Last Release

872d ago

Major Versions

1.1 → 2.0.02023-04-30

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/177063?v=4)[Darjus Loktevic](/maintainers/darjus)[@darjus](https://github.com/darjus)

---

Top Contributors

[![kazakevic](https://avatars.githubusercontent.com/u/3867742?v=4)](https://github.com/kazakevic "kazakevic (16 commits)")

---

Tags

strapi phpstrapi client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kazakevic-strapi-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/kazakevic-strapi-wrapper/health.svg)](https://phpackages.com/packages/kazakevic-strapi-wrapper)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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