Download the PHP package swiss-payment-slip/swiss-payment-slip-tcpdf without Composer

On this page you can find all versions of the php package swiss-payment-slip/swiss-payment-slip-tcpdf. 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 swiss-payment-slip-tcpdf

SwissPaymentSlipTcpdf - Swiss Payment Slips with TCPDF

Travis Build Status Scrutinizer CI Build Status Scrutinizer CI Code Coverage Scrutinizer CI Code Quality Total Downloads Latest Stable Version

Do you need to create Swiss payment slips (called ESR) as PDF files in a project of yours? Then you found the right place, read on...

By the way if you don't like TCPDF or don't want to use it for whatever reason, checkout SwissPaymentSlipFpdf.

How to use

Just install the the package (see Installation) and check out the contained examples in the examples folder.

How to extend for custom needs

[TODO] If you need help, ask for help.

Installation

Requirements

Composer

Just install composer on your system, if not already there. Then create a composer.json file in your project's root folder and copy the following into it:

After that you can install the package using

$ php composer.phar install

in your project's root folder.

Background Story

In february 2013 I was looking for a solution to create swiss payment slips for a project I had to do at my work place. After a short Google search I came across Manuel Reinhard's blog post about the class he made for that. On his Github project's page I found Peter Siska's pull request. His pull request introduced PSR-0 compatibility and he created a composer package on Packagist. So I tried Peter's version and it suited my basic needs.

BUT since the customer I was working for used custom designed payment slips I couldn't use Manuel's/Peter's script since it wasn't flexible enough. Now I had to decide whether I want to "just" change the script to fit my needs or to rewrite it and make it as flexible as possible. I decided myself for the latter.

TODOs

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub.

Author

This project was created by Marc Würth. See Background Story for more details.

License

SwissPaymentSlipTcpdf is licensed under the MIT License. See the LICENSE file for details.


All versions of swiss-payment-slip-tcpdf with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
tecnickcom/tcpdf Version ^6.2.0
swiss-payment-slip/swiss-payment-slip-pdf Version ^0.15.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 swiss-payment-slip/swiss-payment-slip-tcpdf contains the following files

Loading the files please wait ....