- Removed outdated AddonsTableTest and related assertions. - Unified service namespaces: migrated support classes to `Support` and service classes to `Services`. - Added `name` column to the `addons` table and updated related models, migrations, and seeders. - Replaced `AddonBootService` references with `AddonRuntimeService` throughout tests and codebase. - Updated Rector configuration and Mago schema, improving import handling and schema validation. - Simplified addon discovery logic, enhancing boot cache performance. - Removed unused methods and adjusted runtime behavior for stricter validation and consistency.
223 lines
7.1 KiB
JSON
223 lines
7.1 KiB
JSON
{
|
|
"name": "phpvms/phpvms",
|
|
"description": "phpVMS - Virtual Airline Administration",
|
|
"version": "8.0",
|
|
"keywords": [
|
|
"phpvms",
|
|
"virtual",
|
|
"airlines"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"type": "project",
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"homepage": "https://www.phpvms.net",
|
|
"repositories": [
|
|
{
|
|
"type": "vcs",
|
|
"url": "https://github.com/arthurpar06/laravel-theme"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.3",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-simplexml": "*",
|
|
"ext-bcmath": "*",
|
|
"ext-pdo": "*",
|
|
"ext-intl": "*",
|
|
"ext-zip": "*",
|
|
"fisharebest/ext-calendar": "^2.5",
|
|
"symfony/polyfill-iconv": "*",
|
|
"symfony/polyfill-intl-icu": "*",
|
|
"symfony/polyfill-intl-idn": "*",
|
|
"symfony/polyfill-util": "*",
|
|
"symfony/polyfill-mbstring": "*",
|
|
"symfony/polyfill-php84": "*",
|
|
"symfony/polyfill-php85": "*",
|
|
"symfony/deprecation-contracts": "~v3.2.0",
|
|
"symfony/event-dispatcher-contracts": "^3.5.0",
|
|
"symfony/mailgun-mailer": "^7.4",
|
|
"symfony/console": "^7.4",
|
|
"symfony/http-client": "^7.4",
|
|
"symfony/yaml": "^7.4",
|
|
"psr/container": "1.1.1",
|
|
"composer/composer": "^2.9.3",
|
|
"composer/installers": "^2.3.0",
|
|
"laravel/framework": "^v13.9",
|
|
"arrilot/laravel-widgets": "^3.14.0",
|
|
"guzzlehttp/guzzle": "^7.9.0",
|
|
"hashids/hashids": "~4.1.0",
|
|
"igaster/laravel-theme": "dev-master",
|
|
"intervention/image": "~2.4",
|
|
"jmikola/geojson": "^1.2.0",
|
|
"joshbrw/laravel-module-installer": "~2.0.1",
|
|
"laracasts/flash": "^3.2.6",
|
|
"laravel/helpers": "^v1.8.3",
|
|
"jeremykendall/php-domain-parser": "~6.3",
|
|
"league/commonmark": "^2.8.2",
|
|
"league/csv": "^9.14.0",
|
|
"league/geotools": "^2.0",
|
|
"league/iso3166": "~4.2.0",
|
|
"markrogoyski/math-php": "~2.5.0",
|
|
"myclabs/deep-copy": "^1.12.0",
|
|
"php-units-of-measure/php-units-of-measure": "~2.1.0",
|
|
"spatie/valuestore": "~1.3.2",
|
|
"tivie/php-os-detector": "~1.1.0",
|
|
"vlucas/phpdotenv": "^5.6",
|
|
"oomphinc/composer-installers-extender": "~2.0.0",
|
|
"laravel/ui": "^4.6.3",
|
|
"elcobvg/laravel-opcache": "^0.4.1",
|
|
"fakerphp/faker": "^1.24.1",
|
|
"jpkleemans/attribute-events": "^1.4.0",
|
|
"akaunting/laravel-money": "^6.0.3",
|
|
"staudenmeir/belongs-to-through": "^v2.18.0",
|
|
"staudenmeir/eloquent-has-many-deep": "1.22.1",
|
|
"spatie/laravel-ignition": "^2.12.0",
|
|
"kyslik/column-sortable": "^8.0",
|
|
"filament/filament": "^5.4.1",
|
|
"flowframe/laravel-trend": "^0.5.0",
|
|
"bezhansalleh/filament-shield": "^4.2",
|
|
"spatie/laravel-backup": "^10.2.1",
|
|
"shuvroroy/filament-spatie-laravel-backup": "^3.4",
|
|
"laravel/socialite": "^5.27",
|
|
"socialiteproviders/discord": "^4.2",
|
|
"symfony/postmark-mailer": "^7.4",
|
|
"league/html-to-markdown": "^5.1",
|
|
"league/flysystem-aws-s3-v3": "^3.29.0",
|
|
"league/flysystem-sftp-v3": "^3.0",
|
|
"nikolaposa/version": "^4.2",
|
|
"spatie/laravel-activitylog": "^4.12.3",
|
|
"socialiteproviders/vatsim": "^5.0",
|
|
"socialiteproviders/ivao": "^4.0",
|
|
"mailersend/laravel-driver": "^3.1",
|
|
"opcodesio/log-viewer": "^3.24",
|
|
"spatie/laravel-data": "^4.22.1",
|
|
"jlorente/laravel-data-migrations": "^2.0",
|
|
"hidehalo/nanoid-php": "^2.0",
|
|
"laravel/octane": "^2.17"
|
|
},
|
|
"require-dev": {
|
|
"filp/whoops": "^2.18.4",
|
|
"mockery/mockery": "^1.5.0",
|
|
"nunomaduro/collision": "^v8.9.4",
|
|
"laravel/sail": "^1.58",
|
|
"laravel/pint": "^1.29.1",
|
|
"kitloong/laravel-migrations-generator": "^7.3.0",
|
|
"rector/rector": "^2.4.2",
|
|
"driftingly/rector-laravel": "^2.3",
|
|
"laravel/pail": "^1.2.6",
|
|
"pestphp/pest": "*",
|
|
"pestphp/pest-plugin-type-coverage": "^4.0",
|
|
"pestphp/pest-plugin-laravel": "^4.1",
|
|
"pestphp/pest-plugin-livewire": "^4.0",
|
|
"pestphp/pest-plugin-arch": "^4.0.2",
|
|
"barryvdh/laravel-ide-helper": "^3.7.0",
|
|
"larastan/larastan": "^3.9.6",
|
|
"fruitcake/laravel-debugbar": "^4.2.8",
|
|
"laravel/boost": "^2.0",
|
|
"laravel/tinker": "^3.0",
|
|
"carthage-software/mago": "^1.29.0"
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"app/helpers.php"
|
|
],
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/",
|
|
"Modules\\": "modules/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"installer-types": [
|
|
"phpvms-module"
|
|
],
|
|
"installer-paths": {
|
|
"modules/{$name}/": [
|
|
"type:phpvms-module"
|
|
]
|
|
},
|
|
"module-dir": "modules",
|
|
"symfony": {
|
|
"require": "^7.4"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi",
|
|
"@php artisan ide-helper:generate || true",
|
|
"@php artisan ide-helper:meta || true",
|
|
".hooks/setup-git-hooks.sh || true"
|
|
],
|
|
"post-update-cmd": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
|
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
|
|
"@php artisan vendor:publish --tag=log-viewer-assets --ansi --force",
|
|
"@php artisan filament:upgrade"
|
|
],
|
|
"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 --ansi"
|
|
],
|
|
"bump:minor": [
|
|
"composer update && composer bump",
|
|
"bum x npm-check-updates -u -t minor && npm install"
|
|
],
|
|
"lint": "pint --parallel",
|
|
"pint": "pint --parallel",
|
|
"pint:test": "pint --test --parallel",
|
|
"refactor": "rector",
|
|
"test:lint": "pint --test --parallel",
|
|
"test:refactor": "rector --dry-run",
|
|
"test:types": "phpstan analyse",
|
|
"test:arch": "pest --filter=arch",
|
|
"test:type-coverage": "pest --type-coverage",
|
|
"test:unit": "pest --parallel --coverage",
|
|
"test": [
|
|
"@test:lint",
|
|
"@test:refactor",
|
|
"@test:types",
|
|
"@test:type-coverage",
|
|
"@test:unit"
|
|
],
|
|
"setup": [
|
|
"composer install",
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
|
"@php artisan key:generate",
|
|
"@php artisan migrate --force",
|
|
"npm install --ignore-scripts",
|
|
"npm run build",
|
|
"@php artisan filament:assets"
|
|
],
|
|
"dev": [
|
|
"Composer\\Config::disableProcessTimeout",
|
|
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve --host 0.0.0.0\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
|
|
]
|
|
},
|
|
"config": {
|
|
"bin-dir": "vendor/bin/",
|
|
"classmap-authoritative": false,
|
|
"allow-plugins": {
|
|
"composer/installers": true,
|
|
"joshbrw/laravel-module-installer": true,
|
|
"oomphinc/composer-installers-extender": true,
|
|
"symfony/flex": true,
|
|
"php-http/discovery": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"pestphp/pest-plugin": true
|
|
}
|
|
}
|
|
}
|