Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qrcode is abandoned #91

Open
Clarck1 opened this issue Feb 18, 2020 · 5 comments
Open

qrcode is abandoned #91

Clarck1 opened this issue Feb 18, 2020 · 5 comments

Comments

@Clarck1
Copy link

Clarck1 commented Feb 18, 2020

Olá, toda vez que dou o comando composer update retorna a mensagem:

Package endroid/qrcode is abandoned, you should avoid using it. Use endroid/qr-code instead.

Estou usando PHP 7.3
Atualizo dentro da mesma pasta desde a versão 5.86 do speed-nfe.

@robmachado
Copy link
Contributor

Clarck;
Procure usar o pacote sped-pos pois esse aqui "posprint" provavelmente ficara sem atualizações. O outro está muito mais simples e acredito que atende muito bem a maioria dos casos de uso.

@Clarck1
Copy link
Author

Clarck1 commented Feb 19, 2020

Clarck;
Procure usar o pacote sped-pos pois esse aqui "posprint" provavelmente ficara sem atualizações. O outro está muito mais simples e acredito que atende muito bem a maioria dos casos de uso.

muito obrigado.

@Clarck1
Copy link
Author

Clarck1 commented Feb 19, 2020

Só mais uma pergunta...

segui teu conselho e adicionei no meu composer as linhas necessárias:

{
    "require": {
		"nfephp-org/sped-nfe":"^5.0",
		"nfephp-org/sped-da":"^0.1",
		"nfephp-org/sped-ibpt":"^1.0",
		"mike42/escpos-php": "^2.0",
		"nfephp-org/sped-pos":"dev-master",
		"nfephp-org/sped-cte":"^4.0",
		"nfephp-org/sped-esocial" : "dev-master"
    }
}

daí dei um update:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 8 removals
  - Removing symfony/property-access (v2.8.52)
  - Removing symfony/polyfill-ctype (v1.14.0)
  - Removing symfony/options-resolver (v2.8.52)
  - Removing nfephp-org/posprint (v0.1.3)
  - Removing myclabs/php-enum (1.7.6)
  - Removing khanamiryan/qrcode-detector-decoder (1)
  - Removing endroid/qrcode (2.5.1)
  - Removing bacon/bacon-qr-code (1.0.3)
  - Installing mike42/escpos-php (v2.2): Downloading (100%)         
  - Installing nfephp-org/sped-pos (dev-master 514b7bc): Cloning 514b7bc151 from cache
mike42/escpos-php suggests installing guzzlehttp/guzzle (Allows the use of the ApiConnector to send print jobs over HTTP.)
mike42/escpos-php suggests installing ext-imagick (Will be used for image printing if present. Required for PDF printing or use of custom fonts.)
Writing lock file
Generating autoload files

devo seguir as 2 sugestões do mike42?

@robmachado
Copy link
Contributor

robmachado commented Feb 19, 2020 via email

@Clarck1
Copy link
Author

Clarck1 commented Feb 19, 2020

Não ... Isso não deve ser necessário O pacote guzzlehttp/guzzle *pode ser *usado com o conector http da biblioteca e o pacote ext-imagick pode ser usado para tratar imagens caso esteja presente mas o ext-gd deve ser suficiente na maioria dos casos. Roberto

muito obrigado.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants