質問編集履歴

1

composer.jsonを追加

2022/01/19 10:30

投稿

zumino
zumino

スコア0

test CHANGED
File without changes
test CHANGED
@@ -26,5 +26,73 @@
26
26
  - /Applications/MAMP/bin/php/php7.4.16/conf/php.ini
27
27
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
28
28
  ```
29
+ ```composer.json
30
+ {
31
+ "name": "laravel/laravel",
32
+ "type": "project",
33
+ "description": "The Laravel Framework.",
34
+ "keywords": [
35
+ "framework",
36
+ "laravel"
37
+ ],
38
+ "license": "MIT",
39
+ "require": {
40
+ "php": "^7.2.5|^8.0",
41
+ "barryvdh/laravel-snappy": "0.4.8",
42
+ "fideloper/proxy": "^4.4",
43
+ "laravel/framework": "^6.20",
44
+ "laravel/tinker": "^2.5",
45
+ "simplesoftwareio/simple-qrcode": "4.2.0",
46
+ "yajra/laravel-oci8": "6.1.2"
47
+ },
48
+ "require-dev": {
49
+ "facade/ignition": "^1.16.4",
50
+ "fakerphp/faker": "^1.9.1",
51
+ "laravel/ui": "1.*",
52
+ "mockery/mockery": "^1.0",
53
+ "nunomaduro/collision": "^3.0",
54
+ "phpunit/phpunit": "^8.5.8|^9.3.3"
55
+ },
56
+ "config": {
57
+ "optimize-autoloader": true,
58
+ "preferred-install": "dist",
59
+ "sort-packages": true
60
+ },
61
+ "extra": {
62
+ "laravel": {
63
+ "dont-discover": []
64
+ }
65
+ },
66
+ "autoload": {
67
+ "psr-4": {
68
+ "App\\": "app/"
69
+ },
70
+ "classmap": [
71
+ "database/seeds",
72
+ "database/factories"
73
+ ]
74
+ },
75
+ "autoload-dev": {
76
+ "psr-4": {
77
+ "Tests\\": "tests/"
78
+ }
79
+ },
80
+ "minimum-stability": "dev",
81
+ "prefer-stable": true,
82
+ "scripts": {
83
+ "post-autoload-dump": [
84
+ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
85
+ "@php artisan package:discover --ansi"
86
+ ],
87
+ "post-root-package-install": [
88
+ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
89
+ ],
90
+ "post-create-project-cmd": [
91
+ "@php artisan key:generate --ansi"
92
+ ]
93
+ }
94
+ }
95
+
96
+ ```
29
97
  となります。ここで詰まってしまって進めていないです。
30
98
  もしわかる方いましたらご教授いただけると幸いです。