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

ActiveLibrary[Payment Processing](/categories/payments)

ibrahimbougaoua/laravel-vfdplus
===============================

a system that sends electronic invoices/receipts to the TRA in real time receiving a validation response from the tax authority.

v1.0.0(2y ago)04[4 PRs](https://github.com/ibrahimBougaoua/laravel-vfdplus/pulls)MITPHPPHP ^8.1CI passing

Since Jan 29Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ibrahimBougaoua/laravel-vfdplus)[ Packagist](https://packagist.org/packages/ibrahimbougaoua/laravel-vfdplus)[ Docs](https://github.com//laravel-vfdplus)[ GitHub Sponsors](https://github.com/ibrahimBougaoua)[ RSS](/packages/ibrahimbougaoua-laravel-vfdplus/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (6)Used By (0)

laravel VfdPlus
===============

[](#laravel-vfdplus)

VfdPlus Easy Fiscal Receipt Issuing, a system that sends electronic invoices/receipts to the TRA in real time receiving a validation response from the tax authority.

[www.vfdplus.co.tz](https://www.vfdplus.co.tz)

[ ![Thumb](https://camo.githubusercontent.com/08b98f52a8b708a62b14461dc5b6eabd6f6f44fcf2e0084b1d2d1ab909210180/68747470733a2f2f7777772e766664706c75732e636f2e747a2f6173736574732f696d672f7666645f696d67322e706e67)](https://www.vfdplus.co.tz)Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ibrahimbougaoua/laravel-vfdplus
```

This is the contents of the published config file:

```
return [
    'home' => 'https://app.vfdplus.co.tz/vfd-thirdparty-api/',
    'post_fiscal_receipt' => 'post_fiscal_receipt',
    'post_fiscal' => 'post_fiscal',
    'serial_info' => 'serial_info',
    'account_info' => 'account_info',
    'vfdplus_api_key' => 'DEMO-KEY-0001',
    'qrserver' => 'https://api.qrserver.com/v1/create-qr-code',
    'verify' => 'https://verify.tra.go.tz/',
];
```

Usage
-----

[](#usage)

Load Posted Receipt

```

$loadCredentialInfo = new \IbrahimBougaoua\LaravelVfdplus\Actions\LoadPostedReceipt();
$loadCredentialInfo->initData("ID","dghgfjghghjh");
$loadCredentialInfo->load();
$receipt = $loadCredentialInfo->getResponse();
dd($receipt);

```

Load Account Info

```
$loadCredentialInfo = new \IbrahimBougaoua\LaravelVfdplus\Actions\LoadAccountInfo();
$loadCredentialInfo->loadInfo();
$accountInfo = $loadCredentialInfo->getResponse();
dd($accountInfo);

```

Load Credential Info

```
$loadCredentialInfo = new \IbrahimBougaoua\LaravelVfdplus\Actions\LoadCredentialInfo();
$loadCredentialInfo->loadInfo();
$serialCode = $loadCredentialInfo->getSerialCode();
dd($serialCode);

```

Post Fiscal Receipt

```
$postFiscalReceipt = new \IbrahimBougaoua\LaravelVfdplus\Actions\PostFiscalReceipt();

$postFiscalReceipt->initData($serialCode,"","","DC-DEMO.004","2022-06-04","02:43:37",);

$postFiscalReceipt->setCustomerInfo("CASH","6","NIL","","","","");

$postFiscalReceipt->setPaymentMethods([
    [
        "pmt_type" => "CASH",
        "pmt_amount" => 10000.0
    ]
]);

$postFiscalReceipt->setCartTotals(1,10000.0,10000.0,0.0);

$postFiscalReceipt->setCartItems([
    [
      "vat_rate_code" => "A",
      "vat_rate_id" => 1,
      "item_name" => "VITUMBUA",
      "item_barcode" => "-1",
      "item_qty" => 10.0,
      "usp" => 1000.0,
      "sp" => 1000.0,
      "unit_discount_perc" => 0.0,
      "unit_discount_amt" => 0.0,
      "total_item_discount" => 0.0
    ]
]);

$postFiscalReceipt->setUserInfo(2,"grandx","TILL01");

$response = $postFiscalReceipt->post();

dd($response);

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

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

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance60

Regular maintenance activity

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

834d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42cb517e994883d2bfba50af94449dd4e4348c8423516e71c1bfa4738e083df9?d=identicon)[ibrahim.bougaoua](/maintainers/ibrahim.bougaoua)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![ibrahimBougaoua](https://avatars.githubusercontent.com/u/41789518?v=4)](https://github.com/ibrahimBougaoua "ibrahimBougaoua (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

laravelibrahimBougaoualaravel-vfdplus

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[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)[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

7812.3k](/packages/danestves-laravel-polar)[spatie/laravel-mailcoach-sdk

An SDK to easily work with the Mailcoach API in Laravel apps

41290.2k1](/packages/spatie-laravel-mailcoach-sdk)

PHPackages © 2026

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