PHPackages                             basicinvoices/basicinvoices-modulemanager - 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. basicinvoices/basicinvoices-modulemanager

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

basicinvoices/basicinvoices-modulemanager
=========================================

112PHP

Since Nov 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/basicinvoices/basicinvoices-modulemanager)[ Packagist](https://packagist.org/packages/basicinvoices/basicinvoices-modulemanager)[ RSS](/packages/basicinvoices-basicinvoices-modulemanager/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

basicinvoices-modulemanager
===========================

[](#basicinvoices-modulemanager)

This module basically allows you to load modules from a database table.

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

[](#installation)

Add this project in your `composer.json`:

```
"require": {
    "basicinvoices/basicinvoices-modulemanager": "dev-master"
}

```

Tell composer to download the module by running:

```
composer update

```

### Post installation

[](#post-installation)

Enable the module in your application by editting `module.config.php`. As an example:

```
return [
    'Zend\Db',
    'BasicInvoices\ModuleManager',
    'Zend\Validator',
    'Application',
];

```

Create the database table.

```
CREATE TABLE IF NOT EXISTS `modules` (
 `name` varchar(100) NOT NULL,
 `description` varchar(255) DEFAULT NULL,
 `active` tinyint(1) NOT NULL DEFAULT '0',
 UNIQUE KEY `UX_MODULE_NAME` (`name`),
 KEY `IX_ACTIVE_MODULE` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

```

The description column is not really needed but comes in handy if building a controller to load or unload the modules.

The module will only load the `active` modules.

Enable the database configuration by editting `global.php`

```
 return [
     'db' => [
         'driver'         => 'Pdo',
         'dsn'            => 'mysql:dbname=basic_invoices;host=localhost',
         'driver_options' => [
             PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
         ],
     ],
 ];

```

...and the database credentials in your `local.php`

```
return [
     'db' => [
         'username' => 'YOURUSERNAME',
         'password' => 'YOURPASSWORD',
     ],
 ];

```

...and you are ready to go!

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4283191?v=4)[JPG-Consulting](/maintainers/JPG-Consulting)[@JPG-Consulting](https://github.com/JPG-Consulting)

---

Top Contributors

[![shadowfax](https://avatars.githubusercontent.com/u/735316?v=4)](https://github.com/shadowfax "shadowfax (2 commits)")

### Embed Badge

![Health badge](/badges/basicinvoices-basicinvoices-modulemanager/health.svg)

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

###  Alternatives

[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

128192.3k3](/packages/dotswan-filament-map-picker)

PHPackages © 2026

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