PHPackages                             subbe/waveapp - 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. subbe/waveapp

ActiveProject[API Development](/categories/api)

subbe/waveapp
=============

A Wrapper to consume WaveApp's GraphQL API

1.0.0(4y ago)176568MITPHPCI failing

Since Apr 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/subbe/waveapp)[ Packagist](https://packagist.org/packages/subbe/waveapp)[ RSS](/packages/subbe-waveapp/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (3)Versions (9)Used By (0)

WaveApp
=======

[](#waveapp)

[![StyleCI](https://camo.githubusercontent.com/7d73db4a046bd7ac891a7dfcf1a4f613d2f55f772fc6065a03e0b3953511a504/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235343833323936372f736869656c643f7374796c653d666c6174266272616e63683d6d6173746572)](https://github.styleci.io/repos/254832967?branch=master)[![Build Status](https://camo.githubusercontent.com/8f9fe4e21bdbac5b58cb38c6871f81e0ec3ab483560aeaa03ba5cd065b21d9ab/68747470733a2f2f7472617669732d63692e636f6d2f73756262652f776176656170702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/subbe/waveapp)[![codecov](https://camo.githubusercontent.com/a4fc7808c3d62537440e22ca36adcec02805ec8b3ac0d59dc7af7f5fa07a326f/68747470733a2f2f636f6465636f762e696f2f67682f73756262652f776176656170702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/subbe/waveapp)

A wrapper to use the [WaveApp](https://www.waveapps.com/)'s graphql api in your laravel apps.

The original documentation is available at:

- [Wave - Developer Portal](https://developer.waveapps.com/hc/en-us/categories/360001114072)
- [API Reference](https://developer.waveapps.com/hc/en-us/articles/360019968212-API-Reference)

To use WaveApp, you will need to [register](https://developer.waveapps.com/hc/en-us/sections/360003012132-Create-an-App) on the developer portal.

Requirement &amp; Install
-------------------------

[](#requirement--install)

Require the package using composer:

```
composer require subbe/waveapp
```

Update your .env file to include

```
WAVE_ACCESS_TOKEN=
WAVE_GRAPHQL_URI=
WAVE_BUSINESS_ID=

```

### Queries

[](#queries)

- user
- countries
- country
- businesses
- business
- currencies
- currency
- accountTypes
- accountSubtypes
- customerExists
- customers
- products
- taxes
- invoicesByCustomerByStatus
- getBusiness
- businessAccounts
- getBusinessAccount
- businessCustomers
- getBusinessCustomer
- businessInvoices
- getBusinessInvoices
- businessSalesTaxes
- getBusinessSalesTax
- businessProducts
- getBusinessProduct
- businessVendors
- getBusinessVendor

### Mutations

[](#mutations)

- customerCreate
- customerPatch
- customerDelete
- accountCreate
- accountPatch
- accountArchive
- productCreate
- productPatch
- productArchive
- salesTaxCreate
- salesTaxPatch
- salesTaxArchive
- salesTaxRateCreate
- moneyTransactionCreate
- invoiceCreate
- invoiceClone
- invoiceDelete
- invoiceSend
- invoiceApprove
- invoiceMarkSent

Usage
-----

[](#usage)

### Query

[](#query)

```
$waveapp = new \Subbe\WaveApp\WaveApp();
$countries = $waveapp->countries();
```

or, with parameters...

```
$waveapp = new \Subbe\WaveApp\WaveApp();
$country = $waveapp->country(['code' => 'US']);
```

### Mutation

[](#mutation)

```
$waveapp = new \Subbe\WaveApp\WaveApp();
$customer = [
    "input" => [
        "businessId" => "",
        "name" => "Genevieve Heidenreich",
        "firstName" => "Genevieve",
        "lastName" => "Heidenreich",
        "displayId" => "Genevieve",
        "email" => "genevieve.heidenreich@example.com",
        "mobile" => "011 8795",
        "phone" => "330 8738",
        "fax" => "566 5965",
        "tollFree" => "266 5698",
        "website" => "http://www.hermiston.com/architecto-commodi-possimus-esse-non-necessitatibus",
        "internalNotes" => "",
        "currency" => "USD",
        "address" => [
            "addressLine1" => "167 Iva Run",
            "addressLine2" => "Parker Mews, Monahanstad, 40778-7100",
            "city" => "West Tyrique",
            "postalCode" => "82271",
            "countryCode" => "EC",
       ],
       "shippingDetails" => [
            "name" => "Genevieve",
            "phone" => "011 8795",
            "instructions" => [
                "Delectus deleniti accusamus rerum voluptatem tempora.",
            ],
            "address" => [
                "addressLine1" => "167 Iva Run",
                "addressLine2" => "Parker Mews, Monahanstad, 40778-7100",
                "city" => "West Tyrique",
                "postalCode" => "82271",
                "countryCode" => "EC",
            ],
        ],
    ],
];

$newCustomer = $waveapp->customerCreate($customer, "CustomerCreateInput");
```

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

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License
-------

[](#license)

[MIT](./LICENSE.md)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 52.4% 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 ~120 days

Recently: every ~136 days

Total

6

Last Release

1624d ago

Major Versions

0.4.1 → 1.0.02021-12-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/86393ecd44bd2c8cf60f0dc7a9b354655f3da501fadbd4679b5bc0d6bfbc6450?d=identicon)[subbe](/maintainers/subbe)

---

Top Contributors

[![subbe](https://avatars.githubusercontent.com/u/3587988?v=4)](https://github.com/subbe "subbe (22 commits)")[![murraycollingwood](https://avatars.githubusercontent.com/u/5810216?v=4)](https://github.com/murraycollingwood "murraycollingwood (19 commits)")[![mrpangak](https://avatars.githubusercontent.com/u/44047484?v=4)](https://github.com/mrpangak "mrpangak (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/subbe-waveapp/health.svg)

```
[![Health](https://phpackages.com/badges/subbe-waveapp/health.svg)](https://phpackages.com/packages/subbe-waveapp)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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