PHPackages                             tigerheck/laravel-restapi - 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. tigerheck/laravel-restapi

ActiveLibrary

tigerheck/laravel-restapi
=========================

Laravel wrapper for RestApi APIs

v1.0.2(2y ago)071MITPHPPHP ^8.0.2

Since Apr 5Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel RestApi Wrapper
=======================

[](#laravel-restapi-wrapper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e685444f119877807546ac4dc5f87b5d0e55980b0c6201c9c9959cfa58ac2602/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696765726865636b2f6c61726176656c2d726573746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tigerheck/laravel-restapi)[![Total Downloads](https://camo.githubusercontent.com/9742dc4abd763597d3a01dd2c62bc442df9ce487c28b56d9bee36c3d3ecad490/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74696765726865636b2f6c61726176656c2d726573746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tigerheck/laravel-restapi)

**A Laravel wrapper for RestApi API.**

Install
-------

[](#install)

Via Composer

```
$ composer require tigerheck/laravel-restapi
```

Configuration
-------------

[](#configuration)

Laravel RestApi requires connection configuration. To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish --provider="TigerHeck\RestApi\RestApiServiceProvider"
```

add Your enviroment configuraiton file

```
RESTAPI_BASE_URL=
RESTAPI_CLIENT_ID=
RESTAPI_SECRET_ID=
RESTAPI_URL_ACCESS_TOKEN="/connect/token"
RESTAPI_SCOPES="********"
RESTAPI_GRANT_TYPE="client_credentials"

```

Examples with app("restapi")-&gt;http()
---------------------------------------

[](#examples-with-apprestapi-http)

GET

```
$response = app("restapi")->http()->get("/api/get/url", [
    'param1' => $param1,
    'param2' => 'param2',
]);

```

POST

```
$response = app("restapi")->http()->post("/api/post/url", [
    'data1'             => $data1,
    'data2'             => $data2,
    'data3'             => $data3,
]);

```

PUT

```
$response = app("restapi")->http()->put("/api/post/url/{$id}", [
    'data1'             => $data1,
    'data2'             => $data2,
    'data3'             => $data3,
]);

```

Delete

```
$response = app("restapi")->http()->delete("/api/delete/url/{$id}");

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~55 days

Total

3

Last Release

1020d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97f806ea06d2eb39ba2ca988f61410327ee53cbb0d7c3ca6eed753caf69c60b6?d=identicon)[chiraggoti2016](/maintainers/chiraggoti2016)

---

Top Contributors

[![chiraggoti2016](https://avatars.githubusercontent.com/u/19799708?v=4)](https://github.com/chiraggoti2016 "chiraggoti2016 (3 commits)")

---

Tags

laravelrestapi

### Embed Badge

![Health badge](/badges/tigerheck-laravel-restapi/health.svg)

```
[![Health](https://phpackages.com/badges/tigerheck-laravel-restapi/health.svg)](https://phpackages.com/packages/tigerheck-laravel-restapi)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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