PHPackages                             patryk-sawicki/orlenpaczka-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. patryk-sawicki/orlenpaczka-laravel

ActiveLibrary[API Development](/categories/api)

patryk-sawicki/orlenpaczka-laravel
==================================

Orlen Paczka API client for laravel.

0.2.4(9mo ago)0361MITBladePHP ^8.2

Since Nov 27Pushed 9mo ago3 watchersCompare

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

READMEChangelogDependencies (3)Versions (13)Used By (0)

OrlenPaczka API Client
======================

[](#orlenpaczka-api-client)

Orlen Paczka API client for laravel.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher with json extensions.

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

[](#installation)

The recommended way to install is through [Composer](http://getcomposer.org).

```
composer require patryk-sawicki/orlenpaczka-laravel
```

Frontend Usage
--------------

[](#frontend-usage)

### Map button

[](#map-button)

Add map button to your blade file.

```

```

Important:

1. You must add `@stack('after-css')` before `` tag.
2. You must add `@stack('after-scripts')` before `` tag.
3. Selected point will be saved in `#orlenPointId` input.

Backend Usage
-------------

[](#backend-usage)

Add to env:

```
OP_API_ID = 'your_partner_id'
OP_API_KEY = 'your_partner_key'
OP_SANDBOX = false // optional - default false
OP_CACHE_DEFAULT_TTL = 86400 // optional - default 86400 seconds
```

Import class:

```
use PatrykSawicki\OrlenPaczkaApi\app\Classes\OrlenPaczka;
```

### List of all points.

[](#list-of-all-points)

Get a list of all points.

```
OrlenPaczka::giveMeAllRUCHWithFilled()->list(); // return array
```

Result:

```
[
    [
        'DestinationCode' => 'WS-100001-27-26',
        'StreetName' => 'ANNOPOL 17 TEST',
        'City' => 'Warszawa',
        'District' => 'Warszawa',
        'Latitude' => '52.311519',
        'Longitude' => '21.013830',
        'Province' => 'Mazowieckie',
        'CashOnDelivery' => 'true',
        'OpeningHours' => 'Pn-Pt:00:00-24:00, So:00:00-24:00, Nd:00:00-24:00',
        'Location' => 'Punkt testowy',
        'PSD' => '100001',
        'PointType' => 'PSD',
        'Filled' => 'false',
        'Suggestions' => [],
        'Available' => 'true',
        'ZipCode' => '03-236',
    ],
    ...
]
```

### Generate label business pack

[](#generate-label-business-pack)

Generate label for business pack.

```
OrlenPaczka::generateLabelBusinessPack()->pdf(array $data); // return ?

```

Request:

```
[
    [
        'DestinationCode' => 'WS-100001-27-26',
        'BoxSize' => 'S', // S, M, L
        'FirstName' => 'Jan',
        'LastName' => 'Kowalski',
        'PhoneNumber' => '123456789',
        'EMail' => 'aaa@bbb.pl',
        'SenderEMail' => 'aaa@bbb.pl',
        'SenderFirstName' => 'Jan',
        'SenderLastName' => 'Kowalski',
        'SenderStreetName' => 'Testowa 1',
        'SenderBuildingNumber' => '1',
        'SenderCity' => 'Warszawa',
        'SenderPostCode' => '00-001',
        'SenderPhoneNumber' => '123456789',
        'PrintAdress' => '1', // 1, 2
        'PrintType' => '1', // 1, 2
    ],
    ...
]
```

Result:

```
// return pdf
```

### Labels panel

[](#labels-panel)

Add a panel for generating labels.

```

```

Changelog
---------

[](#changelog)

Changelog is available [here](CHANGELOG.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance57

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~61 days

Recently: every ~133 days

Total

11

Last Release

281d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2276e6082c07c002d8b66093671feaf3f1306bd8aa6ced5c0769a46a7bb9ff6?d=identicon)[patryk-sawicki](/maintainers/patryk-sawicki)

---

Top Contributors

[![patryk-sawicki](https://avatars.githubusercontent.com/u/30780444?v=4)](https://github.com/patryk-sawicki "patryk-sawicki (14 commits)")[![LukaszChowanski](https://avatars.githubusercontent.com/u/42815961?v=4)](https://github.com/LukaszChowanski "LukaszChowanski (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/patryk-sawicki-orlenpaczka-laravel/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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