Download the PHP package voipcompetencecenter/weclappclient without Composer

On this page you can find all versions of the php package voipcompetencecenter/weclappclient. 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 weclappclient

WeclappClient v2.0.0

A comprehensive and flexible PHP client for interacting with the Weclapp REST API v2.
It supports structured queries, pagination, sorting, CRUD operations, and all advanced API features.
Responses are returned as native PHP arrays with full RFC 7807 error handling.

🚀 What's New in v2.0.0

📦 Installation

🔧 Setup

HTTP options: timeouts & retries (v2.2.0)

The client applies sane defaults for production use and automatically retries rate-limited requests (HTTP 429) and connection errors with exponential backoff. You can override these via the optional 5th constructor argument:

Note: timeout/connect_timeout apply only to the internally created HTTP client. If you inject your own Guzzle client, configure timeouts there. Generic 5xx responses are not retried automatically to avoid duplicate writes on non-idempotent operations (e.g. POST).

🔍 Querying with the QueryBuilder

Supported Filter Methods

Method Description
where($field, $op, $val) Custom filter condition
whereEq('field', 'val') Equals
whereNe('field', 'val') Not equal
whereGt, whereGe Greater than, greater or equal
whereLt, whereLe Less than, less or equal
whereLike, whereILike (i)LIKE search pattern
whereNotLike, whereNotILike NOT LIKE pattern
whereIn('field', [...]) Field value in given list
whereNotIn('field', [...]) Field value NOT in given list
whereNull('field') Field is null
whereNotNull('field') Field is not null

Advanced Filtering (v2.0.0)

Custom Attributes (v2.0.0)

Type-safe filtering for custom fields with automatic data conversion:

Special Parameters (v2.0.0)

Elegant handling of endpoint-specific parameters without operator suffixes:

Sorting

Limiting and Pagination

🔢 Counting

🎯 Getting Single Records

⚡ Performance Optimization (v2.0.0)

🛠️ CRUD Operations

🛡️ Error Handling (v2.0.0)

The client now provides comprehensive RFC 7807 compliant error handling:

Error Types

The client supports 40+ error types including:

📄 Response Format

All queries return Weclapp-formatted arrays (i.e. response['body']['result']). Example:

🔄 Migration from v1.x

Breaking Changes (Minimal)

  1. Default API Version: Now uses v2 by default (v1 still available)
  2. Update Method: New signature update(array $data, bool $ignoreMissingProperties = false)

Migration Steps

New Features Available

All new features are optional and backward compatible:

🧪 Testing

The test suite is split into two parts:


🧩 For Developers: Reusing the QueryBuilder

The class AbstractBaseQueryBuilder provides the technical foundation for the QueryBuilder. It encapsulates reusable API logic for filters, pagination, sorting, and counting.

You can use this class as a base to implement your own API clients in a similar architecture – independent of Weclapp.

📋 Changelog

See CHANGELOG.md for detailed version history.

📄 License

MIT License - see LICENSE file for details.


All versions of weclappclient with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.9
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 voipcompetencecenter/weclappclient contains the following files

Loading the files please wait ...