PHPJasper / phpjasper

A PHP report generator
MIT License
463 stars 162 forks source link

Zxing Lib #299

Closed lucashorn closed 2 years ago

lucashorn commented 2 years ago

what is the possibility of adding zxing for QRcode support? The lib added in bin/jasperstarter/jdbc/

I use phpjasper but for the current project I need to generate qrcode, needing this lib in the project.

Xint0-elab commented 2 years ago

Hi @lucashorn,

I have pull request #311 pending which upgrades JasperStarter to version 3.6.2 which now includes the zxing library.

You can try it out using my fork https://github.com/Xint0-elab/phpjasper.git in your composer.json with the branch dev-Upgrade_to_JasperStarter_3.6.2:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/Xint0-elab/phpjasper.git"
    }
  ],
  "require": {
    "geekcom/phpjasper": "dev-Upgrade_to_JasperStarter_3.6.2"
  }
}
lucashorn commented 2 years ago

Hi @lucashorn,

I have pull request #311 pending which upgrades JasperStarter to version 3.6.2 which now includes the zxing library.

You can try it out using my fork https://github.com/Xint0-elab/phpjasper.git in your composer.json with the branch dev-Upgrade_to_JasperStarter_3.6.2:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/Xint0-elab/phpjasper.git"
    }
  ],
  "require": {
    "geekcom/phpjasper": "dev-Upgrade_to_JasperStarter_3.6.2"
  }
}

Thanks man, this solved my problems. Including the new ones for "attribute 'textAdjust'" that appeared to me due to version incompatibility