Download the PHP package tweemeterstudio/payment-icons without Composer

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

payment-icons

Payment Provider Icons with almost kinda font-awesome-style markup. Demo: https://jaspervandermeer.com/payment-icons/

Demo

TODO
~Make it responsive~
~Make icons stack or display inline(-block)~
Optimize the SVG
Add multiple icon sizes with an extra css class

Description

This provides an easy way to include payment provider icons in your website or app. It's always a hassle to get a list of supported payment providers so we usually resort to Google Images to steal somebody else's work - And I know you did that, just like I did.

Since stealing is wrong, I decided to stop stealing icons from Google Images and instead steal utilize somebody's creative work from Behance which in turn consists of artwork stolen from companies providing payment services with expensive lawyers and all that. So please, read the disclaimer below. It's all for a good cause: Getting more people to use your payment services.

Installation

Easy mode: Composer:

Install through composer: composer require tweemeterstudio/payment-icons

Check if this line exists in your composer.json file:

Also quite easy mode: Manual download:

Download the zip of this repo, extract its folder to your project.

Integration in your project

Include the following line in the <head> of your document:

You need to mind the /path/to/ part when including the payment-icons.min.css file. The css file and /assets folder should reside in the same directory!

Usage

To use the payment icons you can simply include

to your page, where the classes of the <i> as children of the <ins> decide which payment provider icons are shown. The full list of available payment providers are mentioned below.

List of available payment providers and its corresponding CSS class

Payment Provider CSS Class
PayPal paypal
Apple Pay apple-pay
Google Pay google-pay
Alipay alipay
Mastercard mastercard
Visa visa
American Express american-express
Diner's Club diners-club
Maestro maestro
VPay vpay
Girocard girocard
Klarna klarna
Giropay giropay
iDeal ideal
Przelewy24 przelewy24
Bitcoin bitcoin
Etherereum ethereum
Ripple ripple

Disclaimer

All logos, designs, brands and names are © to their respective owners. Original icon design by Spektrum 44 on Behance.

Thank you 💙


All versions of payment-icons with dependencies

PHP Build Version
Package Version
No informations.
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 tweemeterstudio/payment-icons contains the following files

Loading the files please wait ....