{"id":16673933,"url":"https://github.com/sensorario/biberon","last_synced_at":"2026-04-24T11:11:53.980Z","repository":{"id":62542209,"uuid":"150939111","full_name":"sensorario/biberon","owner":"sensorario","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-04T16:12:39.000Z","size":800,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-30T19:43:49.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/sensorario.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":"2018-09-30T06:45:07.000Z","updated_at":"2018-10-04T16:12:38.000Z","dependencies_parsed_at":"2022-11-02T15:33:47.471Z","dependency_job_id":null,"html_url":"https://github.com/sensorario/biberon","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/sensorario/biberon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fbiberon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fbiberon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fbiberon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fbiberon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensorario","download_url":"https://codeload.github.com/sensorario/biberon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorario%2Fbiberon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32220485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-12T12:28:48.224Z","updated_at":"2026-04-24T11:11:53.923Z","avatar_url":"https://github.com/sensorario.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Biberon\n\n[![Build Status](https://travis-ci.org/sensorario/biberon.svg?branch=master)](https://travis-ci.org/sensorario/biberon)\n\n## Example\n\n![biberon2.png](biberon2.png)\n\n```php\nuse Sensorario\\Biberon\\Biberon;\nuse Sensorario\\Biberon\\Detector;\nuse Sensorario\\Biberon\\Stat;\n\n$show = new Sensorario\\Biberon\\Show(\n    new Sensorario\\Biberon\\Detector(),\n    (new Sensorario\\Biberon\\Stat())-\u003einit([\n        'count' =\u003e 100,\n        'columnsize' =\u003e 33,\n    ])\n);\n\nwhile ($show-\u003emustGoOn()) {\n    $show-\u003enext(function() {\n        return rand(11111, 99999);\n    });\n}\n```\n\n## Change dot with letter and color output\n\n![biberon_microtime.png](biberon_microtime.png)\n\n```php\nuse Sensorario\\Biberon\\Detector;\n\n$detector = new Detector();\n$detector-\u003esetColors([\n    'B' =\u003e Detector::COLOR_GREEN,\n    'p' =\u003e Detector::COLOR_RED,\n    'L' =\u003e Detector::COLOR_VIOLET,\n]);\n$detector-\u003eaddRules([\n    'L' =\u003e function ($input) { return $input \u003c 10000; },\n    'B' =\u003e function ($input) { return $input \u003e 70000; },\n    'p' =\u003e function ($input) { return $input % 2 == 0; },\n    'd' =\u003e function ($input) { return $input % 2 == 1; },\n]);\n\n$data = [];\nfor ($i = 0; $i \u003c 666; $i++) {\n    $data[] = rand(1, 99999);\n}\n\n$show = new Sensorario\\Biberon\\Show(\n    $detector,\n    (new Sensorario\\Biberon\\Stat())-\u003einit([\n        'count' =\u003e count($data),\n        'column' =\u003e 0,\n        'print' =\u003e 0,\n        'columnsize' =\u003e 48,\n    ])\n);\n\nwhile ($show-\u003emustGoOn()) {\n    $show-\u003enext(function() {\n        return rand(11111, 99999);\n    });\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensorario%2Fbiberon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensorario%2Fbiberon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensorario%2Fbiberon/lists"}