{"id":28490017,"url":"https://github.com/makinacorpus/drush-progressbar","last_synced_at":"2025-06-29T21:31:37.439Z","repository":{"id":62522981,"uuid":"60248937","full_name":"makinacorpus/drush-progressbar","owner":"makinacorpus","description":"Drush progress bar","archived":false,"fork":false,"pushed_at":"2016-06-02T09:12:18.000Z","size":3,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T07:07:19.256Z","etag":null,"topics":["drupal","drush","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makinacorpus.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":"2016-06-02T09:03:50.000Z","updated_at":"2023-01-23T14:21:27.000Z","dependencies_parsed_at":"2022-11-02T14:01:09.845Z","dependency_job_id":null,"html_url":"https://github.com/makinacorpus/drush-progressbar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/makinacorpus/drush-progressbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makinacorpus%2Fdrush-progressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makinacorpus%2Fdrush-progressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makinacorpus%2Fdrush-progressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makinacorpus%2Fdrush-progressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makinacorpus","download_url":"https://codeload.github.com/makinacorpus/drush-progressbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makinacorpus%2Fdrush-progressbar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262671409,"owners_count":23346404,"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":["drupal","drush","progressbar"],"created_at":"2025-06-08T07:07:11.677Z","updated_at":"2025-06-29T21:31:37.429Z","avatar_url":"https://github.com/makinacorpus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drush progress bar API\n\n## Usage\n\nGiven that:\n *  you have ```$total``` which is the total number of items to process;\n *  and ```$done``` is the item count processed so far;\n\nyou may do:\n\n```php\n\n$total = some_count();\n\n$bar = \\DrushProgressBar::create();\n$bar-\u003estart();\n\n$done = 0;\nforeach ($items as $item) {\n  process_item($item);\n\n  // Note that here, you could also change the total (yes you can).\n  $bar-\u003esetProgress($total, ++$done);\n}\n\n$bar-\u003eend();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakinacorpus%2Fdrush-progressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakinacorpus%2Fdrush-progressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakinacorpus%2Fdrush-progressbar/lists"}