PHPackages                             rentlio/api.lib.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. rentlio/api.lib.php

ActiveLibrary[API Development](/categories/api)

rentlio/api.lib.php
===================

PHP api.rentl.io client

0.5.0(8y ago)334[1 PRs](https://github.com/Rentlio/api.lib.php/pulls)MITPHP &gt;=5.6

Since Oct 20Compare

[ Source](https://github.com/Rentlio/api.lib.php)[ Packagist](https://packagist.org/packages/rentlio/api.lib.php)[ RSS](/packages/rentlio-apilibphp/feed)WikiDiscussions Synced 2w ago

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

Rentl.io Public Api PHP Client lib
==================================

[](#rentlio-public-api-php-client-lib)

[![CircleCI](https://camo.githubusercontent.com/353f99edd8dfb61b65446f1ba5690af926172f20241861aaba55ff7c8d4765bb/68747470733a2f2f636972636c6563692e636f6d2f67682f52656e746c696f2f6170692e6c69622e7068702f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/Rentlio/api.lib.php/tree/master)

This library is official PHP rentl.io api client. Api documentation can be found [here](https://docs.rentl.io)

Rentlio
-------

[](#rentlio)

Rentlio is a cloud-based app tailor-made for vacation rentals owners, hostels and small hotels. Channel manager synchronization with Booking.com, Expedia, AirBnB and many others, lightspeed check-in with real-time ID cards &amp; passport scanning feature, invoicing, statistics, guest profiles... Save time on administration, get rid of errors and stress. Focus more on sales and planning. Focus more on your guests.

USAGE
-----

[](#usage)

To be able to use this lib, or rentlio api in general you first need to generate apiKey. You can do that inside developers section in rentlio web app.

Please create separate api key for each integration you are creating. This way you can easily invalidate some of api keys without affecting others. Also please keep you api keys private. Don't include to VCS or similar.

### Responses

[](#responses)

All client methods will return \\Psr\\Http\\Message\\ResponseInterface.

### Authentication

[](#authentication)

```
use Rentlio\Api\Client;

$client = new Client("put your api key here");
```

### Sending requests

[](#sending-requests)

```
use Rentlio\Api\Client;
use Rentlio\Api\Request\CreateInvoiceItemForReservationRequest;
use Rentlio\Api\Request\Data\InvoiceItem;

$client = new Client("put your api key here");

$request     = new CreateInvoiceItemForReservationRequest(45);
$invoiceItem = new InvoiceItem("cola", 13.99, 0.5);
$invoiceItem->addPDVTax(13);
$request->setInvoiceItem($invoiceItem);

$response = $client->send($request);
```

### Using client methods

[](#using-client-methods)

```
use Rentlio\Api\Client;

$client   = new Client("put your api key here");
$response = $client->listAllServicesPaymentTypes();

echo $response->getBody()->getContents();
```

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

[](#dependencies)

Rentlio php api client depends on [guzzleHttp](http://docs.guzzlephp.org/en/stable/) library

Contribution
------------

[](#contribution)

If you would like to contribute, fix bugs, please fork this repo and create Pull Request when you are done with development. All code should follow PSR and should be tested.

License
-------

[](#license)

Mit

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~74 days

Total

5

Last Release

2925d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2059817?v=4)[Ivan Padavic](/maintainers/ipadavic)[@ipadavic](https://github.com/ipadavic)

---

Tags

apiclientrentl.io

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rentlio-apilibphp/health.svg)

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

###  Alternatives

[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k10.2M97](/packages/openai-php-laravel)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

608.3M53](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M16](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

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