webhubworks/weclapp-api-core

This package houses a generated API client to interact with the Weclapp API.

Maintainers

Package info

github.com/webhubworks/weclapp-api-core

pkg:composer/webhubworks/weclapp-api-core

Statistics

Installs: 338

Dependents: 2

Suggesters: 0

Stars: 1

Open Issues: 0

3.1.1.0 2026-06-05 07:52 UTC

This package is auto-updated.

Last update: 2026-06-05 07:52:54 UTC


README

Generating the Weclapp API client

  • Place the OpenAPI spec in config/jane-openapi-php.
  • Run ddev php vendor/bin/jane-openapi generate --config-file=./config/jane-openapi.php
    • This will generate the API client in app/Weclapp/generated

Usage

Example usage:

<?php

use Webhub\Weclapp\Client;

class WeclappTest extends Command
{
    public function handle()
    {
        $weclappClient = Client::create();

        $result = $weclappClient->getArticleCount();

        ...
    }
}