Download the PHP package fresh-advance/invoice without Composer

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

PDF Invoice module for OXID eShop

Development Latest Version PHP Version

Quality Gate Status Coverage Technical Debt

Features

Limitations

Branch compatibility

Note: Not all latest features are available in the older branches.

What to expect in next versions

Installation

Module is available on packagist and installable via composer

Development installation

To be able running the tests and other preconfigured quality tools, please install the module as a root package.

The next section shows how to install the module as a root package by using the Fresh Advance Development Base.

In case of different environment usage, please adjust by your own needs.

Development installation on Fresh Advance Development Base

The installation instructions below are shown for the current Fresh Advance Development Base for shop 7.0. Make sure your system meets the requirements of the Development Base.

  1. Ensure all docker containers are down to avoid port conflicts

  2. Clone the SDK for the new project

  3. Clone the repository to the source directory

  4. Run the recipe to setup the development environment

You should be able to access the shop with http://localhost.local and the admin panel with http://localhost.local/admin (credentials: [email protected] / admin)

Running the tests and quality tools

Check the "scripts" section in the composer.json file for the available commands. Those commands can be executed by connecting to the php container and running the command from there, example:

Commands can be also triggered directly on the container with docker compose, example:

Overwriting the template

For customizing the template, start from creating the template extension in your module views/twig/extensions/modules/fa_invoice/invoice/body.html.twig with example content:

Next, check the original template, and overwrite the blocks you need.

Troubles during overwrite?

If overwrite doesnt work: first, clear the cache; second, might be the issue with module loading order. If so, create the file var/configuration/shops/1/template_extension_chain.yaml with content:

More information you might need for the template

The order variable in the template is the Order model object, so you can access all its fields and methods.

Some examples you might need for achieving the desired result:

License

Please make sure you checked the License before using the module. License subscription can be bought on MB Arbatos Klubas website


All versions of invoice with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
oxid-esales/oxideshop-ce Version *
mpdf/mpdf Version ^8.1
symfony/filesystem Version *
kwn/number-to-words Version ^2.7
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 fresh-advance/invoice contains the following files

Loading the files please wait ....