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

ActiveLibrary

bfg/laravel-wefact
==================

Wefact for Laravel 5.8-10.x

2.0.1(3y ago)164.6k—8.7%3MITPHPPHP ^7.2|^8.0

Since May 14Pushed 3y agoCompare

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

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

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

[](#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 bfg/laravel-wefact

```

Copy the config files for the Wefact-plugin

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

```

### Usage

[](#usage)

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

    //
}
```

#### Attachments

[](#attachments)

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

#### CreditInvoices

[](#creditinvoices)

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

#### Creditors

[](#creditors)

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

#### Debtors

[](#debtors)

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

#### Groups

[](#groups)

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

#### Invoices

[](#invoices)

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

#### PriceQuotes

[](#pricequotes)

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

#### Products

[](#products)

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

### Tests

[](#tests)

```
composer test
```

---

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity74

Established project with proven stability

 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

Every ~248 days

Recently: every ~315 days

Total

8

Last Release

1187d ago

Major Versions

1.4 → 2.0.02022-07-22

PHP version history (4 changes)1.0PHP ^7.0

1.1PHP ^7.1.3

1.2PHP ^7.2

2.0.0PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/59b2d162a30938ac2c3c56340ebea07a6778a3e1c86cb70b5bc28b69a1c3f04d?d=identicon)[bfg](/maintainers/bfg)

---

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)")[![Xsaven](https://avatars.githubusercontent.com/u/1726771?v=4)](https://github.com/Xsaven "Xsaven (7 commits)")[![gldrenthe89](https://avatars.githubusercontent.com/u/56250338?v=4)](https://github.com/gldrenthe89 "gldrenthe89 (2 commits)")

---

Tags

laravelwefact

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

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

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)

PHPackages © 2026

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