Download the PHP package jeffgreco13/laravel-wave without Composer

On this page you can find all versions of the php package jeffgreco13/laravel-wave. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-wave

laravel-wave

A Laravel package for the Wave Accounting GraphQL API. Query your Wave data, sync it to local Eloquent models, and manage customers, invoices, products, and more — all via queued jobs and Artisan commands.


Requirements


Installation

Publish the config file:

Publish the migrations (optional — only needed if you want local sync):


Configuration

Add to your .env:

Full config/wave.php reference:


Basic Usage

Inject WaveService or resolve it from the container:

Nodes support both array and property access:

Available API Methods

Method Description
getCustomers($vars) Paginated customer list
getAllCustomers($vars) All customers (handles pagination)
createCustomer($input) Create a new customer
patchCustomer($input) Update a customer (requires id)
deleteCustomer($customerId) Delete a customer
getInvoices($vars) Paginated invoice list
getAllInvoices($vars) All invoices
createInvoice($input) Create an invoice
approveInvoice($invoiceId) Approve a draft invoice
sendInvoice($input) Send an invoice by email
getAllProducts() All products
getAllTaxes() All sales taxes
getVendors($vars) Paginated vendor list
getAllVendors() All vendors
getAccounts($vars) Paginated chart-of-accounts
getAllAccounts() All chart-of-accounts entries
getAccount($accountId) Single account
getAllBusinesses() All businesses on the account
getBusiness($id) Single business
getUser() Authenticated user
rawQuery($query, $variables) Execute a custom GraphQL query

Pagination


Data Sync

Sync jobs persist Wave data to your local database. All jobs implement ShouldQueue.

Full Sync

Fetches all records from Wave and upserts them locally. After all pages are processed, any local record whose wave_id was not seen in Wave is deleted (orphan cleanup).

Incremental Sync

Only fetches records modified after a given date. Never deletes local records — a missing record just means it was not recently modified, not that it was deleted.

Sync All Entities

Querying Local Wave Models


Customer CRUD via Jobs


Custom Models

To use your own Eloquent model, implement the HasWaveSync trait and register it in config/wave.php.

Register in config/wave.php:

All sync jobs (SyncCustomersFromWave, CreateWaveCustomer, etc.) will use your model automatically.


Available Artisan Commands

Command Description
wave:sync-customers Sync customers from Wave
wave:sync-all Sync all entities
wave:pull-currencies Cache Wave currency list locally

Options for wave:sync-customers and wave:sync-all:

Option Description
--since="YYYY-MM-DD" Incremental sync from a date
--since=last Incremental from most recent local record
--business-id= Override the configured business ID
--sync Run synchronously (skip queue)
--fresh Truncate the local table first (full sync only)

Available Sync Jobs

Job Supports $since? Deletes orphans?
SyncCustomersFromWave Yes Full sync only
SyncInvoicesFromWave Yes Full sync only
SyncProductsFromWave No Always (full sync)
SyncSalesTaxesFromWave No Always
SyncVendorsFromWave No Always
SyncBusinessesFromWave No Always
SyncAccountsFromWave No Always

Data Enums

Use built-in enums for sort/filter values:


Laravel Boost

This package includes AI guidelines and a developer skill for Laravel Boost. After installing Boost in your app, run:

Boost will automatically load the wave-development guidelines and skill to help AI agents write correct Wave integration code.


Changelog / Upgrade Guide

v2.0


License

MIT


All versions of laravel-wave with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.0
laravel/framework Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jeffgreco13/laravel-wave contains the following files

Loading the files please wait ...