PHPackages                             prusmarcin/laravel-rest-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. prusmarcin/laravel-rest-client

ActiveLibrary

prusmarcin/laravel-rest-client
==============================

Package Rest Full Client for Laravel 5.6

02HTML

Since Apr 10Pushed 8y agoCompare

[ Source](https://github.com/prusmarcin/laravel-rest-client)[ Packagist](https://packagist.org/packages/prusmarcin/laravel-rest-client)[ RSS](/packages/prusmarcin-laravel-rest-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-rest-server
===================

[](#laravel-rest-server)

Package Rest Full API client for Laravel

You can see package Server API [package laravel-rest-server](https://github.com/prusmarcin/laravel-rest-server) for use on a separate Laravel installation

[![Total Downloads](https://camo.githubusercontent.com/652accf89372578d0dbc3251bb876e43a015a6401c3809961de15a0735712d94/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f707275736d617263696e2f6c61726176656c2d726573742d636c69656e742e737667)](https://packagist.org/packages/prusmarcin/laravel-rest-client)[![Latest Stable Version](https://camo.githubusercontent.com/3ace4f9877500eb6c5533bfa628a8ed9c06c8fe716a892d7cf31e7f0e6f7f2e3/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707275736d617263696e2f6c61726176656c2d726573742d636c69656e742e737667)](https://packagist.org/packages/prusmarcin/laravel-rest-client)[![License](https://camo.githubusercontent.com/5a911ddcd16b9110e7821386ffd8d637005a8b856c14a3c0861b955e91da4eba/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667)](https://github.com/prusmarcin/laravel-rest-client/blob/master/LICENSE)

- [Installation](#installation)
- [Usage](#usage)
- [Author](#author)
- [License](#license)

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

[](#installation)

To install this package you will need:

```
Laravel 5 (see compatibility table)
PHP 7.0 +

```

Install via composer - edit your `composer.json` to require the package.

```
{
    "require": {
        "prusmarcin/laravel-rest-client": "dev-master"
    }
}
```

Then run `composer update` in your terminal to pull it in.

Or via the command line in the root of your application installation.

```
$ composer require prusmarcin/laravel-rest-client
```

Once this has finished, you will need to add the service provider to the `providers` array in your `app.php` config as follows:

```
\Restclient\RestclientServiceProvider::class,
```

Then execute this command

```
$ php artisan vendor:publish
```

Select provider from lists `Provider: Restclient\RestclientServiceProvider` and confirm.

Then enter the `config` directory in your Laravel installation and open the `restclient.php` file. Edit url value where your Rest Full API server is located.

```
return [

    /*
    |--------------------------------------------------------------------------
    | URL Rest Server API
    |--------------------------------------------------------------------------
    */

    'url' => 'http://127.0.0.1:8000/api/'

];
```

And you're done!

Usage
-----

[](#usage)

Run this url in browser `http://localhost/laravelzadanie/test/public/products`

WHERE `http://localhost/laravelzadanie/test/public/` &lt;- is source your installation Laravel

If everything works, you'll see what's on the screenshot

[![Screenshot](products.jpg)](products.jpg)

To view all products just enter `http://localhost/laravelzadanie/test/public/products/available`

You'll see

[![Screenshot](products-available.jpg)](products-available.jpg)

Author
------

[](#author)

- [Prus Marcin](https://github.com/prusmarcin)
- [Portfolio](https://prusmarcin.pl/)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/prusmarcin/laravel-rest-client/blob/master/LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

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/fc40f499d770cdd4f34717cc85e85ad8b45a8cccff1e79d548f489a969b0ce09?d=identicon)[prusmarcin](/maintainers/prusmarcin)

---

Top Contributors

[![prusmarcin](https://avatars.githubusercontent.com/u/36367239?v=4)](https://github.com/prusmarcin "prusmarcin (8 commits)")

### Embed Badge

![Health badge](/badges/prusmarcin-laravel-rest-client/health.svg)

```
[![Health](https://phpackages.com/badges/prusmarcin-laravel-rest-client/health.svg)](https://phpackages.com/packages/prusmarcin-laravel-rest-client)
```

PHPackages © 2026

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