Comments (4)
Hi @davidromani thank you for your question. In later versions of 1.x and throughout 2.x the bundle can be found inside the endroid/qr-code library. So you can install that library and register the bundle found there in your kernel. Please let me know if both are incompatible with your project. If your project is really too old maybe we can make a change on the 1.x or 2.x branch to make it work.
FYI: the old endroid/qrcode-bundle was abandoned a year ago and removed half a year ago. The bundle was re-introduced in 3.x mainly to take advantage of Symfony Flex. In the meanwhile I also created a code sanctuary to handle such cases in the future and make sure old tags are not lost when cleaning up my account.
from qr-code-bundle.
Thx @endroid but still not working, now I have a new problem. Check my steps:
- I've replaced
"endroid/qrcode-bundle": "^1.0"
by"endroid/qr-code": "^1.0"
in composer.json - I've executed a composer update with this result:
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 2 updates, 1 removal
- Removing endroid/qrcode (1.9.3)
- Installing endroid/qr-code (1.9.3): Downloading (100%)
Writing lock file
- I've replaced
Endroid\Bundle\QrCodeBundle\EndroidQrCodeBundle()
byEndroid\QrCode\Bundle\EndroidQrCodeBundle()
in AppKernel.php
And now I'm getting this error 500 The parameter "endroid_qrcode.extension" must be defined
. My configuration doesn't change, is the same, and it looks like this:
# app/config/config.yml
endroid_qr_code:
size: "%qr_code_size%"
padding: "%qr_code_padding%"
extension: "%qr_code_extension%"
error_correction_level: "%qr_code_error_correction_level%"
foreground_color: "%qr_code_foreground%"
background_color: "%qr_code_background%"
from qr-code-bundle.
Hi @davidromani could you give some more debug information, for instance the file / line / backtrace of where the error occurs? I've looked in the bundle in the 1.9.3 release but I could not find a endroid_qrcode.extension parameter or requirement, so it looks like something in your configuration but I can not reproduce your error, so I'm not sure.
from qr-code-bundle.
Solved.
It was an error in my code, sorry.
from qr-code-bundle.
Related Issues (20)
- Add qr-code to existing FPDF HOT 3
- Add a configuration setting to not load/create `config/routes/endroid_qr_code.yaml` HOT 4
- Suggestion: Inform users to enable GD in PHP. HOT 1
- Drop support for PHP 7.3? HOT 1
- Changeable content HOT 3
- Required parameter $referenceType follows optional parameter $options in QrCodeRuntime.php on line 40 HOT 2
- Is there going to be a support for Symfony 6? HOT 4
- PHP 8.1 deprecation notice in Twig/QrCodeExtension.php HOT 1
- Issue when upgrading to 4.0 HOT 11
- Symfony 6 (Class Not Found Exception): Attempted to load class "Builder" from namespace "Endroid\QrCode\Builder" HOT 1
- Do not regenerate `endroid_qr_code.yaml` HOT 3
- Feature: add logo, colors in twig call HOT 3
- Suggestion: Support configuration with Symfony Config Builder HOT 2
- [Feature Request] Allow options to be passed via URL HOT 2
- Version 5.0.1 not installable with symfony 6.3 HOT 3
- question about recipes v installer HOT 1
- SVG: Customize QR code layout HOT 1
- Integrate Support for Symfony 7.0 HOT 1
- Composer download fail. HOT 5
- [DOC] Write a UPGRADE.md guide from 3.x to 5.x version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qr-code-bundle.