mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +00:00
This is better for performance because these then don't need to be reevaluated every time they are called. When encountering an unqualified function or constant reference, PHP will first try to locate a symbol in the current namespace by that name, and then fall back to the global namespace. This short-circuits the check, which has substantial performance effects in some cases - in particular, ord(), chr() and strlen() show ~1500x faster calls when they are fully qualified. However, this doesn't mean that PM is getting a massive amount faster. In real world terms, this translates to about 10-15% performance improvement. But before anyone gets excited, you should know that the CodeOptimizer in the PreProcessor repo has been applying fully-qualified symbol optimizations to Jenkins builds for years, which is one of the reasons why Jenkins builds have better performance than home-built or source installations. We're choosing to do this for the sake of future SafePHP integration and also to be able to get rid of the buggy CodeOptimizer, so that phar and source are more consistent.
342 lines
12 KiB
JSON
342 lines
12 KiB
JSON
{
|
|
"_readme": [
|
|
"This file locks the dependencies of your project to a known state",
|
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
|
"This file is @generated automatically"
|
|
],
|
|
"content-hash": "d3fb809caf4d5a5c99054f47f28ff271",
|
|
"packages": [
|
|
{
|
|
"name": "adhocore/json-comment",
|
|
"version": "v0.0.7",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/adhocore/php-json-comment.git",
|
|
"reference": "135356c7e7336ef59924f1d921c770045f937a76"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/adhocore/php-json-comment/zipball/135356c7e7336ef59924f1d921c770045f937a76",
|
|
"reference": "135356c7e7336ef59924f1d921c770045f937a76",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": ">=5.4"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.5"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Ahc\\Json\\": "src/"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Jitendra Adhikari",
|
|
"email": "jiten.adhikary@gmail.com"
|
|
}
|
|
],
|
|
"description": "Lightweight JSON comment stripper library for PHP",
|
|
"keywords": [
|
|
"comment",
|
|
"json",
|
|
"strip-comment"
|
|
],
|
|
"time": "2018-08-01T12:27:26+00:00"
|
|
},
|
|
{
|
|
"name": "daverandom/callback-validator",
|
|
"version": "dev-master",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/DaveRandom/CallbackValidator.git",
|
|
"reference": "d87a08cddbc6099816ed01e50ce25cdfc43b542f"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/DaveRandom/CallbackValidator/zipball/d87a08cddbc6099816ed01e50ce25cdfc43b542f",
|
|
"reference": "d87a08cddbc6099816ed01e50ce25cdfc43b542f",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"ext-reflection": "*",
|
|
"php": ">=7.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^6.0"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"DaveRandom\\CallbackValidator\\": "src/"
|
|
}
|
|
},
|
|
"notification-url": "https://packagist.org/downloads/",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Chris Wright",
|
|
"email": "cw@daverandom.com"
|
|
}
|
|
],
|
|
"description": "Tools for validating callback signatures",
|
|
"time": "2017-04-03T15:22:41+00:00"
|
|
},
|
|
{
|
|
"name": "pocketmine/binaryutils",
|
|
"version": "0.1.5",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/pmmp/BinaryUtils.git",
|
|
"reference": "03361b0d78ef2b400a99e96406aa594a5bc1c4ed"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/pmmp/BinaryUtils/zipball/03361b0d78ef2b400a99e96406aa594a5bc1c4ed",
|
|
"reference": "03361b0d78ef2b400a99e96406aa594a5bc1c4ed",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": ">=7.2",
|
|
"php-64bit": "*"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"pocketmine\\utils\\": "src/"
|
|
}
|
|
},
|
|
"license": [
|
|
"LGPL-3.0"
|
|
],
|
|
"description": "Classes and methods for conveniently handling binary data",
|
|
"support": {
|
|
"source": "https://github.com/pmmp/BinaryUtils/tree/0.1.5",
|
|
"issues": "https://github.com/pmmp/BinaryUtils/issues"
|
|
},
|
|
"time": "2019-01-04T13:32:11+00:00"
|
|
},
|
|
{
|
|
"name": "pocketmine/math",
|
|
"version": "0.2.2",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/pmmp/Math.git",
|
|
"reference": "b755d3fb7025c4ddb7d9d6df0ba7e0b65125e51c"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/pmmp/Math/zipball/b755d3fb7025c4ddb7d9d6df0ba7e0b65125e51c",
|
|
"reference": "b755d3fb7025c4ddb7d9d6df0ba7e0b65125e51c",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"php": ">=7.2.0",
|
|
"php-64bit": "*"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"pocketmine\\math\\": "src/"
|
|
}
|
|
},
|
|
"license": [
|
|
"LGPL-3.0"
|
|
],
|
|
"description": "PHP library containing math related code used in PocketMine-MP",
|
|
"support": {
|
|
"source": "https://github.com/pmmp/Math/tree/0.2.2",
|
|
"issues": "https://github.com/pmmp/Math/issues"
|
|
},
|
|
"time": "2019-01-04T15:42:36+00:00"
|
|
},
|
|
{
|
|
"name": "pocketmine/nbt",
|
|
"version": "0.2.4",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/pmmp/NBT.git",
|
|
"reference": "05dddb51830fd8f3b6c93e553abe07643ec96fc5"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/pmmp/NBT/zipball/05dddb51830fd8f3b6c93e553abe07643ec96fc5",
|
|
"reference": "05dddb51830fd8f3b6c93e553abe07643ec96fc5",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"ext-zlib": "*",
|
|
"php": ">=7.2.0",
|
|
"php-64bit": "*",
|
|
"pocketmine/binaryutils": "^0.1.0"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"pocketmine\\nbt\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"pocketmine\\nbt\\": "tests/phpunit/"
|
|
}
|
|
},
|
|
"license": [
|
|
"LGPL-3.0"
|
|
],
|
|
"description": "PHP library for working with Named Binary Tags",
|
|
"support": {
|
|
"source": "https://github.com/pmmp/NBT/tree/0.2.4",
|
|
"issues": "https://github.com/pmmp/NBT/issues"
|
|
},
|
|
"time": "2019-01-04T15:28:44+00:00"
|
|
},
|
|
{
|
|
"name": "pocketmine/raklib",
|
|
"version": "0.12.1",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/pmmp/RakLib.git",
|
|
"reference": "334b469f2d0f070f17902d7ac584bea7c6149dc6"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/pmmp/RakLib/zipball/334b469f2d0f070f17902d7ac584bea7c6149dc6",
|
|
"reference": "334b469f2d0f070f17902d7ac584bea7c6149dc6",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"ext-bcmath": "*",
|
|
"ext-pthreads": ">=3.1.7dev",
|
|
"ext-sockets": "*",
|
|
"php": ">=7.2.0",
|
|
"php-64bit": "*",
|
|
"php-ipv6": "*",
|
|
"pocketmine/binaryutils": "^0.1.0",
|
|
"pocketmine/snooze": "^0.1.0",
|
|
"pocketmine/spl": "^0.3.0"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"raklib\\": "src/"
|
|
}
|
|
},
|
|
"license": [
|
|
"GPL-3.0"
|
|
],
|
|
"description": "A RakNet server implementation written in PHP",
|
|
"support": {
|
|
"source": "https://github.com/pmmp/RakLib/tree/0.12.1",
|
|
"issues": "https://github.com/pmmp/RakLib/issues"
|
|
},
|
|
"time": "2019-01-04T14:23:37+00:00"
|
|
},
|
|
{
|
|
"name": "pocketmine/snooze",
|
|
"version": "0.1.1",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/pmmp/Snooze.git",
|
|
"reference": "b7bd231bdb75e69300cac89ccd515fc731c38c40"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/pmmp/Snooze/zipball/b7bd231bdb75e69300cac89ccd515fc731c38c40",
|
|
"reference": "b7bd231bdb75e69300cac89ccd515fc731c38c40",
|
|
"shasum": ""
|
|
},
|
|
"require": {
|
|
"ext-pthreads": ">=3.1.7dev",
|
|
"php-64bit": ">=7.2.0"
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"pocketmine\\snooze\\": "src/"
|
|
}
|
|
},
|
|
"license": [
|
|
"LGPL-3.0"
|
|
],
|
|
"description": "Thread notification management library for code using the pthreads extension",
|
|
"support": {
|
|
"source": "https://github.com/pmmp/Snooze/tree/0.1.1",
|
|
"issues": "https://github.com/pmmp/Snooze/issues"
|
|
},
|
|
"time": "2019-01-04T15:54:45+00:00"
|
|
},
|
|
{
|
|
"name": "pocketmine/spl",
|
|
"version": "0.3.2",
|
|
"source": {
|
|
"type": "git",
|
|
"url": "https://github.com/pmmp/SPL.git",
|
|
"reference": "7fd53857cd000491ba69e8db865792a024dd2c49"
|
|
},
|
|
"dist": {
|
|
"type": "zip",
|
|
"url": "https://api.github.com/repos/pmmp/SPL/zipball/7fd53857cd000491ba69e8db865792a024dd2c49",
|
|
"reference": "7fd53857cd000491ba69e8db865792a024dd2c49",
|
|
"shasum": ""
|
|
},
|
|
"type": "library",
|
|
"autoload": {
|
|
"exclude-from-classmap": [
|
|
"stubs"
|
|
],
|
|
"classmap": [
|
|
"./"
|
|
]
|
|
},
|
|
"license": [
|
|
"LGPL-3.0"
|
|
],
|
|
"description": "Standard library files required by PocketMine-MP and related projects",
|
|
"support": {
|
|
"source": "https://github.com/pmmp/SPL/tree/master"
|
|
},
|
|
"time": "2018-08-12T15:17:39+00:00"
|
|
}
|
|
],
|
|
"packages-dev": [],
|
|
"aliases": [],
|
|
"minimum-stability": "stable",
|
|
"stability-flags": {
|
|
"ext-pthreads": 20,
|
|
"daverandom/callback-validator": 20
|
|
},
|
|
"prefer-stable": false,
|
|
"prefer-lowest": false,
|
|
"platform": {
|
|
"php": ">=7.2.0",
|
|
"php-64bit": "*",
|
|
"ext-bcmath": "*",
|
|
"ext-curl": "*",
|
|
"ext-ctype": "*",
|
|
"ext-date": "*",
|
|
"ext-hash": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-openssl": "*",
|
|
"ext-pcre": "*",
|
|
"ext-phar": "*",
|
|
"ext-pthreads": ">=3.1.7dev",
|
|
"ext-reflection": "*",
|
|
"ext-sockets": "*",
|
|
"ext-spl": "*",
|
|
"ext-yaml": ">=2.0.0",
|
|
"ext-zip": "*",
|
|
"ext-zlib": ">=1.2.11"
|
|
},
|
|
"platform-dev": []
|
|
}
|