PHPackages                             local-protocol/local-protocol - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. local-protocol/local-protocol

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

local-protocol/local-protocol
=============================

Local Protocol PHP SDK

v0.2.0(3mo ago)00[1 PRs](https://github.com/Palette-Labs-Inc/local-protocol-php/pulls)Apache-2.0PHPPHP ^8.1CI passing

Since Feb 10Pushed 2mo agoCompare

[ Source](https://github.com/Palette-Labs-Inc/local-protocol-php)[ Packagist](https://packagist.org/packages/local-protocol/local-protocol)[ RSS](/packages/local-protocol-local-protocol/feed)WikiDiscussions main Synced 1mo ago

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

Local Protocol PHP API library
==============================

[](#local-protocol-php-api-library)

The Local Protocol PHP library provides convenient access to the Local Protocol REST API from any PHP 8.1.0+ application.

It is generated with [Stainless](https://www.stainless.com/).

Documentation
-------------

[](#documentation)

The REST API documentation can be found on [localprotocol.xyz](https://localprotocol.xyz).

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

[](#installation)

To use this package, install via Composer by adding the following to your application's `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:Palette-Labs-Inc/local-protocol-php.git"
    }
  ],
  "require": {
    "local-protocol/local-protocol": "dev-main"
  }
}
```

Usage
-----

[](#usage)

This library uses named parameters to specify optional arguments. Parameters with a default value must be set by name.

```
