PHPackages                             kasp3r/gifty - 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. kasp3r/gifty

AbandonedArchivedLibrary[API Development](/categories/api)

kasp3r/gifty
============

Gifty.lt api service

1.0.0(11y ago)015MITPHPPHP &gt;=5.4

Since Oct 3Pushed 11y ago1 watchersCompare

[ Source](https://github.com/kasp3r/gifty)[ Packagist](https://packagist.org/packages/kasp3r/gifty)[ Docs](http://github.com/kasp3r/gifty)[ RSS](/packages/kasp3r-gifty/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Gifty api service
=================

[](#gifty-api-service)

A PHP library to work with gifty.lt api

Dependencies
------------

[](#dependencies)

- PHP &gt;= 5.4

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

[](#installation)

### composer

[](#composer)

To install Gifty with composer you need to create `composer.json` in your project root and add:

```
{
    "require": {
        "kasp3r/gifty": "dev-master"
    }
}
```

Then run

```
$ wget -nc http://getcomposer.org/composer.phar
$ php composer.phar install
```

Library will be installed in vendor/kasp3r/gifty

In your project include composer autoload file from vendor/autoload.php

Usage
-----

[](#usage)

```
use Gifty\GiftyService;

$giftyService = new GiftyService('customerKey', 'customerSecret', 'userId');

$response = $giftyService
            ->setTesting(true) // to enable testing
            ->createGift('productId', 'templateId', 'recipient');

if ($response->isError()) {
    echo $response->getErrorCode() . ': ' . $response->getErrorDescription();
} else {
    echo 'Gift name: ' . $response->getGiftName();
    echo 'Gift code: ' . $response->getGiftCode();
    // ...
}
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4291d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdd31fdac28253e97949b74c55616b5f6066d9383acaa80ee630907c0f0e6434?d=identicon)[kasp3r](/maintainers/kasp3r)

---

Top Contributors

[![kasp3r](https://avatars.githubusercontent.com/u/798379?v=4)](https://github.com/kasp3r "kasp3r (1 commits)")

---

Tags

phpapi

### Embed Badge

![Health badge](/badges/kasp3r-gifty/health.svg)

```
[![Health](https://phpackages.com/badges/kasp3r-gifty/health.svg)](https://phpackages.com/packages/kasp3r-gifty)
```

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

138110.7k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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