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.
1 parent fe441a9 commit da2960bCopy full SHA for da2960b
composer.json
@@ -2,7 +2,7 @@
2
"name": "leafs/cli",
3
"description": "A simple command line tool for installing and interacting with your leaf apps",
4
"homepage": "https://cli.leafphp.dev",
5
- "version": "v4.2",
+ "version": "v4.3",
6
"keywords": [
7
"leaf",
8
"php",
src/CreateCommand.php
@@ -222,6 +222,10 @@ protected function handle(): int
222
$extraCommands[] = 'composer require --dev --ansi leafs/alchemy && ./vendor/bin/alchemy install --ansi';
223
}
224
225
+ if ($this->projectType === 'api') {
226
+ $extraCommands[] = 'composer require leafs/cors --ansi';
227
+ }
228
+
229
$this->write("\n");
230
231
if ($extraOptions['docker']) {
0 commit comments