PHPackages                             rafatz/hanatap - 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. rafatz/hanatap

ActiveLibrary

rafatz/hanatap
==============

A HANATrial Cloud Platform Authentication proxy written in PHP.

06PHP

Since Aug 11Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

HANATAP
=======

[](#hanatap)

> A proxy written in PHP to authenticate against HANATrial instances in hanatrial.ondemand.com

Inspired by the excellent

Main Features
-------------

[](#main-features)

- **Simple** - Very easy to learn and use
- **Complete** - Contains the Autentication Proxy, an HCP Client and a Simple HTTP Request Library
- **Free** - With the MIT license you can basically do anything you want

Getting Started
---------------

[](#getting-started)

```
// Include Composer's Autoload
require_once 'vendor/autoload.php';

// Or you can manually add the files
//require_once '../library/Request.php';
//require_once '../library/Proxy.php';
//require_once '../library/Client.php';

// Set the namespace
use HANATAP\Client;

// Initialize the object
$proxy = new Client(array(
    'username'      => '', //Your HCP user. Ex, p000000000
    'accountname'   => '', // Your HCP account name. Ex. p000000000trial
    'password'      => '', // Your HCP password
    'host'          => '', // The HCP host where your application is installed. Ex. s9hanaxs.hanatrial.ondemand.com
    'namespace'     => '', // Namespace of the application. Ex. app.package
    'proxy'         => '', // OPTIONAL: Proxy of your network. Ex. proxyhost:port
    // Extra options
    'params'        => '$metadata'
));

// Set the header to display the content correctly
header('Content-Type: '.$proxy->getContentType());

// Show the content
echo $proxy->getContents();
```

Configuration Parameters
------------------------

[](#configuration-parameters)

- **username** - Your HCP user. Ex, p000000000
- **accountname** - Your HCP account name. Ex. p000000000trial
- **password** - Your HCP password
- **host** - The HCP host where your application is installed. Ex. s9hanaxs.hanatrial.ondemand.com
- **namespace** - Namespace of the application. Ex. app.package
- **file** - File you want to access in your application that is inside the namespace. Ex. file.xodata
- **params** - OPTIONAL: Optional URL parameters. Ex. $metadata
- **format** - OPTIONAL: Format of the data to be returned by the object. Ex. json
- **proxy** - OPTIONAL: Proxy of your network. Ex. proxyhost:port
- **path** - OPTIONAL: Full path of the application. You can use instead of namespace, file, params and format Ex. ////file.xsodata/$metadata

License
-------

[](#license)

HANATAP is under the MIT License

Links
-----

[](#links)

- HANA Cloud Platform - Developer License: \[\]

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![rafatzbr](https://avatars.githubusercontent.com/u/6395815?v=4)](https://github.com/rafatzbr "rafatzbr (2 commits)")

### Embed Badge

![Health badge](/badges/rafatz-hanatap/health.svg)

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

PHPackages © 2026

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