質問編集履歴

1

composer.jsonの中身

2017/11/28 15:08

投稿

brownwolf
brownwolf

スコア6

test CHANGED
File without changes
test CHANGED
@@ -115,3 +115,121 @@
115
115
 
116
116
 
117
117
  何卒よろしくお願い致します。
118
+
119
+
120
+
121
+
122
+
123
+ ### composer.json
124
+
125
+
126
+
127
+ こちらの2パターン試しましたがダメでした。
128
+
129
+ ```
130
+
131
+ {
132
+
133
+ "name": "phpmailer/phpmailer",
134
+
135
+ "type": "library",
136
+
137
+ "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
138
+
139
+ "require": {
140
+
141
+ "phpmailer/phpmailer": "~6.0"
142
+
143
+ }
144
+
145
+ }
146
+
147
+ ```
148
+
149
+ ```
150
+
151
+ {
152
+
153
+ "name": "phpmailer/phpmailer",
154
+
155
+ "type": "library",
156
+
157
+ "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
158
+
159
+ "authors": [
160
+
161
+ {
162
+
163
+ "name": "Marcus Bointon",
164
+
165
+ "email": "phpmailer@synchromedia.co.uk"
166
+
167
+ },
168
+
169
+ {
170
+
171
+ "name": "Jim Jagielski",
172
+
173
+ "email": "jimjag@gmail.com"
174
+
175
+ },
176
+
177
+ {
178
+
179
+ "name": "Andy Prevost",
180
+
181
+ "email": "codeworxtech@users.sourceforge.net"
182
+
183
+ },
184
+
185
+ {
186
+
187
+ "name": "Brent R. Matzelle"
188
+
189
+ }
190
+
191
+ ],
192
+
193
+ "require": {
194
+
195
+ "php": ">=5.5.0",
196
+
197
+ "ext-ctype": "*",
198
+
199
+ "phpmailer/phpmailer": "dev-master"
200
+
201
+ },
202
+
203
+ "require-dev": {
204
+
205
+ },
206
+
207
+ "suggest": {
208
+
209
+ },
210
+
211
+ "autoload": {
212
+
213
+ "psr-4": {
214
+
215
+ "PHPMailer\PHPMailer\": "src/"
216
+
217
+ }
218
+
219
+ },
220
+
221
+ "autoload-dev": {
222
+
223
+ "psr-4": {
224
+
225
+ "PHPMailer\Test\": "test/"
226
+
227
+ }
228
+
229
+ },
230
+
231
+ "license": "LGPL-2.1"
232
+
233
+ }
234
+
235
+ ```