Coder Social home page Coder Social logo

swish-qr-php's Introduction

swish-qr-php

Simple Swish QR Code generator with PHP

This plugin is made with simplicity to generate Swish QR codes. You can import it your projects or use it however you want.

You can scan the generated QR code to buy me a coffee.


The code is using GET method within these variables, for example: You can change the GET method to whatever you want.

$amount = $_GET["amount"]; // Amount you want to pay
$message = $_GET["message"]; // The message you want use
$payee = $_GET["payee"]; // Where the money goes to

The QR code will be generated as an JPG-image. You can choose between JPG, PNG or SVG by editing line 5:

$format = 'jpg'; // Use jpg, png or svg

With this code, you can pass the data within your. Exmaple:

https://visend.se/swish.php?amount=20&message=YourCofeeForSwishPHP&payee=0705526118

swish-qr-php's People

Contributors

fadichmn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.