PHPackages                             davidglitch04/libeco - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. davidglitch04/libeco

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

davidglitch04/libeco
====================

Make it easier for developers to use the economic plugin

304[1 issues](https://github.com/David-pm-pl/libEco/issues)PHP

Since Jun 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/David-pm-pl/libEco)[ Packagist](https://packagist.org/packages/davidglitch04/libeco)[ RSS](/packages/davidglitch04-libeco/feed)WikiDiscussions stable Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

libEco
======

[](#libeco)

**libEco is a PocketMine-MP virion that makes easy to use API of economy plugins!**

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

[](#installation)

You can get the compiled .phar file on poggit by clicking [here](https://poggit.pmmp.io/ci/David-pm-pl/libEco/~).

Supports
--------

[](#supports)

Currently this library only supports BedrockEconomy and EconomyAPI.

Usage
-----

[](#usage)

LibEconomy makes using the economy plugins API easier!.

Check have any economy installed
--------------------------------

[](#check-have-any-economy-installed)

```
use davidglitch04\libEco\libEco;
if(libEco::isInstall()){
// Installed
} else{
// No any eco
}
```

Get the money of a player
-------------------------

[](#get-the-money-of-a-player)

```
use davidglitch04\libEco\libEco;
libEco::myMoney($player, static function(float $money) : void {
	var_dump($money);
});
```

Add the money of a player
-------------------------

[](#add-the-money-of-a-player)

```
use davidglitch04\libEco\libEco;
libEco::addMoney($player, $amount);
```

Reduce the money of a player
----------------------------

[](#reduce-the-money-of-a-player)

```
use davidglitch04\libEco\libEco;
libEco::reduceMoney($player, $amount, static function(bool $success) : void {
	if($success){
		//TODO IF SUCCESS
	} else{
		//TODO IF FAIL
	}
});
```

###  Health Score

14

—

LowBetter than 3% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4873e3ddb724b0eba55b1b12976d4c401375b912996ef149aa8eebf2ab040641?d=identicon)[DavidGlitch04](/maintainers/DavidGlitch04)

---

Top Contributors

[![0xliam627](https://avatars.githubusercontent.com/u/70517151?v=4)](https://github.com/0xliam627 "0xliam627 (27 commits)")[![poggit-bot](https://avatars.githubusercontent.com/u/22427965?v=4)](https://github.com/poggit-bot "poggit-bot (1 commits)")

### Embed Badge

![Health badge](/badges/davidglitch04-libeco/health.svg)

```
[![Health](https://phpackages.com/badges/davidglitch04-libeco/health.svg)](https://phpackages.com/packages/davidglitch04-libeco)
```

PHPackages © 2026

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