質問するログイン新規登録

質問編集履歴

1

composer.jsonの中身

2017/11/28 15:08

投稿

brownwolf
brownwolf

スコア6

title CHANGED
File without changes
body CHANGED
@@ -56,4 +56,63 @@
56
56
  言語:PHP 7.1.8
57
57
  独自フレームワークです
58
58
 
59
- 何卒よろしくお願い致します。
59
+ 何卒よろしくお願い致します。
60
+
61
+
62
+ ### composer.json
63
+
64
+ こちらの2パターン試しましたがダメでした。
65
+ ```
66
+ {
67
+ "name": "phpmailer/phpmailer",
68
+ "type": "library",
69
+ "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
70
+ "require": {
71
+ "phpmailer/phpmailer": "~6.0"
72
+ }
73
+ }
74
+ ```
75
+ ```
76
+ {
77
+ "name": "phpmailer/phpmailer",
78
+ "type": "library",
79
+ "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
80
+ "authors": [
81
+ {
82
+ "name": "Marcus Bointon",
83
+ "email": "phpmailer@synchromedia.co.uk"
84
+ },
85
+ {
86
+ "name": "Jim Jagielski",
87
+ "email": "jimjag@gmail.com"
88
+ },
89
+ {
90
+ "name": "Andy Prevost",
91
+ "email": "codeworxtech@users.sourceforge.net"
92
+ },
93
+ {
94
+ "name": "Brent R. Matzelle"
95
+ }
96
+ ],
97
+ "require": {
98
+ "php": ">=5.5.0",
99
+ "ext-ctype": "*",
100
+ "phpmailer/phpmailer": "dev-master"
101
+ },
102
+ "require-dev": {
103
+ },
104
+ "suggest": {
105
+ },
106
+ "autoload": {
107
+ "psr-4": {
108
+ "PHPMailer\PHPMailer\": "src/"
109
+ }
110
+ },
111
+ "autoload-dev": {
112
+ "psr-4": {
113
+ "PHPMailer\Test\": "test/"
114
+ }
115
+ },
116
+ "license": "LGPL-2.1"
117
+ }
118
+ ```