PHPackages                             tobiasfp/economics-php - 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. tobiasfp/economics-php

ActiveLibrary[API Development](/categories/api)

tobiasfp/economics-php
======================

A wrapper for the E-conomics api

0.7.4(4y ago)0172MITPHPPHP &gt;=7.4

Since Jan 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/TobiasFP/economic-php)[ Packagist](https://packagist.org/packages/tobiasfp/economics-php)[ RSS](/packages/tobiasfp-economics-php/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

1. economic-php
===============

[](#1-economic-php)

1.1. What is it
---------------

[](#11-what-is-it)

A basic wrapper around the Economics api, with input &amp; output validation/verification.

1.2. How to install/use
-----------------------

[](#12-how-to-installuse)

Simply add it via composer:

```
composer require tobiasfp/economics-php

```

Then use:

```
$econ = new Economics\Economics("demo", "demo");
$econ->createCustomer("DKK", $econ->customerGroup(1), "test" $econ->paymentTerms(1), $econ->vatZone(1));

```

For better documentation on how to use it, see the economicsTest.php file. Everything has at least one test, so it should give you a good overview.

1.3. Why no docblocks?
----------------------

[](#13-why-no-docblocks)

I hate docblocks.! If a programming language does not support something, it should be fixed in the language, not by addition of features outside the scope of the language. In my opinion, PHP8 completely removed the need for docblocks. Also, docblocks makes PHP less readable.! TypeHint everything instead.!

If you want to add docblocks to this project for your own use, I will allow it, since we are all different, however, I will not maintain them.!

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

5

Last Release

1609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e9708411782167c6bf4d1971fe4e861232e3af89da73b49917294d8140ada0f?d=identicon)[TobiasFP](/maintainers/TobiasFP)

---

Top Contributors

[![TobiasFP](https://avatars.githubusercontent.com/u/8199606?v=4)](https://github.com/TobiasFP "TobiasFP (25 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tobiasfp-economics-php/health.svg)

```
[![Health](https://phpackages.com/badges/tobiasfp-economics-php/health.svg)](https://phpackages.com/packages/tobiasfp-economics-php)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.5M920](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[smodav/mpesa

M-Pesa API implementation

16167.1k1](/packages/smodav-mpesa)[imdhemy/google-play-billing

Google Play Billing

491.4M5](/packages/imdhemy-google-play-billing)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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