Shift with red gradient lettering

Use Faker methods

PHP

Update your code to use Faker methods instead of accessing Faker properties, which was deprecated in Faker 1.14.

Before

$faker->name;
$faker->email;

After

$faker->name();
$faker->email();

← Back to the Workbench Tasks

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.