I'm currently working at Ezeto - A rental service in Sweden.
Formerly co-founder & Tech Lead/Architect at Heap Carsharing - A peer-to-peer carsharing startup in Sweden ๐
I am sometimes available for freelance work.
Faker provider for fake car data
License: MIT License
I'm currently working at Ezeto - A rental service in Sweden.
Formerly co-founder & Tech Lead/Architect at Heap Carsharing - A peer-to-peer carsharing startup in Sweden ๐
I am sometimes available for freelance work.
As fzaninotto/Faker is archived this should move to the FakerPHP fork: https://github.com/FakerPHP/Faker
The Faker announcement: https://marmelab.com/blog/2020/10/21/sunsetting-faker.html
Fakecar.php
and FakeCar.php
both exist now in the repository. This seems like a bug.
In the README
, the given example is this:
$faker->addProvider(new pelmered\Faker\FakeCar\Provider($faker));
But the namespace is wrong. It should be:
$faker->addProvider(new \Faker\Provider\Fakecar($faker));
Using PHPdoc I could add /** @var Generator&Fakecar */
on my faker generator instance.
If you add the proper PHPdocs on the class, like in the actual faker generator, we could utilise autocomplete. Thanks!
$faker = \Faker\Factory::create();
$faker->addProvider(new \Faker\Provider\Fakecar($faker));
die($faker->vehicleGearBoxType);
Returns either 30
or 70
when I've been using it.
Should it not return automatic
or manual
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.