Download the PHP package sylius/invoicing-plugin without Composer

On this page you can find all versions of the php package sylius/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

Sylius Logo.

Invoicing Plugin

This plugin creates an invoice related to the order.

SyliusInvoicingPlugin creates new immutable invoice when the order is in given state (default: created) and allows both customer and admin to download invoices related to the order. ![Screenshot showing invoice](docs/screenshot_invoice.png) ![Screenshot showing invoice browsing page in administration panel](docs/screenshot_admin.png) ## Business value The primary aim of Invoicing Plugin is to create a document representing Customer's will to buy particular products and pay for them. An Invoice can also be treated as a proof of placing an Order. Thus, it is downloadable as .pdf file and can be sent to Customer manually by the Administrator or automatically once an Order is paid. Additional feature of the plugin that fulfills Invoicing domain is the ability to set billing data on a Seller. ## Installation #### Beware! This installation instruction assumes that you're using Symfony Flex. If you don't, take a look at the [legacy installation instruction](docs/legacy_installation.md). However, we strongly encourage you to use Symfony Flex, it's much quicker! 1. Require plugin with composer: > Remember to allow community recipes with `composer config extra.symfony.allow-contrib true` or during plugin installation process 2. Apply migrations to your database: 3. Default configuration assumes enabled PDF file generation. If you don't want to use that feature change your app configuration: Otherwise, check if you have wkhtmltopdf binary. If not, you can download it [here](https://wkhtmltopdf.org/downloads.html). In case wkhtmltopdf is not located in `/usr/local/bin/wkhtmltopdf` modify the `WKHTMLTOPDF_PATH` environment variable in the `.env` file: 4. If you want to generate invoices for orders placed before plugin's installation run the following command using your terminal: ## Extension points Majority of actions contained in SyliusInvoicingPlugin is executed once an event after changing the state of the Order. Here is the example for `Winzou State Machine`: Code placed above is a part of configuration placed in `config.yml` file. You can customize this file by adding new state machine events listeners or editing existing ones. Here is the example for Symfony's `workflow`: Apart from that an Invoice model is treated as a Resource. You can read more about Resources here: . Hence, template for displaying the list of Invoices is defined in `routing.yml` file: Another aspect that can be both replaced and customized is displaying Invoices list on Order show view. Code responsible for displaying Invoices related to the Order is injected to existing Sylius template using Sonata events. You can read about customizing templates via events here: ### Invoices files By default, when the order is paid, an immutable Invoice pdf file is saved on the server. The save directory is specified with `%sylius_invoicing.invoice_save_path%` parameter, that can be overridden if needed. There is no direct relation between `Sylius\InvoicingPlugin\Entity\Invoice` entity and its file. It's resolved based on the `Invoice::$number`, which is defined in `Sylius\InvoicingPlugin\Provider\InvoiceFileProviderInterface` service. By overriding this service, you can change a logic that is used to retrieve the invoice file. ## Fixtures You can add `ShopBillingData` fixtures into a yaml to add Channel ShopBillingData info to your installation. More instructions on the [fixtures configuration instructions](docs/fixtures.md). ## Security issues If you think that you have found a security issue, please do not use the issue tracker and do not post it publicly. Instead, all security issues must be sent to `[email protected]`.

All versions of invoicing-plugin with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
knplabs/knp-snappy-bundle Version ^1.10
ramsey/uuid Version ^4.7
sylius/grid-bundle Version ^1.13
sylius/resource-bundle Version ^1.12
sylius/sylius Version ~2.0.0
sylius/twig-hooks Version ^0.5
symfony/clock Version ^6.4 || ^7.1
symfony/config Version ^6.4 || ^7.1
symfony/console Version ^6.4 || ^7.1
symfony/dependency-injection Version ^6.4 || ^7.1
symfony/form Version ^6.4 || ^7.1
symfony/framework-bundle Version ^6.4 || ^7.1
symfony/http-foundation Version ^6.4 || ^7.1
symfony/http-kernel Version ^6.4 || ^7.1
symfony/messenger Version ^6.4 || ^7.1
symfony/options-resolver Version ^6.4 || ^7.1
symfony/routing Version ^6.4 || ^7.1
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 sylius/invoicing-plugin contains the following files

Loading the files please wait ....