{"id":21719,"date":"2014-04-28T22:22:52","date_gmt":"2014-04-28T20:22:52","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=21719"},"modified":"2014-04-28T22:22:52","modified_gmt":"2014-04-28T20:22:52","slug":"faker-is-a-php-library-that-generates-fake-data","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/28\/faker-is-a-php-library-that-generates-fake-data\/","title":{"rendered":"Faker is a PHP library that generates fake data"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/github.com\/fzaninotto\/Faker\">Faker<\/a> is a PHP library that generates fake data<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Faker is a PHP library that generates fake data<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62,1334],"tags":[38,1108,1330],"keyring_services":[],"class_list":["post-21719","post","type-post","status-publish","format-link","hentry","category-general","category-programming","category-technology","category-web-work","tag-php","tag-testing","tag-web-development","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28624,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/06\/11\/forget-db-a-simple-gdpr-inspired-tool-to-anonymise-confidential-database-data\/","url_meta":{"origin":21719,"position":0},"title":"forget-db &#8211; a simple GDPR inspired tool to anonymise confidential database data","author":"Leonid Mamchenkov","date":"June 11, 2018","format":false,"excerpt":"forget-db: A simple(ish) command line tool written in PHP 7.1 using Laravel Zero and Faker to help you anonymise\/pseudonymise data within your database to support protecting either sensitive information, or peoples right to be forgotten with GDPR compliance. The tool allows you to connect to either mysql, postgres, sqlite or\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28842,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/10\/09\/php-excel-templator\/","url_meta":{"origin":21719,"position":1},"title":"PHP Excel Templator","author":"Leonid Mamchenkov","date":"October 9, 2018","format":false,"excerpt":"PHP Excel Templator is a PHP library that helps with generating Excel files based on the templates and placeholders.\u00a0 The documentation shows a few examples which look surprisingly short. Found via this article (in Russian).","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/10\/php-excel-500x244.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27394,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/03\/06\/language-detection-library-for-php\/","url_meta":{"origin":21719,"position":2},"title":"Language Detection Library for PHP","author":"Leonid Mamchenkov","date":"March 6, 2017","format":false,"excerpt":"patrickschur\/language-detection - is a language detection library for PHP, which detects the language from a given text string. \u00a0Now, a bit more detailed: This library can detect the language of a given text string. It can parse given training text in many different idioms into a sequence of N-grams and\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":29035,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/27\/avoid-complex-arrays-in-php\/","url_meta":{"origin":21719,"position":3},"title":"Avoid complex arrays in PHP","author":"Leonid Mamchenkov","date":"November 27, 2018","format":false,"excerpt":"Now that PHP 7+ sorted out a whole bunch of problems with type-hinting of parameters, return values, variables and properties, we turn our attention to somewhat deeper issues. Array is a native citizen in PHP.\u00a0 Arrays are very convenient and are widely used.\u00a0 However, if you stop and think about\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28970,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/12\/spatie-data-transfer-object-data-transfer-objects-with-batteries-included\/","url_meta":{"origin":21719,"position":4},"title":"spatie\/data-transfer-object &#8211; Data transfer objects with batteries included","author":"Leonid Mamchenkov","date":"November 12, 2018","format":false,"excerpt":"spatie\/data-transfer-object library provides very easy to use data-transfer objects for PHP.\u00a0 If you code is relying a lot on arrays, you'll appreciate this different approach.\u00a0 And the more complex your arrays are, the more benefit you'll get out of it.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27684,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/06\/14\/formapropvm-php-library-for-building-workflows-and-business-processes\/","url_meta":{"origin":21719,"position":5},"title":"formapro\/pvm &#8211; PHP library for building workflows and business processes","author":"Leonid Mamchenkov","date":"June 14, 2017","format":false,"excerpt":"formapro\/pvm is a PHP library for building workflows and business processes. \u00a0This is a nice addition to alternatives that I've looked at in \"Getting started with workflows in PHP\". \u00a0The library is brought to you by Forma Pro, the same guys who are behind the php-enqueue enterprise queuing solution in\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/06\/pizza-process-500x211.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/21719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=21719"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/21719\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=21719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=21719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=21719"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=21719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}