index/composer.json
flashwave 5150f0cb56 Allow including Index through Composer.
index.php automatically detects if the Composer autoloader exists and doesn't initialise its own autoloader.
Also including phpunit and phpstan through it instead of including the phars, probably makes more sense to do it the other way but they're Big.
2023-07-21 18:04:29 +00:00

35 lines
932 B
JSON

{
"name": "flashwave/index",
"description": "Composer package for the common library for my projects.",
"type": "library",
"homepage": "https://railgun.sh/index",
"licence": "bsd-3-clause-clear",
"require": {
"php": ">=8.1",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^10.2",
"phpstan/phpstan": "^1.10"
},
"suggest": {
"ext-mysqli": "Support for the Index\\Data\\MariaDB namespace (both mysqlnd and libmysql are supported).",
"ext-sqlite3": "Support for the Index\\Data\\SQLite namespace."
},
"authors": [
{
"name": "flashwave",
"email": "packagist@flash.moe",
"homepage": "https://flash.moe",
"role": "mom"
}
],
"autoload": {
"psr-4": {
"Index\\": "src"
},
"files": [
"index.php"
]
}
}