PHPackages                             miralsoft/weclapp-api - 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. miralsoft/weclapp-api

ActiveLibrary[API Development](/categories/api)

miralsoft/weclapp-api
=====================

The api functions from weclapp in php.

v1.1.2(1y ago)22491proprietaryPHPPHP &gt;=7.4.0

Since Apr 11Pushed 1w ago1 watchersCompare

[ Source](https://github.com/MIRAL-Soft/weclapp-php-api)[ Packagist](https://packagist.org/packages/miralsoft/weclapp-api)[ RSS](/packages/miralsoft-weclapp-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)DependenciesVersions (6)Used By (1)

weclapp-php-api
===============

[](#weclapp-php-api)

This Project is to use the weclapp API with PHP.

How to use
==========

[](#how-to-use)

You can download the Package over composer with following line in composer File:

```
"require": {
    "php": ">=7.4.0",
    "miralsoft/weclapp-api": ">=v1"
}

```

Configuration
=============

[](#configuration)

The configuration have to been set in your PHP-Project. You must define 2 constants like this:

```
use miralsoft\weclapp\api\Config;

Config::$URI = 'https://xxx.weclapp.com/webapp/api/v1/';
Config::$TOKEN = 'xxx';

```

Replace the xxx with your own data.

Full example
============

[](#full-example)

To get a list of customers, here is a example:

```
use miralsoft\weclapp\api\Customer;
use miralsoft\weclapp\api\Config;

Config::$URI = 'https://xxx.weclapp.com/webapp/api/v1/';
Config::$TOKEN = 'xxx';

$customer = new Customer();

$result = $customer->get(1, 100, 'customerNumber');

if (is_array($result)) {
    echo 'Count results: ' . count($result);
}
echo '';
print_r($result);

```

You get a list of first 100 customers and can use it in any way.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance72

Regular maintenance activity

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~464 days

Total

4

Last Release

504d ago

PHP version history (2 changes)v1.0PHP &gt;=8.0.0

v1.1PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7510cab0d2fe79454ee620c456a1f08ceafa2ed856fd342d54db0700aab03db5?d=identicon)[miralsoft](/maintainers/miralsoft)

---

Top Contributors

[![miralsoft](https://avatars.githubusercontent.com/u/20637644?v=4)](https://github.com/miralsoft "miralsoft (22 commits)")

### Embed Badge

![Health badge](/badges/miralsoft-weclapp-api/health.svg)

```
[![Health](https://phpackages.com/badges/miralsoft-weclapp-api/health.svg)](https://phpackages.com/packages/miralsoft-weclapp-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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