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

ActiveLibrary[API Development](/categories/api)

lvdhoorn/laravel-wefact
=======================

Wefact for Laravel 5.8/6.0

1.4(6y ago)110.7k2MITPHPPHP ^7.2

Since May 14Pushed 2y agoCompare

[ Source](https://github.com/lvdhoorn/laravel-wefact)[ Packagist](https://packagist.org/packages/lvdhoorn/laravel-wefact)[ RSS](/packages/lvdhoorn-laravel-wefact/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (9)Used By (0)

Laravel Wefact
--------------

[](#laravel-wefact)

[![Latest Stable Version](https://camo.githubusercontent.com/77de02599c5d8911dfdda584ce42febf9ed988338fe05a22c15c0b083b4f041f/68747470733a2f2f706f7365722e707567782e6f72672f496e7661746f2f6c61726176656c2d7765666163742f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/Invato/laravel-wefact)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/62c882e5040813a0c67602cee08cb81af0477e0b8bf08996c0011fc3b377efe1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f496e7661746f2f6c61726176656c2d7765666163742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Invato/laravel-wefact)[![Total Downloads](https://camo.githubusercontent.com/9332fa139108aae32a17a89034ea52ad83f4e441458d383b96d2db4d432c6d0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f496e7661746f2f6c61726176656c2d7765666163742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Invato/laravel-wefact)

Wefact is an easy-to-use billing system. This repository on this repository nickurt/laravel-hostfact

### Table of contents

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Tests](#tests)

### Installation

[](#installation)

Install this package with composer:

```
composer require Invato/laravel-wefact

```

Copy the config files for the Wefact-plugin

```
php artisan vendor:publish --provider="Invato\Wefact\ServiceProvider" --tag="config"

```

Add the Wefact credentials to your `.env` file

```
HOSTFACT_DEFAULT_URL=
HOSTFACT_DEFAULT_KEY=

```

### Usage

[](#usage)

```
#### Multiple Panels [config]
If you want to work with more Wefact panels, you can define more panels in the `config/wefact.php` file
```php
// config/wefact.php
'panels' => [

    'default' => [
        'url' => env('HOSTFACT_DEFAULT_URL'),
        'key' => env('HOSTFACT_DEFAULT_KEY'),
    ],

    'ppe' => [
        'url' => env('HOSTFACT_PPE_URL'),
        'key' => env('HOSTFACT_PPE_KEY'),
    ],

],

```

#### Multiple Panels \[normal usage\]

[](#multiple-panels-normal-usage)

To use another panel than your default one, you can specify it with the panel-method

```
// DebtorsController
public function getIndex()
{
    $debtors = Wefact::panel('ppe')->debtors()->all([
        'Sort' => 'DebtorCode',
        'limit' => 20
    ]);

    //
}
```

#### Multiple Panels \[dependency injection\]

[](#multiple-panels-dependency-injection)

```
// Route
Route::get('/wefact/{hostFact}/debtors', ['as' => 'wefact/debtors', 'uses' => 'DebtorsController@getIndex']);

Route::bind('hostFact', function ($value, $route) {
    app('Wefact')->panel($value);

    return app('Wefact');
});

// DebtorsController
public function getIndex(Wefact $hostFact)
{
    $debtors = $hostFact->debtors()->all([
        'Sort' => 'DebtorCode',
        'limit' => 20
    ]);

    //
}
```

#### Attachments

[](#attachments)

```
Wefact::attachments()->add(array $params)
Wefact::attachments()->delete(array $params)
Wefact::attachments()->download(array $params)
```

#### CreditInvoices

[](#creditinvoices)

```
Wefact::creditinvoices()->add(array $params)
Wefact::creditinvoices()->delete(array $params)
Wefact::creditinvoices()->edit(array $params)
Wefact::creditinvoices()->list(array $params)
Wefact::creditinvoices()->markAsPaid(array $params)
Wefact::creditinvoices()->partPayment(array $params)
Wefact::creditinvoices()->show(array $params)
```

#### Creditors

[](#creditors)

```
Wefact::creditors()->add(array $params)
Wefact::creditors()->delete(array $params)
Wefact::creditors()->edit(array $params)
Wefact::creditors()->list(array $params)
Wefact::creditors()->show(array $params)
```

#### Debtors

[](#debtors)

```
Wefact::debtors()->add(array $params)
Wefact::debtors()->checkLogin(array $params)
Wefact::debtors()->edit(array $params)
Wefact::debtors()->generatePdf(array $params)
Wefact::debtors()->list(array $params)
Wefact::debtors()->sendEmail(array $params)
Wefact::debtors()->show(array $params)
Wefact::debtors()->updateLoginCredentials(array $params)
```

#### Groups

[](#groups)

```
Wefact::groups()->add(array $params)
Wefact::groups()->delete(array $params)
Wefact::groups()->edit(array $params)
Wefact::groups()->list(array $params)
Wefact::groups()->show(array $params)
```

#### Invoices

[](#invoices)

```
Wefact::invoices()->add(array $params)
Wefact::invoices()->block(array $params)
Wefact::invoices()->cancelSchedule(array $params)
Wefact::invoices()->credit(array $params)
Wefact::invoices()->delete(array $params)
Wefact::invoices()->download(array $params)
Wefact::invoices()->edit(array $params)
Wefact::invoices()->list(array $params)
Wefact::invoices()->markAsPaid(array $params)
Wefact::invoices()->markAsUnpaid(array $params)
Wefact::invoices()->partPayment(array $params)
Wefact::invoices()->paymentProcessPause(array $params)
Wefact::invoices()->paymentProcessReactivate(array $params)
Wefact::invoices()->schedule(array $params)
Wefact::invoices()->sendByEmail(array $params)
Wefact::invoices()->sendReminderByEmail(array $params)
Wefact::invoices()->sendSummationByEmail(array $params)
Wefact::invoices()->show(array $params)
Wefact::invoices()->unblock(array $params)
```

#### PriceQuotes

[](#pricequotes)

```
Wefact::pricequotes()->accept(array $params)
Wefact::pricequotes()->add(array $params)
Wefact::pricequotes()->decline(array $params)
Wefact::pricequotes()->delete(array $params)
Wefact::pricequotes()->download(array $params)
Wefact::pricequotes()->edit(array $params)
Wefact::pricequotes()->list(array $params)
Wefact::pricequotes()->sendByEmail(array $params)
Wefact::pricequotes()->show(array $params)
```

#### Products

[](#products)

```
Wefact::products()->add(array $params)
Wefact::products()->delete(array $params)
Wefact::products()->edit(array $params)
Wefact::products()->list(array $params)
Wefact::products()->show(array $params)
```

### Tests

[](#tests)

```
composer test
```

---

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 52% 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 ~113 days

Total

6

Last Release

2406d ago

PHP version history (3 changes)1.0PHP ^7.0

1.1PHP ^7.1.3

1.2PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/61090f3b76cb9fd240e960dc94d8d63094a99b60116353c1249b499cae96ee80?d=identicon)[lvdhoorn](/maintainers/lvdhoorn)

---

Top Contributors

[![nickurt](https://avatars.githubusercontent.com/u/5840084?v=4)](https://github.com/nickurt "nickurt (13 commits)")[![lvdhoorn](https://avatars.githubusercontent.com/u/22305189?v=4)](https://github.com/lvdhoorn "lvdhoorn (9 commits)")[![gldrenthe89](https://avatars.githubusercontent.com/u/56250338?v=4)](https://github.com/gldrenthe89 "gldrenthe89 (3 commits)")

---

Tags

laravelhostfact

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M988](/packages/statamic-cms)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M89](/packages/openai-php-laravel)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

74331.3k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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