Download the PHP package craft/core without Composer
On this page you can find all versions of the php package craft/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package core
Short Description A PHP library for all things Minecraft: Java Edition.
License MIT
Homepage https://github.com/Phpcraft/core
Informations about the package core
Phpcraft
A PHP library for all things Minecraft: Java Edition.
This project has been abandoned! The limited subset of 1.8.x - 1.15.x that has been implemented should work fine. If and how anything after that works is entirely dependant on what changed about the protocol.
Prerequisites
You'll need PHP (CLI), Composer, and Git.
Instructions
- Debian:
apt-get -y install php-cli composer git
- Windows:
- Install Cone, which will install the latest PHP with it.
- Run
cone get composer
as administrator. - Install Git for Windows.
Projects using Phpcraft
- Phpcraft Server
- Phpcraft Client
- Phpcraft Toolbox — CLI tools
- Phpcraft Surrogate — reverse proxy
- mcverify — a REST API for linking your users' Minecraft accounts
- Phpcraft Proxy
Using Phpcraft
Thanks to Composer, using Phpcraft is really easy. Just head into your project folder and run:
Next, we'll run a self check:
If any dependencies are missing, follow the instructions, and then run the self check again.
Finally, you can require "vendor/autoload.php";
to use Phpcraft's many APIs.
In addition to the "Projects using Phpcraft" section above serving up great example code, there's also the docs and wiki for you to read.
Modules
You can use modules to extend the functionality of Phpcraft:
Thanks
- Thanks to wiki.vg and the people who're maintaining it.
- Thanks to Jetbrains for providing me with an open-source license for PhpStorm — it's a lovely PHP IDE, and made working on this project much easier.
Phpcraft is not partnered or associated with Microsoft or Mojang.
All versions of core with dependencies
ext-curl Version *
ext-gmp Version *
ext-json Version *
ext-mbstring Version *
ext-openssl Version *
ext-sockets Version *
ext-spl Version *
ext-zlib Version *
hell-sh/asyncore Version ^2.0
hell-sh/enum Version ^1.1
hell-sh/hotswapp Version ^1.1
hell-sh/uuid Version ^1.2
phpseclib/mcrypt_compat Version ^1.0