PHPackages                             inkvizytor/dotpay - 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. [Payment Processing](/categories/payments)
4. /
5. inkvizytor/dotpay

ActiveLibrary[Payment Processing](/categories/payments)

inkvizytor/dotpay
=================

Package for Dotpay payments via api instead of form

2.1.15(4y ago)03.5k↓50%MITPHPPHP ~5.6|~7.0|~8.0

Since Sep 23Pushed 4y agoCompare

[ Source](https://github.com/inkvizytor/laravel-dotpay)[ Packagist](https://packagist.org/packages/inkvizytor/dotpay)[ Docs](https://github.com/Evilnet/Dotpay)[ RSS](/packages/inkvizytor-dotpay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (4)Versions (22)Used By (0)

laravel-dotpay
==============

[](#laravel-dotpay)

Paczka Dotpay do Laravela 5.x. Pozwala przesyłać dane poprzez API zamiast formularza.

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/1410181af7f035eef86b697e88b090b7dd901ad3bce3fb0c1e9e915ff49be5f3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61786f74696f6e2f6c61726176656c2d646f747061792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/axotion/laravel-dotpay/?branch=master)[![Build Status](https://camo.githubusercontent.com/3f379e894066ad186bbe13f91485de2fd86f157b60f26cff66d294ee94a69322/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61786f74696f6e2f6c61726176656c2d646f747061792f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/axotion/laravel-dotpay/build-status/master)[![Latest Unstable Version](https://camo.githubusercontent.com/168689d7b7b494e1631231b6355dcc3704a7bffb6ce0f77c29ef76e4422fbd31/68747470733a2f2f706f7365722e707567782e6f72672f6576696c6e65742f646f747061792f762f756e737461626c65)](https://packagist.org/packages/evilnet/dotpay)[![License](https://camo.githubusercontent.com/ecc84352b45f7bbc82249086294e13c19ec0fb3ba8cf850c84f7ef9a87b33260/68747470733a2f2f706f7365722e707567782e6f72672f6576696c6e65742f646f747061792f6c6963656e7365)](https://packagist.org/packages/evilnet/dotpay)[![Total Downloads](https://camo.githubusercontent.com/9db3bdcd1601816ef4ca7c0ca7230b8314bc68c888ad8bcddacf1836dfaf497e/68747470733a2f2f706f7365722e707567782e6f72672f6576696c6e65742f646f747061792f646f776e6c6f616473)](https://packagist.org/packages/evilnet/dotpay)

Struktura
---------

[](#struktura)

```
src/
tests/

```

Instalacja
----------

[](#instalacja)

Przez composera

```
$ composer require evilnet/dotpay
```

lub dodaj do pliku composera

```
 "require": {
         "evilnet/dotpay": "dev-master"
     },
```

Potem zarejestruj usługę i ewentualnie alias w config/app.php

```
'providers' => [

     Evilnet\Dotpay\DotpayServiceProvider::class,

 'aliases' => [
     'Dotpay' => Evilnet\Dotpay\Facades\Dotpay::class

```

Opublikuj konfguracje i wprowadź w niej potrzebne dane

```
php artisan vendor:publish --provider="Evilnet\Dotpay\DotpayServiceProvider"

```

Dodaj wartości do pliku .env

```
DOTPAY_USERNAME=
DOTPAY_PASSWORD=
DOTPAY_SHOP_ID=
DOTPAY_PIN=
DOTPAY_BASE_URL=https://ssl.dotpay.pl/test_seller/

```

I dodaj swoją metodę do obsługi callbacku jako wyjątek w VerifyCsrfToken

Przykład użycia
---------------

[](#przykład-użycia)

```
namespace App\Http\Controllers;

use Evilnet\Dotpay\DotpayManager;
use Illuminate\Http\Request;
use Illuminate\Http\Response;

class DotpayController extends Controller
{

    private $dotpayManager;

    public function __construct(DotpayManager $dotpayManager)
    {
        $this->dotpayManager = $dotpayManager;
    }

    public function callback(Request $request)
    {
        $response = $this->dotpayManager->callback($request->all());

        //Do whatever you want with this

        return new Response('OK');
    }

    public function pay()
    {
        $data = [
            'amount' => '100',
            'currency' => 'PLN',
            'description' => 'Payment for internal_id order',
            'control' => '12345', //ID that dotpay will pong you in the answer
            'language' => 'pl',
            'ch_lock' => '1',
            'url' => config('dotpay.options.url'),
            'urlc' => config('dotpay.options.curl'),
            'expiration_datetime' => '2017-12-01T16:48:00',
            'payer' => [
                'first_name' => 'John',
                'last_name' => 'Smith',
                'email' => 'john.smith@example.com',
                'phone' => '+48123123123'
            ],
            'recipient' => config('dotpay.options.recipient')

        ];

        return redirect()->to($this->dotpayManager->createPayment($data));
    }
}
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ phpunit vendor/evilnet/dotpay/tests
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Axotion](https://github.com/axotion)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% 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 ~102 days

Recently: every ~47 days

Total

17

Last Release

1517d ago

Major Versions

0.0.0 → 1.0.02017-11-14

1.0.0 → 2.02017-11-17

PHP version history (2 changes)0.0.0PHP ~5.6|~7.0

2.1.4PHP ~5.6|~7.0|~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe797b0d1ea1b50f61f3c4951c848bb8935dfa485a0fe6c7158513a6d81e56bf?d=identicon)[inkvizytor](/maintainers/inkvizytor)

---

Top Contributors

[![smok55453](https://avatars.githubusercontent.com/u/37620534?v=4)](https://github.com/smok55453 "smok55453 (9 commits)")[![adrian1207](https://avatars.githubusercontent.com/u/9296448?v=4)](https://github.com/adrian1207 "adrian1207 (3 commits)")[![axotion](https://avatars.githubusercontent.com/u/7965436?v=4)](https://github.com/axotion "axotion (1 commits)")[![inkvizytor](https://avatars.githubusercontent.com/u/10927355?v=4)](https://github.com/inkvizytor "inkvizytor (1 commits)")

---

Tags

laraveldotpayevilnet

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/inkvizytor-dotpay/health.svg)

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

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[evilnet/dotpay

Package for Dotpay payments via api instead of form

1222.2k](/packages/evilnet-dotpay)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)

PHPackages © 2026

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