{"id":17953392,"url":"https://github.com/eloyekunle/random_string","last_synced_at":"2026-06-20T08:31:21.907Z","repository":{"id":128581934,"uuid":"98182588","full_name":"eloyekunle/random_string","owner":"eloyekunle","description":"Native PHP extension in C++ to generate a random string.","archived":false,"fork":false,"pushed_at":"2017-07-24T11:34:49.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-08T01:27:36.472Z","etag":null,"topics":["php-cpp","php-extension","php7","random-string"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/eloyekunle.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-24T11:17:16.000Z","updated_at":"2018-07-02T12:56:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"65a6cdf2-ea64-41bc-8fec-de0c9b8b43e7","html_url":"https://github.com/eloyekunle/random_string","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eloyekunle/random_string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloyekunle%2Frandom_string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloyekunle%2Frandom_string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloyekunle%2Frandom_string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloyekunle%2Frandom_string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eloyekunle","download_url":"https://codeload.github.com/eloyekunle/random_string/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eloyekunle%2Frandom_string/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34563535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["php-cpp","php-extension","php7","random-string"],"created_at":"2024-10-29T10:05:08.309Z","updated_at":"2026-06-20T08:31:21.874Z","avatar_url":"https://github.com/eloyekunle.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"I sure thought writing a native PHP extension in C++ would make string generation faster for the thousands I'll have to generate periodically in my web service.\n\n**Boy, was I wrong.** At least I got to write my first PHP extension. :D\n\nWell, here's the source code, tested and working on Ubuntu 17.04.\nYou might have to edit the Makefile to the appropriate PHP extensions location on your computer.\n\nIt's based on [PHP-CPP](http://www.php-cpp.com/documentation/introduction)\nYou'll have to [install](http://www.php-cpp.com/documentation/install) PHP-CPP on your server, then download appropriate php-dev tools for your server.\nThis should work just fine on Ubuntu;\n```\nsudo apt-get install php7.0-dev\n```\n\nCompiling:\n```\nmake\n```\n\nThen to install;\n```\nsudo make install\n```\n\nOh, well. What a beautiful day.\n\n[Elijah Oyekunle](https://elijahoyekunle.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feloyekunle%2Frandom_string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feloyekunle%2Frandom_string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feloyekunle%2Frandom_string/lists"}