-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.x] Implies only the new migrations behaviour on L11 (#305)
* Implies only the new migrations behaviour on L11 * Improves method `usingLaravel11OrNewer`
- Loading branch information
1 parent
a269426
commit e5a3ce8
Showing
5 changed files
with
226 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"name": "laravel/laravel", | ||
"type": "project", | ||
"description": "The skeleton application for the Laravel framework.", | ||
"keywords": ["laravel", "framework"], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^8.1", | ||
"guzzlehttp/guzzle": "^7.2", | ||
"laravel/framework": "^10.10", | ||
"laravel/sanctum": "^3.3", | ||
"laravel/tinker": "^2.8" | ||
}, | ||
"require-dev": { | ||
"fakerphp/faker": "^1.9.1", | ||
"laravel/pint": "^1.0", | ||
"laravel/sail": "^1.18", | ||
"mockery/mockery": "^1.4.4", | ||
"nunomaduro/collision": "^7.0", | ||
"phpunit/phpunit": "^10.1", | ||
"spatie/laravel-ignition": "^2.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"App\\": "app/", | ||
"Database\\Factories\\": "database/factories/", | ||
"Database\\Seeders\\": "database/seeders/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"post-autoload-dump": [ | ||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", | ||
"@php artisan package:discover --ansi" | ||
], | ||
"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" | ||
] | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"dont-discover": [] | ||
} | ||
}, | ||
"config": { | ||
"optimize-autoloader": true, | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true, | ||
"php-http/discovery": true | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"prefer-stable": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "laravel/laravel", | ||
"type": "project", | ||
"description": "The skeleton application for the Laravel framework.", | ||
"keywords": ["laravel", "framework"], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^8.2", | ||
"laravel/framework": "^11.0", | ||
"laravel/tinker": "^2.9" | ||
}, | ||
"require-dev": { | ||
"fakerphp/faker": "^1.23", | ||
"laravel/pint": "^1.13", | ||
"laravel/sail": "^1.26", | ||
"mockery/mockery": "^1.6", | ||
"nunomaduro/collision": "^8.0", | ||
"phpunit/phpunit": "^10.5", | ||
"spatie/laravel-ignition": "^2.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"App\\": "app/", | ||
"Database\\Factories\\": "database/factories/", | ||
"Database\\Seeders\\": "database/seeders/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"post-autoload-dump": [ | ||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", | ||
"@php artisan package:discover --ansi" | ||
], | ||
"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 --ansi" | ||
] | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "11.x-dev" | ||
}, | ||
"laravel": { | ||
"dont-discover": [] | ||
} | ||
}, | ||
"config": { | ||
"optimize-autoloader": true, | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true, | ||
"php-http/discovery": true | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "laravel/laravel", | ||
"type": "project", | ||
"description": "The skeleton application for the Laravel framework.", | ||
"keywords": ["laravel", "framework"], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^8.2", | ||
"laravel/framework": "^12.0.1", | ||
"laravel/tinker": "^2.9" | ||
}, | ||
"require-dev": { | ||
"fakerphp/faker": "^1.23", | ||
"laravel/pint": "^1.13", | ||
"laravel/sail": "^1.26", | ||
"mockery/mockery": "^1.6", | ||
"nunomaduro/collision": "^8.0", | ||
"phpunit/phpunit": "^10.5", | ||
"spatie/laravel-ignition": "^2.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"App\\": "app/", | ||
"Database\\Factories\\": "database/factories/", | ||
"Database\\Seeders\\": "database/seeders/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"post-autoload-dump": [ | ||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", | ||
"@php artisan package:discover --ansi" | ||
], | ||
"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 --ansi" | ||
] | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "11.x-dev" | ||
}, | ||
"laravel": { | ||
"dont-discover": [] | ||
} | ||
}, | ||
"config": { | ||
"optimize-autoloader": true, | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true, | ||
"php-http/discovery": true | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |