PHPackages                             spryker-demo/sales-invoice-file-feature - 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. spryker-demo/sales-invoice-file-feature

ActiveMetapackage

spryker-demo/sales-invoice-file-feature
=======================================

Sales invoice file \[feature\]

1.0.0(7mo ago)00proprietaryPHP &gt;=8.2CI passing

Since Sep 25Pushed 7mo agoCompare

[ Source](https://github.com/spryker-demo/sales-invoice-file-feature)[ Packagist](https://packagist.org/packages/spryker-demo/sales-invoice-file-feature)[ RSS](/packages/spryker-demo-sales-invoice-file-feature/feed)WikiDiscussions main Synced 1mo ago

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

SalesInvoiceFile Module
=======================

[](#salesinvoicefile-module)

[![Minimum PHP Version](https://camo.githubusercontent.com/ec21f169d70b69344c67d6f18fa1a24d20476d2f0cd680e8c4a1534c22f34e5f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e322d3838393242462e737667)](https://php.net/)

This feature handle generating pdf file foreach invoice and upload it to S3.

### Install the required modules using Composer

[](#install-the-required-modules-using-composer)

```
composer require spryker-demo/sales-invoice-file-feature

```

### Add `SprykerDemo` namespace to configuration

[](#add-sprykerdemo-namespace-to-configuration)

```
$config[KernelConstants::CORE_NAMESPACES] = [
    'SprykerDemo',
    ...
];

```

### Add translations

[](#add-translations)

```
# data/import/common/common/glossary.csv

customer.order.invoice_number,Invoice Nr.,en_US
customer.order.invoice_number,Rechnungsnummer,de_DE
customer.order.invoices,Invoices,en_US
customer.order.invoices,Rechnungen,de_DE
customer.order.no_invoices,No Invoices,en_US
customer.order.no_invoices,Keine Rechnungen,de_DE

```

### Import translations

[](#import-translations)

```
console data:import:glossary

```

### Adjust configuration

[](#adjust-configuration)

In case you wish to use S3

#### config/Shared/config\_default.php

[](#configsharedconfig_defaultphp)

```
// >>> FILESYSTEM
$config[FileSystemConstants::FILESYSTEM_SERVICE] = [
...
'invoice' => [
        'sprykerAdapterClass' => Aws3v3FilesystemBuilderPlugin::class,
        'root' => '',
        'path' => 'path_to_invoice_directory',
        'key' => getenv('AWS_S3_KEY') ?? '',
        'secret' => getenv('AWS_S3_SECRET') ?? '',
        'bucket' => 'bucket_name',
        'version' => 'version',
        'region' => 'region_name',
    ],
];
```

### Add crontab job to generate invoices pdf

[](#add-crontab-job-to-generate-invoices-pdf)

#### config/Zed/cronjobs/jenkins.php

[](#configzedcronjobsjenkinsphp)

```
$jobs[] = [
    'name' => 'sales-invoice-file-generate-pdf',
    'command' => '$PHP_BIN vendor/bin/console sales-invoice-file:generate-pdf',
    'schedule' => '* * * * *',
    'enable' => true,
    'stores' => $allStores,
];
```

### Activate plugins:

[](#activate-plugins)

#### src/Pyz/Zed/Sales/SalesDependencyProvider.php

[](#srcpyzzedsalessalesdependencyproviderphp)

```
use SprykerDemo\Zed\MerchantRegistration\Communication\Plugin\Mail\MerchantRegistrationMailTypePlugin;

class MailDependencyProvider extends SprykerMailDependencyProvider
{
    /**
     * @return array
     */
    protected function getOrderHydrationPlugins(): array
    {
        return [
            new SalesInvoiceFileOrderExpanderPlugin(),
          ];
    }
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance63

Regular maintenance activity

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6756c39a921146991fee6b4090f4130af143ee3aa7a776b688365c5f3d5b511?d=identicon)[spryker\_solution\_consulting\_demos](/maintainers/spryker_solution_consulting_demos)

---

Top Contributors

[![Mohammed-Abdalllah](https://avatars.githubusercontent.com/u/89138481?v=4)](https://github.com/Mohammed-Abdalllah "Mohammed-Abdalllah (4 commits)")[![asaulenko](https://avatars.githubusercontent.com/u/20285714?v=4)](https://github.com/asaulenko "asaulenko (1 commits)")

### Embed Badge

![Health badge](/badges/spryker-demo-sales-invoice-file-feature/health.svg)

```
[![Health](https://phpackages.com/badges/spryker-demo-sales-invoice-file-feature/health.svg)](https://phpackages.com/packages/spryker-demo-sales-invoice-file-feature)
```

PHPackages © 2026

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