Download the PHP package clearissylius/invoicing-plugin without Composer

On this page you can find all versions of the php package clearissylius/invoicing-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package invoicing-plugin

Clearis Sylius Invoicing Plugin

License Latest Stable Version Total Downloads Build

A full replacement for the official sylius/invoicing-plugin, designed for Sylius 2 shops that need to comply with Spanish fiscal regulations (RD 1619/2012, AEAT libro registro de facturas emitidas, modelo 303/390). It also works perfectly well for shops outside Spain that simply want a configurable, modern invoicing layer.

This plugin coexists with the official plugin during a transition window (see the migration command below) and ships a clean public event API so future VeriFactu / SII / TicketBAI integrations can hook in without forking the codebase.

What you get

Where to find each feature in the admin

Once the bundle is registered and the migrations are run, the admin gains these entry points (all in Spanish translation by default; English fallback shipped):

Where What you can do
Sidebar → Facturación → Facturas List, filter and view all issued invoices. Download the PDF. Open the "Emitir rectificativa" modal from the show page.
Sidebar → Facturación → Series CRUD over InvoiceSeries. One per channel + type (standard / rectifying). Configure format, padding, yearly reset, active flag.
Sidebar → Facturación → Plantillas PDF CRUD over InvoiceTemplate. Standard or rectifying. Per template: accent colour, shop logo, optional custom Twig template path.
Sidebar → Facturación → Configuración por canal Per-channel landing page. Each row shows config status (unconfigured / partial / complete) and a "Configurar" button.
Channel admin → Order show → "Facturas" block List of invoices already emitted for that order. Manual issuance button when no invoice exists yet (and the channel is not in legacy mode).
Invoice show → "Exportar libro registro" Top-right action that opens the date-range / channel form and streams the .xlsx directly.
Customer address forms (front + admin) Optional NIF/CIF/NIE field. Validated only if filled. Empty value passes silently.

Requirements

Installation

Register the bundle in config/bundles.php:

Run the Doctrine migrations:

Full installation walk-through (configuration file, services overrides, running the test application) in docs/installation.md.

Configuration

Minimal config/packages/clearis_sylius_invoicing.yaml:

All options (per-channel sender e-mail, fallback templates, admin URL prefix override) documented in docs/configuration.md.

Migrating from sylius/invoicing-plugin

The plugin is designed to coexist with the official one during a multi-day cutover window. You install both, set legacy_mode: true, run the importer in dry-run mode, validate, then flip the switch.

Full migration playbook with rollback strategy in docs/migration-from-official.md.

Public events

If you maintain or build a VeriFactu / SII / TicketBAI integration plugin, listen for these events emitted from ClearisSylius\InvoicingPlugin\Event:

All three carry the immutable Invoice snapshot, the original (for rectifications), and timestamps. They are dispatched through the standard Symfony EventDispatcherInterface, so wiring a listener is the usual #[AsEventListener] attribute.

Architecture overview

Rectifying invoices follow the same flow but driven by RectifyingInvoiceFactory and the rectifying series.

Support

Contributing

Pull requests welcome. Before submitting:

  1. The full quality suite must pass locally:

  2. New behaviour must come with tests (Unit at minimum; Behat preferred for admin workflows).
  3. PHPStan stays at level: max. If you genuinely cannot satisfy it, document why in the docblock and add a targeted ignoreErrors entry in phpstan.neon.

More in CONTRIBUTING.md.

License

MIT — © Clearis.

Author

Maintained by Clearis. For commercial support, custom integrations, or fiscal-compliance consulting on Sylius shops, e-mail [email protected].


All versions of invoicing-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
dompdf/dompdf Version ^3.0
phpoffice/phpspreadsheet Version ^3.0
sylius/sylius Version ^2.0
symfony/messenger Version ^6.4 || ^7.0
symfony/workflow Version ^6.4 || ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package clearissylius/invoicing-plugin contains the following files

Loading the files please wait ...