{"id":22656862,"url":"https://github.com/libreworks/caridea-random","last_synced_at":"2025-08-22T05:06:04.334Z","repository":{"id":33173432,"uuid":"36814564","full_name":"libreworks/caridea-random","owner":"libreworks","description":":fried_shrimp: Caridea is a miniscule PHP application library. This is a shrimpy random number generation component.","archived":false,"fork":false,"pushed_at":"2016-03-21T21:48:08.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T10:10:23.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libreworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-03T15:59:23.000Z","updated_at":"2018-02-08T23:02:33.000Z","dependencies_parsed_at":"2022-08-17T21:15:29.574Z","dependency_job_id":null,"html_url":"https://github.com/libreworks/caridea-random","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/libreworks/caridea-random","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libreworks%2Fcaridea-random","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libreworks%2Fcaridea-random/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libreworks%2Fcaridea-random/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libreworks%2Fcaridea-random/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libreworks","download_url":"https://codeload.github.com/libreworks/caridea-random/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libreworks%2Fcaridea-random/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271588743,"owners_count":24785751,"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-08-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2024-12-09T10:16:43.339Z","updated_at":"2025-08-22T05:06:04.300Z","avatar_url":"https://github.com/libreworks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# caridea-random\nCaridea is a miniscule PHP application library. This shrimpy fellow is what you'd use when you just want some helping hands and not a full-blown framework.\n\n![](http://libreworks.com/caridea-100.png)\n\nThis is its random number generation component. It has providers for Mcrypt and OpenSSL. Other random number generation in PHP isn't considered secure enough to have an adapter here.\n\n[![Build Status](https://travis-ci.org/libreworks/caridea-random.svg)](https://travis-ci.org/libreworks/caridea-random)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/libreworks/caridea-random/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/libreworks/caridea-random/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/libreworks/caridea-random/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/libreworks/caridea-random/?branch=master)\n\n## Installation\n\nYou can install this library using Composer:\n\n```console\n$ composer require caridea/random\n```\n\nThis project requires PHP 5.5 and has no dependencies.\n\n## Compliance\n\nReleases of this library will conform to [Semantic Versioning](http://semver.org).\n\nOur code is intended to comply with [PSR-1](http://www.php-fig.org/psr/psr-1/), [PSR-2](http://www.php-fig.org/psr/psr-2/), and [PSR-4](http://www.php-fig.org/psr/psr-4/). If you find any issues related to standards compliance, please send a pull request!\n\n## Examples\n\nJust a few quick examples.\n\n```php\nif (\\Caridea\\Random\\Mcrypt::isAvailable()) {\n    $rando = new \\Caridea\\Random\\Mcrypt();\n    $bytes = $rando-\u003egenerate(32);\n}\nif (\\Caridea\\Random\\OpenSsl::isAvailable()) {\n    $rando = new \\Caridea\\Random\\OpenSsl();\n    $bytes = $rando-\u003egenerate(32);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreworks%2Fcaridea-random","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibreworks%2Fcaridea-random","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreworks%2Fcaridea-random/lists"}