{"id":32164987,"url":"https://github.com/gesjeremie/faker-elixir","last_synced_at":"2025-10-21T14:57:11.169Z","repository":{"id":60775479,"uuid":"65756164","full_name":"GesJeremie/faker-elixir","owner":"GesJeremie","description":"[unmaintained] FakerElixir generates fake data for you. ","archived":false,"fork":false,"pushed_at":"2022-05-22T09:17:14.000Z","size":229,"stargazers_count":148,"open_issues_count":0,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-21T14:57:06.900Z","etag":null,"topics":["database","dummy","dummy-data","elixir","elixir-lang","factory","phoenix","seeding","testing"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/faker_elixir_octopus/FakerElixir.html","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GesJeremie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-15T18:44:14.000Z","updated_at":"2024-10-02T08:40:12.000Z","dependencies_parsed_at":"2022-10-04T17:02:11.641Z","dependency_job_id":null,"html_url":"https://github.com/GesJeremie/faker-elixir","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/GesJeremie/faker-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GesJeremie%2Ffaker-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GesJeremie%2Ffaker-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GesJeremie%2Ffaker-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GesJeremie%2Ffaker-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GesJeremie","download_url":"https://codeload.github.com/GesJeremie/faker-elixir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GesJeremie%2Ffaker-elixir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280281400,"owners_count":26303709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","dummy","dummy-data","elixir","elixir-lang","factory","phoenix","seeding","testing"],"created_at":"2025-10-21T14:57:09.930Z","updated_at":"2025-10-21T14:57:11.162Z","avatar_url":"https://github.com/GesJeremie.png","language":"Elixir","readme":"---\n\n⚠️ This project is unmaintained, you are better off using a well-maintained / battle-tested library such as [Faker](https://github.com/igas/faker).\n\n---\n\n# :octopus: FakerElixir\n\n[![Inline docs](http://inch-ci.org/github/GesJeremie/faker-elixir.svg?branch=master\u0026style=flat-square)](http://inch-ci.org/github/GesJeremie/faker-elixir)\n[![Hex.pm](https://img.shields.io/hexpm/v/faker_elixir_octopus.svg?style=flat-square)]()\n![Downloads](https://img.shields.io/hexpm/dt/faker_elixir_octopus.svg?style=flat-square)\n[![Travis](https://img.shields.io/travis/GesJeremie/faker-elixir.svg?style=flat-square)]()\n\nFakerElixir is an Elixir package that **generates fake data** for you. Whether you need to **seed** your database, create **factories** for your project, FakerElixir is here for you :punch:.\n\nIf you like this library ... you could star it :star2:\n\n\n## Installation\n\nCan't wait to generate some fake data ? Follow the steps:\n\n  1. Add `faker_elixir_octopus` to your list of dependencies in `mix.exs`:\n  \n```elixir\ndef deps do\n  [{:faker_elixir_octopus, \"~\u003e 1.0.0\",  only: [:dev, :test]}]\nend\n```\n\n  2. Ensure `faker_elixir_octopus` is started before your application:\n\n```elixir\ndef application do\n  [applications: [:faker_elixir_octopus]]\nend\n```\n\n  **Note:** This step can be skipped if you are using Elixir 1.4+ (see [CHANGELOG#application-inference](https://github.com/elixir-lang/elixir/blob/v1.4/CHANGELOG.md#application-inference)).\n\n  3. Run in the root of your project:\n\n```\n$ mix deps.get\n```\n\n  4. Faker Elixir is now a part of your application and ready to use!\n\n## Usage\n\nSince I'm quite sure you are using Phoenix, I will show you a basic example:\n\n```elixir\ndefmodule Zombie.AwesomeController do\n  use Zombie.Web, :controller\n\n  def index(conn, _params) do\n    text conn, FakerElixir.Helper.pick([\"zombie\", \"human\"])\n  end\nend\n```\n\nNow if you keep refreshing your browser, the value should change. Awesome, you just understood how to use Faker :clap:.\n\n#### :speech_balloon: \"Sounds cool, but what about that ```FakerElixir``` namespace, it's quite boring to write that everytime :confused:\"\n\nYou are right, you could use ```alias``` of elixir:\n\n```elixir\ndefmodule Zombie.AwesomeController do\n  use Zombie.Web, :controller\n\n  alias FakerElixir, as: Faker\n\n  def index(conn, _params) do\n    text conn, Faker.Helper.pick([\"zombie\", \"human\"])\n  end\nend\n```\n\n#### :speech_balloon: \"I followed the steps to install the package, but it doesn't work :angry: !!\"\n\nI guess you have an error similar to  ```something .... Store.has?() ..... something```. Well you just forgot to add ```:faker_elixir_octopus```:\n\n```elixir\n# mix.exs file\n\n  def application do\n    [mod: {Test, []},\n     applications: [:phoenix, :phoenix_html, :cowboy, :logger, :gettext,\n                    :phoenix_ecto, :postgrex, :faker_elixir_octopus]] # \u003c---- here\n  end\n\n```\n\n## Cheatsheet\n\nEach functions of FakerElixir are well documented here: [documentation](https://hexdocs.pm/faker_elixir_octopus/FakerElixir.html).\n\nBut I know you, you will forget the syntax to generate a city and so on ... Don't waste your time in the documentation, just use this simple cheatsheet:\n\n- [Faker.Address](#fakerelixiraddress)\n- [Faker.App](#fakerelixirapp)\n- [Faker.Avatar](#fakerelixiravatar)\n- [Faker.Bank](#fakerelixirbank)\n- [Faker.Boolean](#fakerelixirboolean)\n- [Faker.Color](#fakerelixircolor)\n- [Faker.Commerce](#fakerelixircommerce)\n- [Faker.Crypto](#fakerelixircrypto)\n- [Faker.Currency](#fakerelixircurrency)\n- [Faker.Date](#fakerelixirdate)\n- [Faker.File](#fakerelixirfile)\n- [Faker.Helper](#fakerelixirhelper)\n- [Faker.Internet](#fakerelixirinternet)\n- [Faker.Lorem](#fakerelixirlorem)\n- [Faker.Name](#fakerelixirname)\n- [Faker.Number](#fakerelixirnumber)\n- [Faker.Phone](#fakerelixirphone)\n\n### FakerElixir.Address\n---\n```elixir\nFakerElixir.Address.building_number # \"542\"\nFakerElixir.Address.city # \"Portland\"\nFakerElixir.Address.country # \"Iceland\"\nFakerElixir.Address.country_code # \"NY\"\nFakerElixir.Address.latitude # -71.67369045432866\nFakerElixir.Address.longitude # -114.67722189422487\nFakerElixir.Address.make_country # %{code: \"MY\", name: \"Malaysia\"}\nFakerElixir.Address.secondary_address # \"Apt. 752\"\nFakerElixir.Address.state # \"New Jersey\"\nFakerElixir.Address.state_code # \"TX\"\nFakerElixir.Address.street_address # \"786 Willow Parkways\"\nFakerElixir.Address.street_name # \"McLaughlin Mills\"\nFakerElixir.Address.street_suffix # \"Lodge\"\nFakerElixir.Address.time_zone # \"Europe/Sarajevo\"\nFakerElixir.Address.zip_code # \"59146-7626\"\n```\n\n### FakerElixir.App\n---\n```elixir\nFakerElixir.App.author # \"Antonio Konopelski\"\nFakerElixir.App.name # \"Chocolada\"\nFakerElixir.App.version # \"8.1.7\"\n```\n\n### FakerElixir.Avatar\n---\n```elixir\nFakerElixir.Avatar.robohash # \"https://robohash.org/fceuxke.png?size=300x300\"\nFakerElixir.Avatar.robohash(\"zombies-must-die\") # \"https://robohash.org/zombies-must-die.png?size=300x300\"\nFakerElixir.Avatar.robohash(\"zombies-forever\", \"400x400\") # \"https://robohash.org/zombies-forever.png?size=400x400\"\nFakerElixir.Avatar.robohash(\"i-love-a-zombie\", \"300x300\", \"jpg\") # \"https://robohash.org/i-love-a-zombie.jpg?size=300x300\"\nFakerElixir.Avatar.robohash(\"boring-slug\", \"230x230\", \"bmp\", \"set1\") # \"https://robohash.org/boring-slug.bmp?size=230x230\u0026set=set1\"\nFakerElixir.Avatar.robohash(\"ahahahaha\", \"198x198\", \"jpg\", \"set2\", \"bg2\") # \"https://robohash.org/ahahahaha.jpg?size=198x198\u0026set=set2\u0026bgset=bg2\"\n```\n\n### FakerElixir.Bank\n---\n```elixir\nFakerElixir.Bank.credit_card_cvv # 914\n\n# Context: 22 august 2016\nFakerElixir.Bank.credit_card_expiration_date # \"08/2017\"\nFakerElixir.Bank.credit_card_expiration_date(:valid) # \"06/2023\"\nFakerElixir.Bank.credit_card_expiration_date(:invalid) # \"12/2011\"\n\nFakerElixir.Bank.credit_card_number # \"34521702751096\"\nFakerElixir.Bank.credit_card_type # \"MasterCard\"\n\nFakerElixir.Bank.make_credit_card # %{cvv: \"188\", expiration_date: \"12/2006\", name: \"LLEWELLYN WEBER\", number: \"601141761193874\", type: \"Discover Card\"}\n\nFakerElixir.Bank.name # \"Goldman Sachs Group\"\n```\n\n### FakerElixir.Boolean\n---\n```elixir\nFakerElixir.Boolean.boolean # true\n\n# Return a boolean with a ratio chance to be true\n# 1 = always true / 0 = always false / 0.1 = 10% chance to be true\nFakerElixir.Boolean.boolean(1) # true\nFakerElixir.Boolean.boolean(0) # false\nFakerElixir.Boolean.boolean(0.1) # false\n```\n\n### FakerElixir.Color\n---\n```elixir\nFakerElixir.Color.hex # \"#1671B0\"\n\nFakerElixir.Color.hsl # \"hsl(130, 40%, 41%)\"\nFakerElixir.Color.make_hsl # [236, \"13%\", \"77%\"]\n\nFakerElixir.Color.rgb # \"rgb(152, 228, 47)\"\nFakerElixir.Color.make_rgb # [65, 137, 5]\n\nFakerElixir.Color.name # \"white\"\n```\n\n### FakerElixir.Commerce\n---\n```elixir\nFakerElixir.Commerce.coupon # \"AmazingDeal35\"\nFakerElixir.Commerce.coupon(5) # \"AmazingDeal20250\"\n\nFakerElixir.Commerce.product # \"Sleek Frozen Table\"\nFakerElixir.Commerce.sku # \"4OY026FR\"\n```\n\n### FakerElixir.Crypto\n---\n```elixir\nFakerElixir.Crypto.md5 # \"9FE3CFD7113162785ED3D59C73166766\"\nFakerElixir.Crypto.sha1 # \"7D6757DDD455FC6AA25C0D78C1CDE73B21028CD7\"\nFakerElixir.Crypto.sha224 # \"824B34965B6A3E48BE71E09A54F63BC216845D794EB378E756EE759D\"\nFakerElixir.Crypto.sha256 # \"4762E04FB860A8A7C4D58B495DE133355D069CF618A55BBACA98583DF105818C\"\nFakerElixir.Crypto.sha384 # \"9C01EBA98F4A52F76948D48A0FB3C63C26DE451667F8957C6420B6D26183F93C28A3A344406C77FF74C877EE5AA3AD10\"\nFakerElixir.Crypto.sha512 # \"06C1CC54DC49E53B1274D9A0DD951B76DD45731E0AB319D98575DEA1955F6A0B20D5B70548190119AED52A5254127A60511257673C332F759F9510B8F32AAC26\"\n```\n\n### FakerElixir.Currency\n---\n```elixir\nFakerElixir.Currency.code # \"ZMK\"\nFakerElixir.Currency.make # %{code: \"UAH\", country: \"Ukraine\", name: \"Ukrainian Hryvnia\", symbol: \"₴\"}\nFakerElixir.Currency.name # \"East Caribbean Dollar\"\nFakerElixir.Currency.symbol # \"€\"\n```\n\n### FakerElixir.Date\n---\n```elixir\n# Generate a random date time for yesterday\nFakerElixir.Date.backward(1) # \"2016-08-18 05:58:04Z\"\n\n# Generate a random date time between yesterday and the day before yesterday\nFakerElixir.Date.backward(1..2) # \"2016-08-17 03:48:32Z\"\n\nFakerElixir.Date.birthday # \"1988-03-07 16:28:37Z\"\n\nFakerElixir.Date.forward(1) # \"2016-08-20 19:29:28Z\"\nFakerElixir.Date.forward(1..2) # \"2016-08-20 11:18:18Z\"\n```\n\n### FakerElixir.File\n---\n```elixir\nFakerElixir.File.extension # \"png\"\n\n# Allowed: :image, :audio, :text, :video, :office\nFakerElixir.File.extension(:audio) # \"mp3\"\n\nFakerElixir.File.mime # \"application/javascript\"\n\n# Allowed: :application, :audio, :image, :message, :model, :multipart, :text, :video\nFakerElixir.File.mime(:message) # \"message/rfc822\"\n\nFakerElixir.File.name # \"aut.css\"\n\n# Allowed: :image, :audio, :text, :video, :office\nFakerElixir.File.name(:video) # \"mollitia.avi\"\"\n\n```\n\n### FakerElixir.Helper\n---\n```elixir\n# Check out the documentation for this helper:\n# https://hexdocs.pm/faker_elixir_octopus/FakerElixir.Helper.html#cycle/2\nFakerElixir.Helper.cycle(:zombies, [\"Peter\", \"Audrey\"]) # \"Peter\"\nFakerElixir.Helper.cycle(:zombies, [\"Peter\", \"Audrey\"]) # \"Audrey\"\nFakerElixir.Helper.cycle(:zombies, [\"Peter\", \"Audrey\"]) # \"Peter\"\n\nFakerElixir.Helper.letterify(\"#.#.#.#\") # \"k.e.n.u\"\nFakerElixir.Helper.numerify(\"Apt. ###\") # \"Apt. 902\"\n\nFakerElixir.Helper.pick([\"paris\", \"athens\", \"london\"]) # \"london\"\nFakerElixir.Helper.pick(0..100) # 51\n\n# Check out the documentation for this helper:\n# https://hexdocs.pm/faker_elixir_octopus/FakerElixir.Helper.html#unique!/2\nFakerElixir.Helper.unique!(:emails, fn -\u003e FakerElixir.Internet.email(:popular) end) # \"gutkowski@hotmail.com\"\n```\n\n### FakerElixir.Internet\n---\n```elixir\nFakerElixir.Internet.email # \"demarcus@ezra.io\"\nFakerElixir.Internet.email(\"Peter Moleski\") # \"peter.moleski@ethel.net\"\n\nFakerElixir.Internet.email(:popular) # \"candelario@gmail.com\"\nFakerElixir.Internet.email(:popular, \"Peter Sobieska\") # \"peter.sobieska@hotmail.com\"\n\nFakerElixir.Internet.email(:school) # \"trycia@uab.edu\"\nFakerElixir.Internet.email(:school, \"Harry Potter\") \"harry.potter@stanford.edu\"\n\nFakerElixir.Internet.password(:weak) # \"robbie\"\nFakerElixir.Internet.password(:normal) # \"francesco6\"\nFakerElixir.Internet.password(:strong) # \"tOu%Mt*B16ueLs!0uA3rDA\"\n\nFakerElixir.Internet.url # \"http://www.alejandra-connelly.com/\"\nFakerElixir.Internet.url(:safe) # \"https://www.stefan-little.org/\"\n\nFakerElixir.Internet.user_name # \"chadrick\"\nFakerElixir.Internet.user_name(\"Jeremie GES\") # \"jeremie.ges\"\n\nFakerElixir.Internet.user_agent # \"Mozilla/5.0 (iPad; CPU OS 8_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B411 Safari/600.1.4\"\n\n# Allowed: :bot, :browser, :chrome, :desktop, :firefox, :console, :ie, :opera, :phone, :playstation, :safari, :tablet, :wii, :xbox\nFakerElixir.Internet.user_agent(:safari) # \"Mozilla/5.0 (iPad; CPU OS 8_1_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B436 Safari/600.1.4\"\n```\n\n### FakerElixir.Lorem\n---\n```elixir\nFakerElixir.Lorem.character # \"c\"\n\nFakerElixir.Lorem.characters # \"0ycp0x\"\nFakerElixir.Lorem.characters(2) # \"rj\"\nFakerElixir.Lorem.characters(10..30) # \"rhch0bceu38240vds\"\n\nFakerElixir.Lorem.sentence # \"Qui maiores quaerat iusto quod in totam consequatur perspiciatis necessitatibus vitae.\"\n\nFakerElixir.Lorem.sentences(2) # \"Qui omnis distinctio optio quisquam non optio id sequi assumenda corrupti distinctio et et inventore libero mollitia et. Cum doloremque sapiente mollitia nulla harum pariatur natus voluptates maxime consequuntur sunt commodi blanditiis ut nam.\"\nFakerElixir.Lorem.sentences(3..5) # \"Culpa velit labore tenetur quia ipsum ullam dolore ut et commodi. Fuga quia dolore nihil non laudantium molestias nemo voluptas ea voluptatum aut aspernatur voluptatem. Repellendus illo dolorem incidunt quasi possimus quam quae alias recusandae unde aliquam optio rem velit sint eum. Quo aliquid itaque ratione eum blanditiis commodi explicabo perspiciatis nesciunt pariatur dolor eius voluptas.\"\n\nFakerElixir.Lorem.word # \"et\"\n\nFakerElixir.Lorem.words # \"pariatur ea eos quibusdam velit debitis et\"\nFakerElixir.Lorem.words(3) # \"sapiente optio dolor\"\nFakerElixir.Lorem.words(2..4) # \"laudantium rem saepe qui\"\n```\n\n### FakerElixir.Name\n---\n```elixir\nFakerElixir.Name.first_name # \"Ari\"\nFakerElixir.Name.last_name # \"Miller\"\nFakerElixir.Name.name # \"Louie Corkery\"\nFakerElixir.Name.name_with_middle # \"Annalise Francesco Schowalter\"\nFakerElixir.Name.prefix # \"Mr.\"\nFakerElixir.Name.suffix # \"PhD\"\nFakerElixir.Name.title # \"Principal Branding Orchestrator\"\n```\n\n### FakerElixir.Number\n---\n```elixir\nFakerElixir.Number.between(15..150) # 130\nFakerElixir.Number.between(15, 150) # 18\nFakerElixir.Number.between(11.22, 13.88) # 11.24\nFakerElixir.Number.between(12, 12.35) # 12.11\n\nFakerElixir.Number.decimal # \"70.8\"\n\n# 3 left digits\nFakerElixir.Number.decimal(3) # \"918.43\"\n\n# 1 left digit and 3 right digits\nFakerElixir.Number.decimal(1, 3) # \"2.298\"\n\nFakerElixir.Number.digit # 3\nFakerElixir.Number.digits # 452\n\n# 4 digits please!\nFakerElixir.Number.digits(4) # 7025\n```\n\n### FakerElixir.Phone\n---\n```elixir\nFakerElixir.Phone.cell # \"1-714-443-8836\"\nFakerElixir.Phone.home # \"355.369.3998 x19434\"\n```\n\n## Locales\n\n### General\n---\nThe default locale used by FakerElixir is ```:en```. Right now only 4 locales are available: ```:fr```, ```:en```, ```:es```, ```:it```.\n\nIf you set a different locale, FakerElixir will just fallback to ```:en``` (If you didn't provide a custom locale)\n\n**Note:** Keep in mind you can set the locale at the runtime, the locale set will keep his state until you set another locale.\n\n#### Basic example\n```elixir\nFakerElixir.set_locale(:en) # :ok\nFakerElixir.Address.city # \"Baltimore\"\n\nFakerElixir.set_locale(:fr) # :ok\nFakerElixir.Address.city # \"Issy-les-Moulineaux\"\n\nFakerElixir.set_locale(:es) # :ok\nFakerElixir.get_locale # :es\n```\n\n#### Phoenix Example\n```elixir\ndefmodule Zombie.AwesomeController do\n  use Zombie.Web, :controller\n  alias FakerElixir, as: Faker\n\n  def index(conn, _params) do\n\n    Faker.set_locale(:en)\n    city_en = Faker.Address.city\n\n    Faker.set_locale(:fr)\n    city_fr = Faker.Address.city\n\n    text conn, \"#{city_en} / #{city_fr}\"\n  end\nend\n\n# Will produce something like: Charlotte / Courbevoie\n```\n\n### Custom locale\n---\nSince this package is quite new we don't have enough locales out of the box. It could be possible you don't like the data provided too. That's why we let you the possibility to define / update the data !\n\n#### Add a new locale\n---\nLet's say you are spanish and you want to create the ``:es`` locale, you just need to define a new module in your elixir / mix project:\n\n```elixir\n# locales/faker_elixir/es.ex\n# It doesn't matter where you define your module tho.\n\ndefmodule FakerElixir.LocalesCustom.Es do\n\n  # Let's \"localize\" the cities\n  @cities [\"Barcelona\", \"Madrid\", \"La Jonquera\"]\n\n  def cities, do: cities\n\nend\n```\n\nNow when you will set the locale ```:es```, FakerElixir will pick your data:\n\n```elixir\ndefmodule Test do\n\n  alias FakerElixir, as: Faker\n\n  def try do\n    Faker.set_locale(:es)\n    Faker.Address.city # Barcelona\n  end\n\nend\n```\n\n\n#### Edit a locale\n---\nLet's say you want to update the locale ```:fr``` for the method ```FakerElixir.Address.secondary_address```:\n\n```elixir\n# locales/faker_elixir/fr.ex\n# It doesn't matter where you define your module tho.\n\ndefmodule FakerElixir.LocalesCustom.Fr do\n\n  @secondary_addresses [\"Sonnette. ##\"]\n\n  def secondary_addresses, do: @secondary_addresses\n\nend\n```\n\nNow when you will set the locale ```:fr```, FakerElixir will pick your data:\n\n```elixir\ndefmodule Test do\n\n  alias FakerElixir, as: Faker\n\n  def try do\n    Faker.set_locale(:fr)\n    Faker.Address.secondary_address # Sonnette. 12\n  end\n\nend\n```\n\n#### Skeleton\n---\nThe default skeleton for a locale is available here: [Skeleton](https://github.com/GesJeremie/faker-elixir/blob/master/lib/faker_elixir/locales/en.ex)\n\n## Customisation\n\n#### :speech_balloon: \"Hey dude, your package is \"great\" but you forgot that, that and ... that, whaddup ? :sunglasses:\"\n\nWell, depending the domain of your application, sure you will need some other fake data. That's why ```FakerElixir``` provides some useful things such as: ```FakerElixir.get_locale/0``` and the ```FakerElixir.Helper``` module.\n\nYou could create your own module inside your application:\n\n```elixir\ndefmodule FakerElixir.Custom do\n\n  @pokemons_en [\"Charizard\", \"Bulbasaur\", \"Charmander\"]\n  @pokemons_fr [\"Dracaufeu\", \"Bulbizarre\", \"Salameche\"]\n\n  def pokemon do\n    locale = FakerElixir.get_locale\n\n    case locale do\n      :fr -\u003e\n        FakerElixir.Helper.pick(@pokemons_fr)\n\n      _ -\u003e\n        FakerElixir.Helper.pick(@pokemons_en)\n    end\n  end\n\nend\n```\n\n... and just call your module! ```iex\u003e FakerElixir.Custom.pokemon```\n\nHope it helps :yum:\n\n## Contributors\n\n[![GesJeremie](https://avatars1.githubusercontent.com/u/1700610?v=3\u0026s=100)](https://github.com/GesJeremie)\n[![Ilyes512](https://avatars0.githubusercontent.com/u/2445415?v=3\u0026s=100)](https://github.com/Ilyes512)\n[![tulinmola](https://avatars0.githubusercontent.com/u/34421?v=3\u0026s=100)](https://github.com/tulinmola)\n[![Igas](https://avatars2.githubusercontent.com/u/175652?v=3\u0026s=100)](https://github.com/igas)\n[![rrrene](https://avatars1.githubusercontent.com/u/311914?v=3\u0026s=100)](https://github.com/rrrene)\n\nWe :heart: contributors, send us a pull request and maybe we will ... merge it :beer: !\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgesjeremie%2Ffaker-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgesjeremie%2Ffaker-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgesjeremie%2Ffaker-elixir/lists"}