{"id":15143878,"url":"https://github.com/poggit/devirion","last_synced_at":"2025-10-23T20:31:03.421Z","repository":{"id":45611909,"uuid":"73552725","full_name":"poggit/devirion","owner":"poggit","description":"Plugin used for debugging virions or plugins that use virions.","archived":false,"fork":false,"pushed_at":"2023-05-24T02:04:32.000Z","size":58,"stargazers_count":45,"open_issues_count":4,"forks_count":16,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-01-30T20:52:17.227Z","etag":null,"topics":["dependency-manager","php","pocketmine","pocketmine-plugins","poggit","poggit-virions"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poggit.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,"governance":null}},"created_at":"2016-11-12T12:57:13.000Z","updated_at":"2024-12-29T07:40:19.000Z","dependencies_parsed_at":"2023-02-17T12:55:20.763Z","dependency_job_id":"d217e25a-896f-4d0c-86b5-4f7d3a6097fb","html_url":"https://github.com/poggit/devirion","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/poggit%2Fdevirion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poggit%2Fdevirion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poggit%2Fdevirion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poggit%2Fdevirion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poggit","download_url":"https://codeload.github.com/poggit/devirion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237882172,"owners_count":19381176,"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":["dependency-manager","php","pocketmine","pocketmine-plugins","poggit","poggit-virions"],"created_at":"2024-09-26T10:20:25.683Z","updated_at":"2025-10-23T20:30:58.095Z","avatar_url":"https://github.com/poggit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEVirion\nDEVirion is the virion dependency manager. It can be used to run plugins from source if they require virions.\n\n1. Install this plugin\n2. Create a directory called `virions` **next to the `plugins` folder** (not inside it!)\n3. Drop the virions you use into the `virions` folder. Both packaged (.phar) virions and source (folder) virions are acceptable. (Just like how you install plugins with DevTools)\n\n### Notes\n* DEVirion will **not** shade plugins. Hence, this plugin **must only** be used for virion/plugin development. **Released plugins must not depend on DEVirion to load virions**.\n* DEVirion cannot automatically detect what virions are needed. Use the [CLI](#command-line-interface-standalone-executable) to automatically download virions required for a certain project.\n\n## Command Line Options (for PocketMine)\nYou may also use the command-line option `--load-virions` to specify an _additional_ folder to scan virions from (similar to the plugin path), or `--load-virion` (singular) to explicitly load a **folder virion** at the specified path (does not work with phar virions). For example, if you have this folder structure:\n\n```\n/\n/server/\n/server/PocketMine-MP.phar\n/server/start.sh\n/server/virions/\n/server/virions/libweird.phar\n/server/virions/libstrange/ (with a virion.yml in this folder)\n/libs/\n/libs/libodd.phar\n/libs/librare/ (with a virion.yml in this folder)\n/misc/\n/misc/libnormal.phar\n/misc/libtrivial/ (with a virion.yml in this folder)\n```\n\nRunning `./start.sh` in `/server/` will _automatically_ load libweird and libstrange.\n\nRunning `./start.sh --load-virions=/libs/` will _additionally_ load libodd and librare\n\nRunning `./start.sh --load-virion=/misc/libtrivial/` will _additionally_ load libtrivial.\n\nRunning `./start.sh --load-virion=/misc/libnormal.phar` will **not** load libnormal, because `--load-virion` does not support phar virions \u0026mdash; it's usually not necessary, and you should copy it to `virions` folder instead.\n\n## Command Line Interface (Standalone executable)\n### Usage\n```\n=== DEVirion.phar usage ===\nphp /path/to/DEVirion.phar install \u003cmanifest\u003e \u003cproject\u003e \u003cfolder\u003e [--replace]\n    - Downloads all virions required by a project\n    - \u003cmanifest\u003e is the path to the .poggit.yml of the project. You may put an\n      URLs here.\n    - \u003cproject\u003e is the case-insensitive name of the project.\n    - \u003cfolder\u003e is the path to the folder that virions should be installed in.\n      This should be /path/to/your_server/virions\n    - --replace will cause DEVirion to overwrite existing virions with the same\n      name DEVirion uses ({VirionName}_v{MajorVersion}.phar)\n\nphp /path/to/DEVirion.phar download \u003cowner\u003e \u003crepo\u003e \u003cproject\u003e \u003cversion\u003e [--branch=\":default\"] [--output=\"/path/to/output.phar\"]\n    - Downloads a virion build from Poggit\n    - \u003cowner\u003e, \u003crepo\u003e and \u003cproject\u003e are the case-insensitive names of the repo\n      owner, repo and project containing the virion. \u003cproject\u003e can be ~ if same\n      as \u003crepo\u003e.\n    - \u003cversion\u003e is the SemVer version constraint for the virion required.\n      Same as the version field in .poggit.yml\n    - Only builds from the --branch branch will be used. \":default\" means the\n      current default branch of the repo. --branch or --branch=* will accept\n      all branches.\n    - If --output is provided, the virion will be downloaded to there.\n      Otherwise, it is downloaded to \u003cproject\u003e.phar (or \"\u003cproject\u003e_(n).phar\" if\n      exists). --output without a value will echo the file contents to stderr.\n      (There is no option to echo to stdout because stdout is used for showing\n      verbose information)\n```\n\n### Requirements\nTo run the CLI,\n* PHP 7.0 or above is required\n* The OpenSSL extension must be present to provide the `https://` wrapper (cURL is not required)\n* The YAML extension is required.\n* (Will be fixed soon) The production phar may not contain the shebang line `#!/usr/bin/env php` in the stub, so directly executing `devirion.phar blah blah blah` may not work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoggit%2Fdevirion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoggit%2Fdevirion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoggit%2Fdevirion/lists"}