News

Changes coming to PHP Faker

Published
Changes coming to PHP Faker image

The PHP Faker library is one of those tools that is hugely helpful when developing locally so you can see dummy data, and it covers everything from fake names, to addresses, lorem impsum, and so much more. Today, François Zaninotto the creator of the library announced that after nine years he is sunsetting the library.

In his post, he outlines some of the reasons why he has made this decision including climate change (according to packagist, Faker has been downloaded 121M times. 121M x 3.3 MB = way too many Bytes.) due to the size of it and how it would be better if all the locales were separate, how time-consuming the management of the package is, and how people want to submit copyrighted content in PR’s.

What François has decided to do is leave the package up but put call it complete. Basically, no more development will happen on the fzaninotto/Faker repo, and he is recommending people fork it to take it over.

Since this library is used by so many in the Laravel community, Taylor tweeted that they will ensure Faker continues with a core team of maintainers, and the fork is available at fakerphp/faker. Some of the first steps will be making it PHP 8 compatible so that it works with future versions of PHP.

Until you update your PHP version, you will not need to replace the package with this new one, and in the future, Laravel will more than likely ship with it, so you may not have to make any changes.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article
Mailbox for Laravel: Preview and Test Rendered Email image

Mailbox for Laravel: Preview and Test Rendered Email

Read article
Count Worker Crashes as Job Exceptions in Laravel 13.34 image

Count Worker Crashes as Job Exceptions in Laravel 13.34

Read article