{"id":21824285,"url":"https://github.com/floknapp/progress-cli","last_synced_at":"2026-05-06T21:38:47.641Z","repository":{"id":62505670,"uuid":"85973569","full_name":"FloKnapp/progress-cli","owner":"FloKnapp","description":"A simple progress bar for the php cli","archived":false,"fork":false,"pushed_at":"2017-03-23T18:16:59.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T08:12:46.793Z","etag":null,"topics":["bar","php-cli","progress","progress-cli","progressbar"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FloKnapp.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":"2017-03-23T16:42:45.000Z","updated_at":"2017-03-28T13:22:56.000Z","dependencies_parsed_at":"2022-11-02T13:16:10.149Z","dependency_job_id":null,"html_url":"https://github.com/FloKnapp/progress-cli","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/FloKnapp%2Fprogress-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloKnapp%2Fprogress-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloKnapp%2Fprogress-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloKnapp%2Fprogress-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FloKnapp","download_url":"https://codeload.github.com/FloKnapp/progress-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244794946,"owners_count":20511516,"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":["bar","php-cli","progress","progress-cli","progressbar"],"created_at":"2024-11-27T17:42:09.629Z","updated_at":"2026-05-06T21:38:47.568Z","avatar_url":"https://github.com/FloKnapp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# progress-cli\nA simple progress bar for the php cli\n\n# Install\ncomposer require floknapp/progress-cli\n\n# How to use\n```php\n\n$dataset = ['entry1', 'entry2', ...]; // everything that is countable\n\n$progress = new Progress($dataset); // default progress bar width is 40 chars\n\nfor ($i=0; $i \u003c count($dataset); $i++) { // yea yea, i know... no count in for parameters\n    \n    [... do things]\n    \n    $progress-\u003eupdate($i);\n    \n}\n```\nThat's it!\n\n# Further configuration\n\nYou can set a custom width:\n```php\n$progress = new Progress($dataset, 80); // set progress bar width to 80 chars\n```\n\nYou can show a summary behind the progress bar:\n```php\n$progress = new Progress($dataset, 80, true); // [---------] 100% (250/250)\n```\n\nYou can set custom start and end surroundings:\n```php\n$progress = new Progress($dataset);\n$progress-\u003esetProgressLimiter('(', ')'); // results in (---------) 100%\n```\n\nYou can set a custom progress char (currently only 1 byte chars, no enhanced utf-8 chars supported):\n```php\n$progress = new Progress($dataset);\n$progress-\u003esetProgressChar('|'); // results in [||||||||||||] 100%\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloknapp%2Fprogress-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloknapp%2Fprogress-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloknapp%2Fprogress-cli/lists"}