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

Package fzaninotto/faker is abandoned #76

Closed
eAvio opened this issue Jan 1, 2021 · 3 comments
Closed

Package fzaninotto/faker is abandoned #76

eAvio opened this issue Jan 1, 2021 · 3 comments
Labels

Comments

@eAvio
Copy link

eAvio commented Jan 1, 2021

Description

When installing with composer 2 you get warning:

Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.

Maybe the solution would be to switch to: https://github.com/fakerphp/faker

as mentioned in https://laravel-news.com/changes-coming-to-php-faker

Environment details

  • version 1.1.1.
  • PHP version: 7.4
  • Mac OS
  • Composer 2
@eAvio eAvio added the bug label Jan 1, 2021
@ramsey
Copy link
Owner

ramsey commented Jan 4, 2021

Thanks for reporting this!

@DmitryTulchinsky
Copy link

DmitryTulchinsky commented Jan 16, 2021

I've solved the issue just using fakerphp/faker package instead (https://github.com/fakerphp/faker)

  1. Remove the old faker package fzaninotto/faker
    1.1. > composer remove vendor/fzaninotto/faker
    1.2. Removed 'fzaninotto/faker' from composer.json

  2. Installed the new faker package
    > composer require fakerphp/faker

And all the code with the faker I've used before works fine with the newly installed package!!

@ramsey
Copy link
Owner

ramsey commented Jan 21, 2021

I just realized this was fixed in #71, and I haven't tagged a release for it yet. Release 1.1.2 is coming shortly.

@ramsey ramsey closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants