PHPackages                             ingress-it-solutions/palzin-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. [API Development](/categories/api)
4. /
5. ingress-it-solutions/palzin-sdk

ActiveLibrary[API Development](/categories/api)

ingress-it-solutions/palzin-sdk
===============================

This is a simple PHP library that makes communication with Palzin API easy

018PHP

Since Feb 12Pushed 7y agoCompare

[ Source](https://github.com/ingress-it-solutions/palzin-sdk)[ Packagist](https://packagist.org/packages/ingress-it-solutions/palzin-sdk)[ RSS](/packages/ingress-it-solutions-palzin-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK for Palzin 5 API
========================

[](#php-sdk-for-palzin-5-api)

This is a simple PHP library that makes communication with Palzin API easy.

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

[](#installation)

If you choose to install this application with Composer instead of pulling down the git repository you will need to add a composer.json file to the location you would like to pull the repository down to featuring:

```
{
    "require": {
        "ingress-it-solutions/palzin-sdk": "^3.0"
    }
}
```

Run a `composer update` to install the package.

*Note*: If you used an older version of Palzin API wrapper and loaded it using `dev-master`, lock it to version 2.0 by setting require statement to `^2.0` and calling `composer update`.

Connecting to Palzin Accounts
-----------------------------

[](#connecting-to-palzin-accounts)

```
require_once '/path/to/vendor/autoload.php';

// Provide name of your company, name of the app that you are developing, your email address and password. Last parameter is URL where your Palzin is installed.
$authenticator = new \Palzin\SDK\Authenticator\PalzinAuthenticator('ACME Inc', 'My Awesome Application', 'you@acmeinc.com', 'hard to guess, easy to remember', 'https://my.company.com/projects');

//SSL problems?
//If curl complains that SSL peer verification has failed, you can turn it off like this:
$authenticator->setSslVerifyPeer(false);

// Issue a token.
$token = $authenticator->issueToken();

// Did we get what we asked for?
if ($token instanceof \Palzin\SDK\TokenInterface) {
    print $token->getUrl() . "\n";
    print $token->getToken() . "\n";
} else {
    print "Invalid response\n";
    die();
}
```

Constructing a client instance
------------------------------

[](#constructing-a-client-instance)

Once we have our token, we can construct a client and make API calls:

```
$client = new \Palzin\SDK\Client($token);
//SSL problems?
//If curl complains that SSL peer verification has failed, you can turn it off like this:
$client->setSslVerifyPeer(false);
```

Listing all tasks in project #65 is easy. Just call:

```
$client->get('projects/65/tasks');
```

To create a task, simply send a POST request:

```
try {
    $client->post('projects/6/tasks', [
      'name' => 'This is a task name',
      'assignee_id' => 4
    ]);
} catch(AppException $e) {
    print $e->getMessage() . '';
    // var_dump($e->getServerResponse()); (need more info?)
}
```

To update a task, PUT request will be needed:

```
try {
    $client->put('projects/5/tasks/16', [
        'name' => 'Updated named'
    ]);
} catch(AppException $e) {
    print $e->getMessage() . '';
    // var_dump($e->getServerResponse()); (need more info?)
}
```

`post()` and `put()` methods can take two arguments:

1. `command` (required) - API command,
2. `variables` - array of request variables (payload)

To remove a task, call:

```
try {
    $client->delete('projects/5/tasks/16');
} catch(AppException $e) {
    print $e->getMessage() . '';
    // var_dump($e->getServerResponse()); (need more info?)
}
```

`delete()` method only requires `command` argument to be provided.

For full list of available API command, please check with

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/ingress-it-solutions-palzin-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ingress-it-solutions-palzin-sdk/health.svg)](https://phpackages.com/packages/ingress-it-solutions-palzin-sdk)
```

###  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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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