PHPackages                             wasico/sdk-php - 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. wasico/sdk-php

ActiveSdk[API Development](/categories/api)

wasico/sdk-php
==============

Wasi SDK PHP

v0.6.06(2y ago)613.4k↓14.3%3[1 PRs](https://github.com/wasico/sdk-php/pulls)MITPHPPHP &gt;=7.1.0

Since Jun 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wasico/sdk-php)[ Packagist](https://packagist.org/packages/wasico/sdk-php)[ RSS](/packages/wasico-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (51)Used By (0)

Wasi SDK PHP
============

[](#wasi-sdk-php)

You can sign up for a **Wasi account** at  and get your **id\_company** and **wasi\_token**

- [Requirements](#requirements)
- [Installation](#installation)
    - [Composer](#composer)
    - [First configuration](#first-configuration)
- [Usage](#usage)
    - [Find one element](#find-one-element)
    - [Filter and get elements](#filter-and-get-elements)

Requirements
------------

[](#requirements)

PHP 7.1.\* and later.

Installation
------------

[](#installation)

### Composer

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require wasico/sdk-php
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

Or add manually to your composer.json file for constant update

```
"wasico/sdk-php": ">=0.0.1"
```

### First configuration

[](#first-configuration)

Set your configuration only one time in execution time

```
\Wasi\SDK\Configuration::set([
    'v'          => 1, //API version here
    'id_company' => 123456, //Your id_company here
    'wasi_token' => 'AbCd_eFgH_IjKl_MnOp', //Your WasiToken here
]);
```

Usage
-----

[](#usage)

Use Wasi models (\\Wasi\\SDK\\Models) for get Objects of the API

### Find one element

[](#find-one-element)

```
#Replace 123456 with the id_property
$property = \Wasi\SDK\Models\Property::find(123456);
```

### Filter and get elements

[](#filter-and-get-elements)

```
#Use API filters in the 'where' method
$properties = \Wasi\SDK\Models\Property::where('title', 'Hotel')->get();
```

### Create an element

[](#create-an-element)

```
$customer = new \Wasi\SDK\Models\Customer();
$customer->id_user = 123;
$customer->id_country = 1;
$customer->id_region = 26;
$customer->id_city = 63;
$customer->first_name = "Jose W";
$customer->save()
#Now you can get id_client:
$id_client = $customer->id_client;
```

### Update an element

[](#update-an-element)

```
$customer = \Wasi\SDK\Models\Customer::find(4321);
$customer->last_name = 'Capera';
$customer->save()
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 99.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 ~44 days

Recently: every ~457 days

Total

49

Last Release

783d ago

PHP version history (2 changes)v0.0.1PHP &gt;=7.0.0

v0.0.2PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9196bdc28b8f7cbc86f7e7d6f69e5d7691e5884b9dbfb9a4aad5432f1a5d40ae?d=identicon)[wasico](/maintainers/wasico)

---

Top Contributors

[![josewilsoncc](https://avatars.githubusercontent.com/u/6321568?v=4)](https://github.com/josewilsoncc "josewilsoncc (356 commits)")[![esteban0613](https://avatars.githubusercontent.com/u/32719801?v=4)](https://github.com/esteban0613 "esteban0613 (1 commits)")[![wasico](https://avatars.githubusercontent.com/u/38222267?v=4)](https://github.com/wasico "wasico (1 commits)")

### Embed Badge

![Health badge](/badges/wasico-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/wasico-sdk-php/health.svg)](https://phpackages.com/packages/wasico-sdk-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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