{"id":21197918,"url":"https://github.com/kygekteam/phar-converter","last_synced_at":"2026-05-21T10:06:06.477Z","repository":{"id":48945979,"uuid":"313584240","full_name":"KygekTeam/PHAR-Converter","owner":"KygekTeam","description":"Simple to use PHAR Converter utility written in PHP CLI","archived":false,"fork":false,"pushed_at":"2021-08-13T02:37:42.000Z","size":19055,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-21T14:31:31.272Z","etag":null,"topics":["phar","phar-converter","php","php-cli","php-cli-script"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KygekTeam.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/1.0-beta.md","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":"2020-11-17T10:30:02.000Z","updated_at":"2023-01-24T12:41:13.000Z","dependencies_parsed_at":"2022-09-01T11:12:31.276Z","dependency_job_id":null,"html_url":"https://github.com/KygekTeam/PHAR-Converter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KygekTeam%2FPHAR-Converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KygekTeam%2FPHAR-Converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KygekTeam%2FPHAR-Converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KygekTeam%2FPHAR-Converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KygekTeam","download_url":"https://codeload.github.com/KygekTeam/PHAR-Converter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652702,"owners_count":20325610,"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":["phar","phar-converter","php","php-cli","php-cli-script"],"created_at":"2024-11-20T19:46:56.635Z","updated_at":"2026-05-21T10:06:01.436Z","avatar_url":"https://github.com/KygekTeam.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHAR Converter\n\n[![Discord](https://img.shields.io/discord/735439472992321587.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/CXtqUZv)\n\nPHAR Converter is an easy to use program that converts PHAR files into directory and vice versa. PHAR Converter has been tested to convert PocketMine-MP plugins.\n\n## Features\n\n- Several compression methods\n- Direct conversion\n- Environment variable support\n- Configuration file\n- Easy to use\n- And much more!\n\n## Requirements\n\nTo use PHAR Converter, you need Git installed. Currently, PHAR Converter only supports Windows 64-bit. PHAR Converter may work on Windows 32-bit, however it has not been tested.\n\n## Installation \u0026 Running First Time\n\n**WARNING:** PHAR Converter is currently under Beta. There may be some bugs and compatibility issues. Click [here](https://github.com/KygekTeam/PHAR-Converter#contributing) to read about contributing.\n\n### Downloading packaged source\n\nPackaged source is available to download directly [here](https://github.com/KygekTeam/PHAR-Converter/releases).\n\n### Cloning from source\n\n1. Clone the repository recursively using Git\n```\ngit clone https://github.com/KygekTeam/PHAR-Converter\n```\n2. Change directory to `PHAR-Converter`\n```\ncd PHAR-Converter\n```\n3. Run `pharconverter` or open `pharconverter.cmd` directly to launch PHAR Converter!\n\n## Converting Directly\n\nTo convert PHAR file or directory directly, PHAR Converter should be run from Command Prompt (`pharconverter`).\n\nParameters:\n- `--mode=\"{MODE}\"`: Specify the convert mode (Available modes: `ptd`, `phartodir`, `dtp`, `dirtophar`)\n- `--name=\"{NAME}\"`: Specify the PHAR file/directory name to be converted\n\nExample:\n```\npharconverter --mode=ptd --name=KygekJoinUI\n```\nConverts `KygekJoinUI.phar` to directory `KygekJoinUI`\n\n## Converting via Environment Variable\n\nTo use PHAR Converter via environment variable, you need to add the PHAR Converter directory root to `Settings \u003e System \u003e About \u003e Advanced System Settings \u003e Environment Variables \u003e System Variables \u003e Path`.\n\nPlease note that you need to specify full PHAR/directory path that you want to convert if you use PHAR Converter via environment variable.\n\n**Example:** Use `C:\\Something.phar` instead of directly `Something.phar`.\n\n## Contributing\n\nWe accept contributions! To contribute, please **fork the `dev` branch** and create a [pull request](https://github.com/KygekTeam/PHAR-Converter/pulls) **to the `dev` branch**. All pull requests to the `main` branch **will be closed immediately**.\n\nIf you found any bugs or want to give suggestions/feedbacks, please create an [issue](https://github.com/KygekTeam/PHAR-Converter/issues).\n\n## Help \u0026 Support\n\nShould you need any assistance, please join our [Discord server](https://discord.gg/CXtqUZv).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkygekteam%2Fphar-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkygekteam%2Fphar-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkygekteam%2Fphar-converter/lists"}