mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
118 lines
4.1 KiB
JSON
118 lines
4.1 KiB
JSON
{
|
|
"name": "aspirepress/aspirecloud",
|
|
"type": "project",
|
|
"description": "AspirePress API server implementation",
|
|
"keywords": ["aspirepress", "wordpress", "wp"],
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": "^8.3",
|
|
"ext-intl": "*",
|
|
"ext-mbstring": "*",
|
|
"beacon-hq/bag": "^2.6.2",
|
|
"cweagans/composer-patches": "^1.7.3",
|
|
"elasticsearch/elasticsearch": "^8.19",
|
|
"inertiajs/inertia-laravel": "^2.0.10",
|
|
"laravel/framework": "^12.35.1",
|
|
"laravel/jetstream": "^5.3.8",
|
|
"laravel/sanctum": "^4.2.0",
|
|
"laravel/tinker": "^2.10.1",
|
|
"league/flysystem-aws-s3-v3": "^3.30.1",
|
|
"predis/predis": "^2.4.0",
|
|
"spatie/laravel-permission": "^6.21.0",
|
|
"symfony/http-client": "^7.3.4",
|
|
"symfony/mailgun-mailer": "^7.3.1",
|
|
"thecodingmachine/safe": "^3.3.0",
|
|
"tightenco/ziggy": "^2.6.0"
|
|
},
|
|
"require-dev": {
|
|
"carthage-software/mago": "1.0.0-beta.34",
|
|
"fakerphp/faker": "^1.24.1",
|
|
"larastan/larastan": "^3.7.2",
|
|
"laravel/pail": "^1.2.3",
|
|
"mockery/mockery": "^1.6.12",
|
|
"nunomaduro/collision": "^8.8.2",
|
|
"pestphp/pest": "^3.8.4",
|
|
"pestphp/pest-plugin-laravel": "^3.2",
|
|
"phpstan/phpstan": "^2.1.31",
|
|
"psalm/plugin-laravel": "^3.0.4",
|
|
"roave/security-advisories": "dev-latest",
|
|
"spatie/laravel-web-tinker": "^1.10.1",
|
|
"thecodingmachine/phpstan-safe-rule": "^1.4.1",
|
|
"vimeo/psalm": "^6.13.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"analyze": [
|
|
"@mago analyze",
|
|
"@phpstan",
|
|
"@psalm"
|
|
],
|
|
"analyze:ci": [
|
|
"@mago analyze --reporting-format=github",
|
|
"@phpstan --error-format=github",
|
|
"@psalm --output-format=github"
|
|
],
|
|
"format": "@mago format",
|
|
"format:check": "@format --check",
|
|
"lint": "@mago lint",
|
|
"lint:ci": "@mago lint --reporting-format=github",
|
|
"mago": "mago",
|
|
"phpstan": "phpstan --memory-limit=2G --verbose",
|
|
"psalm": "psalm --memory-limit=2G",
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi",
|
|
"@php artisan storage:link --quiet --force"
|
|
],
|
|
"post-update-cmd": [
|
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi",
|
|
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
|
|
"@php artisan migrate --graceful --ansi"
|
|
],
|
|
"dev": [
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail\" \"yarn run dev\" --names=server,queue,logs,vite"
|
|
]
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
},
|
|
"patches": {
|
|
"beacon-hq/bag": {
|
|
"Fix Bag dependency injection in single-action controllers": "patches/fix-invokable-controller-injection.patch"
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"carthage-software/mago": true,
|
|
"cweagans/composer-patches": true,
|
|
"pestphp/pest-plugin": true,
|
|
"php-http/discovery": true
|
|
},
|
|
"bump-after-update": true,
|
|
"notify-on-install": false,
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|