{"id":13828152,"url":"https://github.com/tuqqu/killposer","last_synced_at":"2025-07-09T05:31:51.190Z","repository":{"id":57073628,"uuid":"210417529","full_name":"tuqqu/killposer","owner":"tuqqu","description":"List and remove composer-created vendor directories with a cli tool","archived":true,"fork":false,"pushed_at":"2019-09-26T17:07:54.000Z","size":2479,"stargazers_count":30,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-13T07:53:13.300Z","etag":null,"topics":["cli","composer","php"],"latest_commit_sha":null,"homepage":"","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/tuqqu.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":"2019-09-23T17:49:34.000Z","updated_at":"2024-02-24T18:22:05.000Z","dependencies_parsed_at":"2022-08-24T10:52:09.343Z","dependency_job_id":null,"html_url":"https://github.com/tuqqu/killposer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuqqu%2Fkillposer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuqqu%2Fkillposer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuqqu%2Fkillposer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuqqu%2Fkillposer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuqqu","download_url":"https://codeload.github.com/tuqqu/killposer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225486558,"owners_count":17481926,"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":["cli","composer","php"],"created_at":"2024-08-04T09:02:34.485Z","updated_at":"2024-11-20T07:31:36.632Z","avatar_url":"https://github.com/tuqqu.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Killposer\n\n### Easy way to find and delete composer-created `/vendor/` directories that you do not need any more.\n\n![](/doc/usage.gif)\n\nThis is a cli-tool to find Composer-created vendor directories on your system, list their path and size, and it allows you delete ones that you don't need to free up storage space.\n\nThe project is inspired by [npkill](https://github.com/voidcosmos/npkill).\n\n## Installation\n\nInstall Killposer globally with Composer: \n\n```bash\n$ composer global require tuqqu/killposer\n```\n\nYou have to make sure that global Composer binary directory is in your `PATH`. See [Composer docs](https://getcomposer.org/doc/03-cli.md#global).\nOn a Unix system run the following command:\n```bash\n$ export PATH=\"$PATH:$HOME/.composer/vendor/bin\"\n```\n\n## Usage\n\nHaving installed it globally you may now use `killposer` binary:\n```bash\n$ killposer \n```\n\nUse `W` and `S` keys to move up/down, `K` to delete the selected vendor and `Q` to quit.\n\n### Command options\n\n* `--path`, `-p` to specify the directory to search, default value is current directory, `./`\n* `--byte-format`, `-f` available formats are: `kib`, `mib` (the default one), `gib`\n* `--byte-threshold`, `-t` if for some reason you have no interest in the exact size of your vendors, you may set a threshold after which file size won't be calculated\n\n### Example\n\nSearch vendors in `PhpProjects`\n\n```bash\n$ killposer -p '~/PhpProjects/'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuqqu%2Fkillposer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuqqu%2Fkillposer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuqqu%2Fkillposer/lists"}