PHPackages                             libern/someline-starter-api-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. libern/someline-starter-api-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

libern/someline-starter-api-client
==================================

Rest API Client for Someline Starter

v1.0.7(9y ago)2841MITPHPPHP &gt;=5.3.0

Since Jun 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/libern/someline-starter-api-client)[ Packagist](https://packagist.org/packages/libern/someline-starter-api-client)[ Docs](https://github.com/libern/someline-starter-api-client)[ RSS](/packages/libern-someline-starter-api-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

Someline Starter API Client
===========================

[](#someline-starter-api-client)

[![Latest Version](https://camo.githubusercontent.com/24cfa99b22827088a0b3fea76dd1a1ce7db12d804b905b8e3b967c9aa4d07030/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c696265726e2f736f6d656c696e652d737461727465722d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://github.com/libern/someline-starter-api-client/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/b98033f51d12dee4daa025eee659370bdbca96aa9cf70344f7fc0affcbc0eeba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c696265726e2f736f6d656c696e652d737461727465722d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/libern/someline-starter-api-client)

Someline Starter API Client is a client for accessing APIs created using [Someline Starter](https://github.com/libern/someline-starter) framework.

Install
-------

[](#install)

### Via Composer

[](#via-composer)

Install composer package to your laravel project

```
composer require libern/someline-starter-api-client
```

Add Service Provider to `config/app.php`

```
    'providers' => [
        ...
        Libern\Rest\RestClientServiceProvider::class,
        ...
    ],
```

Publishing config file.

```
php artisan vendor:publish
```

After published, config file for Rest Client is `config/rest-client.php`, you will need to config it to use Rest Client.

Usage
-----

[](#usage)

```
$restClient = new \Libern\Rest\RestClient('someline-starter');

$restClient->setOAuthUserCredentials([
    'username' => 'libern@someline.com',
    'password' => 'Abc12345',
]);
$restClient->withOAuthTokenTypeUser();

$response = $restClient->get("users")->getResponse();
if (!$restClient->isResponseStatusCode(200)) {
    $restClient->printResponseOriginContent();
    $responseMessage = $restClient->getResponseMessage();
    print_r($responseMessage);
} else {
    $responseData = $restClient->getResponseData();
    print_r($responseData);
}
```

Testing
-------

[](#testing)

```
phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/libern/someline-starter-api-client/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Libern](https://github.com/libern)
- [All Contributors](https://github.com/libern/someline-starter-api-client/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~4 days

Total

8

Last Release

3637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/420da8717b27611ef8f553e2d143c4757e6e210fa56cc31fd6976b178956379b?d=identicon)[libern](/maintainers/libern)

---

Top Contributors

[![libern](https://avatars.githubusercontent.com/u/1830640?v=4)](https://github.com/libern "libern (37 commits)")

---

Tags

apiclientrestsomeline-starter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/libern-someline-starter-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/libern-someline-starter-api-client/health.svg)](https://phpackages.com/packages/libern-someline-starter-api-client)
```

###  Alternatives

[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[cybercog/youtrack-rest-php

YouTrack REST API PHP Client.

37151.8k3](/packages/cybercog-youtrack-rest-php)[dreamfactory/df-core

DreamFactory(tm) Core Components

1652.0k38](/packages/dreamfactory-df-core)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

177.2k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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