{"id":28331885,"url":"https://github.com/jarne/pmmp-dev-maintenance","last_synced_at":"2026-04-29T22:40:59.214Z","repository":{"id":294076226,"uuid":"985911270","full_name":"jarne/pmmp-dev-maintenance","owner":"jarne","description":"🧑‍💻 Scripts for maintaining a PocketMine-MP dev environment","archived":false,"fork":false,"pushed_at":"2025-05-18T20:15:10.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T06:39:00.374Z","etag":null,"topics":["bash","php","pocketmine-mp","script","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jarne.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-18T19:19:09.000Z","updated_at":"2025-05-18T20:15:13.000Z","dependencies_parsed_at":"2025-05-18T20:41:38.343Z","dependency_job_id":null,"html_url":"https://github.com/jarne/pmmp-dev-maintenance","commit_stats":null,"previous_names":["jarne/pmmp-dev-maintenance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jarne/pmmp-dev-maintenance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarne%2Fpmmp-dev-maintenance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarne%2Fpmmp-dev-maintenance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarne%2Fpmmp-dev-maintenance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarne%2Fpmmp-dev-maintenance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarne","download_url":"https://codeload.github.com/jarne/pmmp-dev-maintenance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarne%2Fpmmp-dev-maintenance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017453,"owners_count":26086081,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","php","pocketmine-mp","script","shell"],"created_at":"2025-05-26T19:17:45.212Z","updated_at":"2025-10-14T01:06:14.585Z","avatar_url":"https://github.com/jarne.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003epmmp-dev-maintenance\u003c/h1\u003e\n\u003cp align=\"center\"\u003eScripts for maintaining a PocketMine-MP dev environment\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"./LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/jarne/pmmp-dev-maintenance.svg\" alt=\"License\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## 📙 Description\n\npmmp-dev-maintenance is an opinionated script for my recurring routines in keeping my [PocketMine-MP](https://github.com/pmmp/PocketMine-MP) installation\nfor local development up-to-date. It provides several automations to download the latest PHP binaries, PocketMine-MP\nrelease file, the sources of the latest release and the [DevTools plugin](https://github.com/pmmp/DevTools).\n\nThe script is developed and tested on Linux (Ubuntu), but it was previously used successfully on macOS, too.\nIt partly depends on some dirty code and parsing values that could change in the future, so I personally would not\nrecommend using this anywhere but in a development environment, and remember to always keep backups of your files.\n\n## 🖥 Usage\n\nEdit the file `pm-maint.sh` (settings part at the beginning of the file) depending on your system environment:\n\n| Variable | Description |\n| --- | --- |\n| `BINARIES_TARGET_ARCH` | System architecture, possible values are `Linux-x86_64`, `MacOS-x86_64`, ... (see files section of [releases of https://github.com/pmmp/PHP-Binaries](https://github.com/pmmp/PHP-Binaries) for a full list) |\n| `BINARIES_TAG` | Tag of the latest PHP binaries used by PocketMine-MP, this is `pm5-latest` at the time of writing, also see [releases of https://github.com/pmmp/PHP-Binaries](https://github.com/pmmp/PHP-Binaries) for an up-to-date value (release tag) |\n\nRun the script using:\n\n```\n./pm-maint.sh\n```\n\nAvailable actions to select from:\n\n| Name | Description |\n| --- | --- |\n| binaries | Download the latest PHP binary files and symbols |\n| server | Download the latest PocketMine-MP release server PHAR and install dependencies |\n| pmenv | Replace common files such as the start script, composer lock file, etc., with the latest version |\n| sources | Download the sources for the latest PocketMine-MP release |\n| devtools | Download the latest release of the DevTools plugin |\n\n## ⌨️ Development\n\nThe script is created as a simple Bash script. It uses curl for download the files and to call the GitHub API.\nResults from the API are parsed using jq.\n\nThe script file has three parts:\n\n1. Variable declarations for environment, API url's and file names\n2. Functions to parse infos about the latest releases from the GitHub API\n3. Functions to update specific parts of the installations (actual actions that are executed)\n\n## 🙋‍ Contribution\n\nContributions are always very welcome! It's completely equal if you're a beginner or a more experienced developer.\n\nThanks for your interest 🎉👍!\n\n## 👨‍⚖️ License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarne%2Fpmmp-dev-maintenance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarne%2Fpmmp-dev-maintenance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarne%2Fpmmp-dev-maintenance/lists"}