mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-09-19 02:54:37 +03:00
Moved to standard symfony mailer now that my patches have been upstreamed. This changes the config to work with the symfony option, following the same overall logic. Also updated testing to allow test runs via mulitple custom env options. Closes #5636
116 lines
3.5 KiB
JSON
116 lines
3.5 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": "^v11.37",
|
|
"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.0",
|
|
"phpseclib/phpseclib": "^3.0",
|
|
"pragmarx/google2fa": "^8.0",
|
|
"predis/predis": "^2.1",
|
|
"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.1",
|
|
"larastan/larastan": "^v3.0",
|
|
"phpunit/phpunit": "^11.5",
|
|
"squizlabs/php_codesniffer": "^3.7",
|
|
"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": [
|
|
"@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
|
|
}
|