PHPackages                             tobya/webflow-php-sdk - 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. tobya/webflow-php-sdk

ActiveLibrary[API Development](/categories/api)

tobya/webflow-php-sdk
=====================

PHP SDK for the Webflow CMS API

v2.0.5(3mo ago)02.4k↑100%MITPHP

Since Jul 22Pushed 3mo agoCompare

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

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

PHP SDK for the Webflow CMS API
===============================

[](#php-sdk-for-the-webflow-cms-api)

#### Tobya Implementation and Extension of origional Webflow Api SDK.

[](#tobya-implementation-and-extension-of-origional-webflow-api-sdk)

Implementation based on [Webflow CMS API Reference](https://developers.webflow.com/#cms-api-reference)

Features implemented
--------------------

[](#features-implemented)

- Get Current Authorization Info
- List Sites
- Get Specific Site
- Publish Site
- List Domains
- List Collections
- Get Collection with Full Schema
- **Get All Items for a Collection (including paginated results)**
- **Find one or Create Item by Name**
- Get Single Item
- Create New Collection Item
- Update Collection Item
- Patch Collection Item
- Remove Collection Item

Version 2
---------

[](#version-2)

This package is now using Version 2 of the Webflow Api.

Usage
-----

[](#usage)

Check  on how to generate `YOUR_WEBFLOW_API_TOKEN`

### Get Current Authorization Info

[](#get-current-authorization-info)

```
$webflow = new \Webflow\Api('YOUR_WEBFLOW_API_TOKEN');
$webflow->info();

```

### List Sites

[](#list-sites)

```
$webflow->sites();

```

### List Collections

[](#list-collections)

```
$webflow->collections($siteid);

```

### Get All Items for a Collection (including paginated results)

[](#get-all-items-for-a-collection-including-paginated-results)

```
$webflow->itemsAll($collectionId);

```

### Get Single Item

[](#get-single-item)

```
$webflow->item($collectionId, $itemId);

```

### Create New Collection Item

[](#create-new-collection-item)

```
$fields = [
    'name' => 'New item created via API',
    # ...
];
$webflow->createItem($collectionId, $fields);

```

### Update Collection Item

[](#update-collection-item)

```
$webflow->updateItem($collectionId, $itemId, $fields);

```

### Remove Collection Item

[](#remove-collection-item)

```
$webflow->removeItem($collectionId, $itemId);

```

Publising
---------

[](#publising)

### Publishing Items

[](#publishing-items)

Publishing an item or items can be done instead of publishing the entire site.

```
$webflow->publishItem($collectionId, $itemIds);
```

### Publishing a Site

[](#publishing-a-site)

```
$domains = [$domainID];
// if you wish to publish to your mydomain.webflow.io subdomain you should specify
// true.  If true $domains **must** be an empty array
$publishWebflowSubdomain = true;
$webflow->publishSite($siteId,$domains, $publishWebflowSubdomain)
```

**nb:** Webflow has very strict limits on publishing your site. Currently 1 per minute.

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

[](#installation)

```
# Install Composer
composer require expertlead/webflow-php-sdk

```

No extra dependencies! You are welcome ;)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance78

Regular maintenance activity

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~109 days

Recently: every ~136 days

Total

6

Last Release

118d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a881e781ccf5267bc2c9153c0485a6b7b0fbfeaf212dcfcca6a4dd18885a48ee?d=identicon)[tobya](/maintainers/tobya)

---

Top Contributors

[![wivern-co-uk](https://avatars.githubusercontent.com/u/2115473?v=4)](https://github.com/wivern-co-uk "wivern-co-uk (12 commits)")[![tobya](https://avatars.githubusercontent.com/u/325502?v=4)](https://github.com/tobya "tobya (4 commits)")[![assertchris](https://avatars.githubusercontent.com/u/200609?v=4)](https://github.com/assertchris "assertchris (3 commits)")[![johncorrelli](https://avatars.githubusercontent.com/u/18272064?v=4)](https://github.com/johncorrelli "johncorrelli (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/tobya-webflow-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/tobya-webflow-php-sdk/health.svg)](https://phpackages.com/packages/tobya-webflow-php-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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