PHPackages                             hippone/algerian-invoice-code-generator - 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. hippone/algerian-invoice-code-generator

ActiveLibrary

hippone/algerian-invoice-code-generator
=======================================

v0.2.0(4y ago)741[1 issues](https://github.com/hippone-consulting/algerian-invoicing-code-generator/issues)MITPHPPHP ^7.4

Since Jul 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hippone-consulting/algerian-invoicing-code-generator)[ Packagist](https://packagist.org/packages/hippone/algerian-invoice-code-generator)[ RSS](/packages/hippone-algerian-invoice-code-generator/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Algerian invoice code generator
===============================

[](#algerian-invoice-code-generator)

The library is useful to generate code for invoices, quotes or any commercial transaction document.

Goal
----

[](#goal)

Is to provide helpful interface to generate the needed code.

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

[](#installation)

The recommended (and the best) way to install the library is by using composer:

```
composer require hippone/algerian-invoice-code-generator
```

Usage
-----

[](#usage)

The `Hippone\InvoiceCode\CodeGenerator` code is the main component of the library, it implements `Hippone\InvoiceCode\CodeGeneratorInterface`, this class has one dependency (for now) that implements `Hippone\InvoiceCode\Model\IdentifiableProvider` to be provided by the client, this dependency is the port to the persistence layer used by the client, an example of a simple implementation which uses PDO with SQLite would be:

```
