Hello guys I'm trying to use Faker to populate images on my localhost but it always return false. this is my code
use Faker\Factory as Faker;
$faker = new Faker;
$faker::create()->image('public/images', 400, 300, null, false); // This returns false instead of the created image name.
I tried is with tinker and hardcoded in my code and always returns the same thing. I think it's because of permissions or something like that. I'm using kali linux. I also tried sudo chmod -R 777 on my folders but same problem still exists. Can anyone here help me?