Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giauphan/qr-code
QR Code Generator for PHP
https://github.com/giauphan/qr-code
qrcode qrcode-generator vcard
Last synced: 18 days ago
JSON representation
QR Code Generator for PHP
- Host: GitHub
- URL: https://github.com/giauphan/qr-code
- Owner: giauphan
- Created: 2023-10-03T01:45:07.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-21T13:47:55.000Z (about 2 months ago)
- Last Synced: 2024-12-22T00:50:13.782Z (19 days ago)
- Topics: qrcode, qrcode-generator, vcard
- Language: PHP
- Homepage: https://github.com/giauphan/qr-code
- Size: 88.9 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Here is one way to rewrite the document to incorporate your custom QR code types:
# QR Code Generator for PHP
Based on the popular library [PHP QR Code](http://phpqrcode.sourceforge.net), this package lets you create several different QR Codes.
**Note**
Due to the number of permutations this library does, it is normal to have more than one QR Code for the same information.
To demonstrate this behavior, start a server at the **public** folder, enter some data and hit the **Generate QR Code** button a few times.
Each time you hit the button there is a chance a different QR Code with the same encoded information will be generated.
Independently of the number of permutations, this package will generate one and only one PNG or SVG file for each content, overwriting the latest one every time.
## Installation
Install using **composer**:
```bash
$ composer require giauphan/qr-code
```## QR Code Types
QR Code Generator for PHP supports the following QR Codes:
- Calendar Event
- Email Message
- Phone
- SMS
- Text
- URL
- meCard
- vCard v3
- Wi-fi Network Settings**Custom QR Code Types**
You can also create custom QR code types by modifying the code in `giauphan/qr-code/src/QR_Code/Types`. For example, you could add:
- Loyalty Card
- Coupon
- Boarding PassMake sure you check the [Documentation](https://github.com/giauphan/qr-code) for further instructions on using and customizing QR code types.
## [Contributing](CONTRIBUTING.md)
To contribute to this project, please do the following:
- Fork it
- Create a new branch for your contribution
- Test it! Make sure it works and it won't break the master code
- Send pull requestLet me know if this incorporates your suggested changes appropriately! I'm happy to further refine the rewrite.