PHPackages                             devless/php-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. devless/php-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

devless/php-sdk
===============

Official Devless SDK

v1.0.0(9y ago)135.9k4APACHE 2.0PHPPHP &gt;=5.5.9

Since Sep 26Pushed 8y ago4 watchersCompare

[ Source](https://github.com/DevlessTeam/DV-PHP-SDK)[ Packagist](https://packagist.org/packages/devless/php-sdk)[ Docs](https://devless.io)[ RSS](/packages/devless-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/383c3aeb4d2427fdeae78f3bb71ee37de952157a13ed18f7096ed2a73eb493c1/68747470733a2f2f7472617669732d63692e6f72672f4465766c6573735465616d2f44562d5048502d53444b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DevlessTeam/DV-PHP-SDK)

Install
-------

[](#install)

Via Composer

```
$ composer require devless/php-sdk
```

DV-PHP-SDK
==========

[](#dv-php-sdk)

Official Devless php sdk

Getting started
===============

[](#getting-started)

### To connect to the Devless instance

[](#to-connect-to-the-devless-instance)

```
use Devless\SDK\SDK;

$devless = new SDK("http://example.com", "1234567abcdefghijklmnopqrst");

```

### To add data to table

[](#to-add-data-to-table)

```
$devless->addData('service_name', 'service_table', ['name'=>'james']);

```

### To query data from the Devless instance

[](#to-query-data-from-the-devless-instance)

```
$results = $devless->getData('service_name','service-table');

var_dump($results);

```

### Also you may filter your query with :

[](#also-you-may-filter-your-query-with-)

`size` : determine the number of results to return

`eg: $results = $devless->size(3)->getData('service_name', 'service_table');`

`offset` : Set step in data data to be sent back

NB: This is to be used in combination with size
-----------------------------------------------

[](#nb-this-is-to-be-used-in-combination-with-size)

`` eg: $results = $devless-&gt;offset(2)-&gt;size(6)-&gt;getData('service\_name', 'service\_table'); ```

`where` : Get data based on where a key matches a certain value

`eg: $results = $devless->where('name', 'edmond')->getData('service_name', 'service_table');`

`orWhere` : Get a combination of results using a particular identifier from the table

`eg: $results = $devless->orWhere('name', 'edmond')->getData('service_name', 'service_table');`

`orderBy` : Order incoming results in descending order based on a key

`eg: $results = $devless->orderBy('name')->getData('service_name', 'service_table');`

### To update data to table

[](#to-update-data-to-table)

```
$devless->where('id',1)->updateData('service_name', 'service_table', ['name'=>'edmond']);

```

### To delete data from a Devless instance

[](#to-delete-data-from-a-devless-instance)

```
$devless->where('id',1)->deleteData('service_name','service_table');

```

Make a call to an Action Class
------------------------------

[](#make-a-call-to-an-action-class)

```
$devless->call('service_name','method_name',[params]);

```

Authenticating with a Devless instance
--------------------------------------

[](#authenticating-with-a-devless-instance)

```
$token = $devless->call('devless','login',['email'=>'k@gmail.com','password'=>'password'])['token'];

$devless->setUserToken($token['payload']['result']);

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.9% 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

Unknown

Total

1

Last Release

3564d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4987505?v=4)[Devless](/maintainers/Devless)[@devless](https://github.com/devless)

---

Top Contributors

[![EDDYMENS](https://avatars.githubusercontent.com/u/8077713?v=4)](https://github.com/EDDYMENS "EDDYMENS (39 commits)")[![philsturgeon](https://avatars.githubusercontent.com/u/67381?v=4)](https://github.com/philsturgeon "philsturgeon (5 commits)")[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (4 commits)")[![marcqualie](https://avatars.githubusercontent.com/u/101022?v=4)](https://github.com/marcqualie "marcqualie (4 commits)")[![bcrowe](https://avatars.githubusercontent.com/u/752603?v=4)](https://github.com/bcrowe "bcrowe (2 commits)")[![Swader](https://avatars.githubusercontent.com/u/1430603?v=4)](https://github.com/Swader "Swader (1 commits)")[![Anahkiasen](https://avatars.githubusercontent.com/u/1321596?v=4)](https://github.com/Anahkiasen "Anahkiasen (1 commits)")[![zackkitzmiller](https://avatars.githubusercontent.com/u/111536?v=4)](https://github.com/zackkitzmiller "zackkitzmiller (1 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (1 commits)")[![bencorlett](https://avatars.githubusercontent.com/u/181919?v=4)](https://github.com/bencorlett "bencorlett (1 commits)")[![nyamsprod](https://avatars.githubusercontent.com/u/51073?v=4)](https://github.com/nyamsprod "nyamsprod (1 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")

---

Tags

phpsdkDevless

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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