Package Data | |
---|---|
Maintainer Username: | nathanmac |
Maintainer Contact: | hola@nathanmac.com (Nathan Macnamara) |
Package Create Date: | 2015-10-09 |
Package Last Update: | 2016-01-13 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:16:16 |
Package Statistics | |
---|---|
Total Downloads: | 2,611 |
Monthly Downloads: | 8 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Laravel package to providing a simple QR Code generator route
Begin by installing this package through Composer. Edit your project's composer.json
file to require nathanmac/qr-code
.
"require": {
"Nathanmac/qr-code": "1.*"
}
Next, update Composer from the Terminal:
composer update
If you are a Laravel user, then there is a service provider that you can make use of to automatically prepare the bindings and such.
Include the service provider within app/config/app.php
.
'providers' => [
'...',
'Nathanmac\Utilities\QRCode\QRCodeServiceProvider'
];
/qr-code/{size?}/{color?}/{background?}?text=Text+Contents
/qrcode/100/ffff00/ff0000/?text=Hello+World
/qrcode/100/03a/?text=Hello+World
To test the library itself, run the tests:
composer test
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.