{"id":14975400,"url":"https://github.com/sunxyw/minecraft-protocol","last_synced_at":"2026-01-19T01:33:03.016Z","repository":{"id":57061817,"uuid":"468298576","full_name":"sunxyw/minecraft-protocol","owner":"sunxyw","description":"This package provides a simple way to communicate with the Minecraft server. 提供了与我的世界服务器进行交互的简易接口。","archived":false,"fork":false,"pushed_at":"2022-04-22T10:39:56.000Z","size":162,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T02:34:52.326Z","etag":null,"topics":["helper","laravel","laravel-package","laravel9","minecraft","package","php","php8","protocol","utils"],"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/sunxyw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-10T10:39:53.000Z","updated_at":"2022-11-12T11:15:11.000Z","dependencies_parsed_at":"2022-08-24T14:53:51.890Z","dependency_job_id":null,"html_url":"https://github.com/sunxyw/minecraft-protocol","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/sunxyw%2Fminecraft-protocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunxyw%2Fminecraft-protocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunxyw%2Fminecraft-protocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunxyw%2Fminecraft-protocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunxyw","download_url":"https://codeload.github.com/sunxyw/minecraft-protocol/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217220,"owners_count":20903009,"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":["helper","laravel","laravel-package","laravel9","minecraft","package","php","php8","protocol","utils"],"created_at":"2024-09-24T13:51:58.643Z","updated_at":"2026-01-19T01:33:03.009Z","avatar_url":"https://github.com/sunxyw.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MinecraftProtocol\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Total Downloads][ico-downloads]][link-downloads]\n\nThis package provides a simple way to communicate with the Minecraft server.\n\nSupported driver:\n\n* RCON (RemoteConsoleDriver)\n\n## Installation\n\nVia Composer\n\n``` bash\n$ composer require sunxyw/minecraft-protocol\n```\n\n## Usage\n\nIf you are using Laravel, please use the `MinecraftProtocol` facade directly. You should also publish the configuration\nby running `php artisan vendor:publish --provider=\"Sunxyw\\MinecraftProtocol\\MinecraftProtocolServiceProvider\"`. Your\nconnection info can be found in `config/minecraft-protocol.php`.\n\nOtherwise, please use the specified driver class, you might want to maintain a singleton instance of it by yourself. You\nwill need to pass the host, port and password to the constructor.\n\nFor methods, please refer to the [DriverInterface](src/Drivers/DriverInterface.php).\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [contributing.md](CONTRIBUTING.md) for details and a todolist.\n\n## Security\n\nIf you discover any security related issues, please email xy2496419818@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [sunxyw][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nMIT. Please see the [license file](LICENSE) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/sunxyw/minecraft-protocol.svg?style=flat-square\n\n[ico-downloads]: https://img.shields.io/packagist/dt/sunxyw/minecraft-protocol.svg?style=flat-square\n\n[ico-travis]: https://img.shields.io/travis/sunxyw/minecraft-protocol/master.svg?style=flat-square\n\n[ico-styleci]: https://styleci.io/repos/12345678/shield\n\n[link-packagist]: https://packagist.org/packages/sunxyw/minecraft-protocol\n\n[link-downloads]: https://packagist.org/packages/sunxyw/minecraft-protocol\n\n[link-travis]: https://travis-ci.org/sunxyw/minecraft-protocol\n\n[link-styleci]: https://styleci.io/repos/12345678\n\n[link-author]: https://github.com/sunxyw\n\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunxyw%2Fminecraft-protocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunxyw%2Fminecraft-protocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunxyw%2Fminecraft-protocol/lists"}