mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-13 05:42:30 +03:00
Includes major version change of antonioribeiro/google2fa which changes secret length. From manual testing of old MFA secrets and new, this should not be breaking at all.
117 lines
3.6 KiB
JSON
117 lines
3.6 KiB
JSON
{
|
|
"name": "bookstackapp/bookstack",
|
|
"description": "BookStack documentation platform",
|
|
"keywords": [
|
|
"BookStack",
|
|
"Documentation"
|
|
],
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"require": {
|
|
"php": "^8.2.0",
|
|
"ext-curl": "*",
|
|
"ext-dom": "*",
|
|
"ext-fileinfo": "*",
|
|
"ext-gd": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-xml": "*",
|
|
"ext-zip": "*",
|
|
"bacon/bacon-qr-code": "^3.0",
|
|
"dompdf/dompdf": "^3.1",
|
|
"guzzlehttp/guzzle": "^7.4",
|
|
"intervention/image": "^3.5",
|
|
"knplabs/knp-snappy": "^1.5",
|
|
"laravel/framework": "^v12.26.4",
|
|
"laravel/socialite": "^5.10",
|
|
"laravel/tinker": "^2.8",
|
|
"league/commonmark": "^2.3",
|
|
"league/flysystem-aws-s3-v3": "^3.0",
|
|
"league/html-to-markdown": "^5.0.0",
|
|
"league/oauth2-client": "^2.6",
|
|
"onelogin/php-saml": "^4.3.1",
|
|
"phpseclib/phpseclib": "^3.0",
|
|
"pragmarx/google2fa": "^9.0",
|
|
"predis/predis": "^3.2",
|
|
"socialiteproviders/discord": "^4.1",
|
|
"socialiteproviders/gitlab": "^4.1",
|
|
"socialiteproviders/microsoft-azure": "^5.1",
|
|
"socialiteproviders/okta": "^4.2",
|
|
"socialiteproviders/twitch": "^5.3",
|
|
"ssddanbrown/htmldiff": "^2.0.0"
|
|
},
|
|
"require-dev": {
|
|
"fakerphp/faker": "^1.21",
|
|
"itsgoingd/clockwork": "^5.1",
|
|
"mockery/mockery": "^1.5",
|
|
"nunomaduro/collision": "^8.6",
|
|
"larastan/larastan": "^v3.0",
|
|
"phpunit/phpunit": "^11.5",
|
|
"squizlabs/php_codesniffer": "^4.0.1",
|
|
"ssddanbrown/asserthtml": "^3.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"BookStack\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
},
|
|
"files": [
|
|
"app/App/helpers.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"check-static": "phpstan --memory-limit=2g",
|
|
"format": "phpcbf",
|
|
"lint": "phpcs",
|
|
"test": "phpunit",
|
|
"t-reset": "@php artisan test --recreate-databases",
|
|
"build-licenses": [
|
|
"@php ./dev/licensing/gen-js-licenses",
|
|
"@php ./dev/licensing/gen-php-licenses"
|
|
],
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi"
|
|
],
|
|
"pre-install-cmd": [
|
|
"@php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\""
|
|
],
|
|
"post-install-cmd": [
|
|
"@php artisan cache:clear",
|
|
"@php artisan view:clear"
|
|
],
|
|
"refresh-test-database": [
|
|
"@putenv APP_TIMEZONE=UTC",
|
|
"@php artisan migrate:refresh --database=mysql_testing",
|
|
"@php artisan db:seed --class=DummyContentSeeder --database=mysql_testing"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "8.2.0"
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|