{"id":15591282,"url":"https://github.com/coderberry/grails-faker","last_synced_at":"2025-10-17T05:54:56.063Z","repository":{"id":3231036,"uuid":"4266971","full_name":"coderberry/grails-faker","owner":"coderberry","description":"Faker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc.","archived":false,"fork":false,"pushed_at":"2012-09-28T15:09:41.000Z","size":161,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T07:22:57.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"github/pages-gem","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderberry.png","metadata":{"files":{"readme":"README.markdown","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":"2012-05-09T00:39:55.000Z","updated_at":"2021-08-25T07:26:53.000Z","dependencies_parsed_at":"2022-08-20T10:10:55.764Z","dependency_job_id":null,"html_url":"https://github.com/coderberry/grails-faker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Fgrails-faker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Fgrails-faker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Fgrails-faker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Fgrails-faker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderberry","download_url":"https://codeload.github.com/coderberry/grails-faker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250572927,"owners_count":21452335,"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","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":[],"created_at":"2024-10-02T23:40:51.570Z","updated_at":"2025-10-17T05:54:51.009Z","avatar_url":"https://github.com/coderberry.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# faker\n\nFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc.  \nThis plugin is a port developed in ruby, found at [http://faker.rubyforge.org](http://faker.rubyforge.org).\n\n### Installation\n\nExecute the following from your application directory:\n\n    grails install-plugin faker\n\n### Usage\n\n    def fakerService // instanciate the service\n\n    fakerService.name() =\u003e \"Bob Hope\"\n\n### Available service methods\n\n    /* -- HELPERS -- */\n    println fakerService.numerify('#####')         =\u003e 22415\n    println fakerService.letterify('??? ???')      =\u003e cfo mpu\n    println fakerService.bothify('##? ?##')        =\u003e 40h l06\n    \n    /* -- NAME -- */\n    println fakerService.name()                    =\u003e Matilde Deckow\n    println fakerService.firstName()               =\u003e Ernest\n    println fakerService.lastName()                =\u003e Gutkowski\n    \n    /* -- ADDRESS -- */\n    println fakerService.streetAddress()           =\u003e 237 Ludwig Station\n    println fakerService.streetName()              =\u003e Candido Dale\n    println fakerService.secondaryAddress()        =\u003e Apt. 589\n    println fakerService.city()                    =\u003e Lake Buster\n    println fakerService.usState()                 =\u003e West Virginia\n    println fakerService.usStateAbbr()             =\u003e MI\n    println fakerService.zipCode()                 =\u003e 31685\n    println fakerService.ukCounty()                =\u003e West Sussex\n    println fakerService.ukCountry()               =\u003e Northern Ireland\n    println fakerService.ukPostcode()              =\u003e JJ40 9EW\n    \n    /* -- COMPANY -- */\n    println fakerService.companyName()             =\u003e Eichmann-Marks\n    println fakerService.companyCatchPhrase()      =\u003e Expanded contextually-based paradigm\n    println fakerService.companyBS()               =\u003e visualize cross-media schemas\n    println fakerService.occupation()              =\u003e Gynecologist\n    \n    /* -- INTERNET -- */\n    println fakerService.email()                   =\u003e malinda_bartoletti@veum-toy.uk\n    println fakerService.email('Joe Blow')         =\u003e joe_blow@kuhn-fahey.info\n    println fakerService.freeEmail()               =\u003e nova_kovacek@gmail.com\n    println fakerService.freeEmail('Joe Blow')     =\u003e joe.blow@gmail.com\n    println fakerService.userName()                =\u003e odessa\n    println fakerService.userName('Joe Blow')      =\u003e joe_blow\n    println fakerService.domainName()              =\u003e orn.info\n    \n    /* -- LOREM -- */\n    println fakerService.sentence(3)               =\u003e Quas dolor culpa rerum tempora autem.\n    println fakerService.paragraph(3)              =\u003e Et sint aliquid cum quas tempore tempora labore fuga. Voluptatem et saepe eaque illum. Voluptas eius explicabo eos at qui in saepe quis.\n    \n    /* -- PHONE -- */\n    println fakerService.phoneNumber()             =\u003e (535)286-9804 x571\n    println fakerService.phoneNumber('##########') =\u003e 1698340636\n    \n    /* -- VERSION -- */\n    println fakerService.version()                 =\u003e 3.2.1\n\n### License\n\nThis code is free to use under the terms of the MIT license.\n\n### Contact\n\nComments are welcome. Send an email to cavneb at gmail.com.\n\n### Version History\n\n* 0.7 - Converting static methods to instance methods and tabs to spaces by [Pablo Alba](http://albaontech.wordpress.com/)\n* 0.6 - Spanish added by [Pablo Alba](http://albaontech.wordpress.com/)\n* 0.2 - Fixed bug with domain names including commas and apostrophes. Thanks to Mike Hugo for the fix code.\n* 0.1 - Initial Release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderberry%2Fgrails-faker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderberry%2Fgrails-faker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderberry%2Fgrails-faker/lists"}