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

ActiveLibrary

dystcz/laravel-fakturoid
========================

Laravel wrapper for Fakturoid

3.1.0(1y ago)53934MITPHPPHP ^8.2CI failing

Since Sep 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dystcz/fakturoid)[ Packagist](https://packagist.org/packages/dystcz/laravel-fakturoid)[ Docs](https://github.com/dystcz/fakturoid)[ RSS](/packages/dystcz-laravel-fakturoid/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelog (9)Dependencies (12)Versions (16)Used By (0)

Fakturoid for Laravel
=====================

[](#fakturoid-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2c802dbd7919e619875450e2b9e3e09ff77d93f348cfcb098d1fd5e8a83686b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64797374637a2f66616b7475726f69642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dystcz/fakturoid)[![Total Downloads](https://camo.githubusercontent.com/cd0344dfe32886e15483c64f1746ba9ac39d8fa04335c2178922c28db96d4279/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64797374637a2f66616b7475726f69642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dystcz/fakturoid)[![Tests](https://github.com/dystcz/fakturoid/actions/workflows/test.yaml/badge.svg)](https://github.com/dystcz/fakturoid/actions/workflows/test.yaml)

Simple wrapper for official php package

### Docs

[](#docs)

- [Installation](#installation)
- [Configuration](#configuration)
- [Examples](#examples)

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

[](#installation)

### Step 1: Install package

[](#step-1-install-package)

Add the package in your composer.json by executing the command.

```
composer require dystcz/fakturoid
```

This will both update composer.json and install the package into the vendor/ directory.

### Step 2: Configuration

[](#step-2-configuration)

First initialise the config file by running this command:

```
php artisan vendor:publish
```

With this command, initialize the configuration and modify the created file, located under `config/fakturoid.php`.

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

[](#configuration)

```
return [
    'client_id' => env('FAKTUROID_CLIENT_ID', 'XXX'),
    'client_secret' => env('FAKTUROID_CLIENT_SECRET', 'XXX'),
    'account_slug' => env('FAKTUROID_ACCOUNT_SLUG'),
    'user_agent' => env('FAKTUROID_USER_AGENT', 'Application '),
];
```

Examples
--------

[](#examples)

### Create Subject, Create Invoice, Send Invoice

[](#create-subject-create-invoice-send-invoice)

```
use Dystcz\Fakturoid\Facades\Fakturoid;

try {
    // create subject
    $response = Fakturoid::getSubjectsProvider()->create([
        'name' => 'Firma s.r.o.',
        'email' => 'aloha@pokus.cz'
    ]);

    if ($subject = $response->getBody()) {
        // Create invoice with lines
        $lines = [
            [
                'name' => 'Big sale',
                'quantity' => 1,
                'unit_price' => 1000
            ],
        ];

        $invoiceProvider = Fakturoid::getInvoicesProvider();

        $response = Fakturoid::getInvoicesProvider()->create([
            'subject_id' => $subject->id,
            'lines' => $lines
        ]);

        $invoice = $response->getBody();

        // Send created invoice
        $invoiceProvider->fireAction($invoice->id, 'deliver');
    }
} catch (\Exception $e) {
    dd($e->getCode() . ": " . $e->getMessage());
}
```

### More examples

[](#more-examples)

For more examples, please visit the [Fakturoid documentation](https://github.com/fakturoid/fakturoid-php?tab=readme-ov-file#usage).

Credits
-------

[](#credits)

- Fakturoid s.r.o. [fakturoid-php](https://github.com/fakturoid/fakturoid-php) for the underlying package.

License
-------

[](#license)

Copyright (c) 2019 - 2025 dyst digital s.r.o MIT Licensed.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance46

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~202 days

Recently: every ~80 days

Total

11

Last Release

418d ago

Major Versions

1.4 → 2.0.02024-05-02

2.0.x-dev → 3.002025-02-14

PHP version history (4 changes)v1.0PHP &gt;=5.6.0

1.2PHP &gt;=7.2.0

1.3PHP &gt;=7.3.0

2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/581117abe0f4b50c0ed62f6072f506571a3be5351311f447f10e120c24e2ddca?d=identicon)[theimerj](/maintainers/theimerj)

---

Top Contributors

[![repl6669](https://avatars.githubusercontent.com/u/5587309?v=4)](https://github.com/repl6669 "repl6669 (54 commits)")[![dominik-wbz](https://avatars.githubusercontent.com/u/8103258?v=4)](https://github.com/dominik-wbz "dominik-wbz (12 commits)")

---

Tags

laravelecommerceinvoicingfakturoiddystopia

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4845.9k](/packages/amsgames-laravel-shop)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[highsidelabs/laravel-spapi

A Laravel wrapper for Amazon's Selling Partner API (via jlevers/selling-partner-api)

2133.4k](/packages/highsidelabs-laravel-spapi)[dystcz/lunar-api

Dystore API layer for Lunar e-commerce package

411.1k3](/packages/dystcz-lunar-api)

PHPackages © 2026

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