We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5966c24 + d3edd2a commit 322efcaCopy full SHA for 322efca
.github/workflows/tests.yml
@@ -13,7 +13,7 @@ jobs:
13
strategy:
14
fail-fast: true
15
matrix:
16
- php: [7.2, 7.3, 7.4]
+ php: [7.3, 7.4]
17
18
name: PHP ${{ matrix.php }}
19
src/NewCommand.php
@@ -41,6 +41,10 @@ protected function configure()
41
*/
42
protected function execute(InputInterface $input, OutputInterface $output)
43
{
44
+ if (version_compare(PHP_VERSION, '7.3.0', '<')) {
45
+ throw new RuntimeException('The Laravel installer requires PHP 7.3.0 or greater. Please use "composer create-project laravel/laravel" instead.');
46
+ }
47
+
48
if (! extension_loaded('zip')) {
49
throw new RuntimeException('The Zip PHP extension is not installed. Please install it and try again.');
50
}
0 commit comments