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

ActiveLibrary[API Development](/categories/api)

plutu/plutu-laravel
===================

Plutu for Laravel

1.1.0(3y ago)7894—0%1MITPHPPHP ^8.0

Since Feb 26Pushed 3y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

 [ ![Plutu](https://camo.githubusercontent.com/03d2dc2292edf13c64585eedafc14c0df94533875c045b8bc6dc227b6c5e1046/68747470733a2f2f706c7574752e6c792f77702d636f6e74656e742f75706c6f6164732f323032322f30332f706c7574752d6c6f676f2e737667) ](https://plutu.ly)

Official Plutu SDK for Laravel
==============================

[](#official-plutu-sdk-for-laravel)

[![Version](https://camo.githubusercontent.com/925797622a5a43fb141dc734c44370aebd69ff8607552b5c5a9ba4420246fe5c/687474703a2f2f706f7365722e707567782e6f72672f706c7574752f706c7574752d6c61726176656c2f76657273696f6e)](https://packagist.org/packages/plutu/plutu-laravel)[![Total Downloads](https://camo.githubusercontent.com/d82398467b680cd31b7c2d849202d3e7b786a5f273f9878d56efd0bac7c11c86/687474703a2f2f706f7365722e707567782e6f72672f706c7574752f706c7574752d6c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/plutu/plutu-laravel)[![License](https://camo.githubusercontent.com/072361858b1fdbc9114c74a95971dc3ba12cd936121146a3230aaaffb32a41cd/68747470733a2f2f706f7365722e707567782e6f72672f706c7574752f706c7574752d6c61726176656c2f6c6963656e7365)](https://packagist.org/packages/plutu/plutu-laravel)

Plutu Laravel is the official package that builds upon the [Plutu PHP](https://github.com/getplutu/plutu-php) package to simplify the integration of Plutu services into Laravel applications. This package provides developers with a straightforward and consistent interface to access Plutu's API and services, enabling them to seamlessly incorporate Plutu's capabilities into their Laravel projects.

Getting started
---------------

[](#getting-started)

### Installation

[](#installation)

You can install the Plutu Laravel package via Composer by running the following command:

```
composer require plutu/plutu-laravel

```

### Publish Configuration

[](#publish-configuration)

To publish the configuration file of Plutu Laravel package, run the following command:

```
php artisan vendor:publish --provider="PlutuLaravel\Providers\PlutuServiceProvider"

```

This command will publish the `plutu.php` configuration file to the config directory of your application.

You can then configure the package by setting the following environment variables in your `.env` file:

```
PLUTU_API_KEY=your_api_key
PLUTU_ACCESS_TOKEN=your_access_token
PLUTU_SECRET_KEY=your_secret_key

```

Make sure to replace your\_api\_key, your\_access\_token, and your\_secret\_key with your own API credentials provided by [Plutu](https://plutu.ly) in your merchant account.

Alternatively, you can directly edit the config/plutu.php configuration file that was published to your application.

### Usage

[](#usage)

To use the Plutu PHP package, you can access the available facades for Plutu Laravel by importing them:

```
use PlutuAdfali;
use PlutuSadad;
use PlutuLocalBankCards;
use PlutuTlync;
use PlutuMpgs;
```

Here's a snippet of how to use it:

```
$mobileNumber = '090000000'; // Mobile number should start with 09
$amount = 5.0; // amount in float format

try {

    $apiResponse = PlutuAdfali::verify($mobileNumber, $amount);

    if ($apiResponse->getOriginalResponse()->isSuccessful()) {
        // Process ID should be sent in the confirmation step
        $processId = $apiResponse->getProcessId();
    } elseif ($apiResponse->getOriginalResponse()->hasError()) {
        $errorCode = $apiResponse->getOriginalResponse()->getErrorCode();
        $errorMessage = $apiResponse->getOriginalResponse()->getErrorMessage();
    }

// Handle exceptions that may be thrown during the execution of the code
} catch (\Exception $e) {
    $exception = $e->getMessage();
}
```

This code demonstrates how to use the Plutu PHP package to interact with the Plutu API by verifying a mobile number and an amount with the Adfali Payment Service. You can use similar methods to interact with other Plutu services by importing the relevant facades.

You can find examples in the package's main documentation here: [Plutu PHP](https://github.com/getplutu/plutu-php/blob/main/examples.md)

Resources
---------

[](#resources)

- [Plutu PHP](https://github.com/getplutu/plutu-php)
- [Plutu Docs](https://docs.plutu.ly)

License
-------

[](#license)

The Plutu Laravel package is open-source software licensed under the [MIT](https://opensource.org/licenses/MIT) License.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

1149d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fcbfbc0b774367600a47e000d28f407dfc8d0cde4b5605428f8040a0df327ed?d=identicon)[getplutu](/maintainers/getplutu)

---

Top Contributors

[![getplutu](https://avatars.githubusercontent.com/u/126381629?v=4)](https://github.com/getplutu "getplutu (6 commits)")

---

Tags

laravelpackagephpplutusdkphpapilaravelpaymentservicesplutu

### Embed Badge

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

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

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[exlo89/laravel-sevdesk-api

A helpful Sevdesk API client for Laravel.

1116.5k](/packages/exlo89-laravel-sevdesk-api)[gufy/whmcs

WHMCS API for Laravel 5

201.7k](/packages/gufy-whmcs)

PHPackages © 2026

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