PHPackages                             quantic-telecom/invoices-storage - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. quantic-telecom/invoices-storage

AbandonedArchivedLibrary[File &amp; Storage](/categories/file-storage)

quantic-telecom/invoices-storage
================================

Easy way to manage the storage of your invoices

2.0.0(10y ago)027GPL-3.0PHPPHP &gt;=5.6.0

Since Aug 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/QuanticTelecom/invoices-storage)[ Packagist](https://packagist.org/packages/quantic-telecom/invoices-storage)[ RSS](/packages/quantic-telecom-invoices-storage/feed)WikiDiscussions develop Synced 1mo ago

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

Quantic Telecom Invoices Storage
================================

[](#quantic-telecom-invoices-storage)

[![Build Status](https://camo.githubusercontent.com/663baf5e9fedfd8b9693e0a8deab9a31d2152788a87b00b9581cf1bbdb42201b/68747470733a2f2f7472617669732d63692e6f72672f5175616e74696354656c65636f6d2f696e766f696365732d73746f726167652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/QuanticTelecom/invoices-storage)

This package gives you an easy way to store your invoices.

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

[](#installation)

Per usual, install Invoices Storage through Composer.

```
"require": {
    "quantic-telecom/invoices-storage": "~1.0"
}
```

Contracts
---------

[](#contracts)

### Repositories

[](#repositories)

The `InvoiceRepositoryInterface` provides methods' signatures to get (`get` and `getAll`) and save (`save`) invoices.

### Factories

[](#factories)

This package requires a lot of factories in order to create the invoices from the data stored in the database.

- `CustomerFactoryInterface`
- `PaymentFactoryInterface`
- `ItemFactoryInterface`
- `GroupOfItemsFactoryInterface`
- `InvoiceFactoryInterface`

All these factories have a `build` and an `inverseResolution` methods.

#### Inverse Resolution

[](#inverse-resolution)

Inverse resolution works like DNS. The repository need to know which concrete class he have to instanciate. The `inverseResolution` method must return a string (a domain name for classes) that will be stored with the object data. When the repository will need to get this object, he will pass to the `build` method that string and the data. Then, the factory will need to know how to build the requested object and return it.

Implementations
---------------

[](#implementations)

### Repositories

[](#repositories-1)

This package provides a MongoDB implementation for the `InvoiceRepositoryInterface` named `InvoiceMongoRepository`. This repository don't use any ORM and build MongoDB queries by his own.

### Factories

[](#factories-1)

Each factory implementation build and resolve one or many concrete classes.

There is no implementation for `CustomerFactoryInterface` and `PaymentFactoryInterface` because `quantic-telecom/invoices` doesn't provide any concrete class for `CustomerInterface` and `PaymentInterface`. The client need to implement these factories because there are required by the `InvoiceFactory`.

#### `InvoiceFactory`

[](#invoicefactory)

Concrete classDomain name for class`QuanticTelecom\Invoices\ExcludingTaxInvoice`includingTaxInvoice`QuanticTelecom\Invoices\IncludingTaxInvoice`excludingTaxInvoice#### `ItemFactory`

[](#itemfactory)

Concrete classDomain name for class`QuanticTelecom\Invoices\Item`item#### `GroupOfItemsFactory`

[](#groupofitemsfactory)

Concrete classDomain name for class`QuanticTelecom\Invoices\GroupOfItems`groupOfItems

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~153 days

Total

2

Last Release

3765d ago

Major Versions

1.0.0 → 2.0.02016-01-26

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

2.0.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/33fbc4ff5dd82c3e47432ebe8022eeda6bd167d466a7d9a9638c65e7d92baf81?d=identicon)[ThibaudDauce](/maintainers/ThibaudDauce)

---

Top Contributors

[![ThibaudDauce](https://avatars.githubusercontent.com/u/1770543?v=4)](https://github.com/ThibaudDauce "ThibaudDauce (65 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/quantic-telecom-invoices-storage/health.svg)

```
[![Health](https://phpackages.com/badges/quantic-telecom-invoices-storage/health.svg)](https://phpackages.com/packages/quantic-telecom-invoices-storage)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

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