質問編集履歴
2
composerを入力した後の
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,3 +35,115 @@
|
|
35
35
|
|
36
36
|
|
37
37
|
```
|
38
|
+
|
39
|
+
composerのところにmvしてからcomposerと入力したら以下のように表示されました。
|
40
|
+
|
41
|
+
```ここに言語を入力
|
42
|
+
|
43
|
+
root@ubuntu-s-1vcpu-1gb-blr1-01:~# composer
|
44
|
+
|
45
|
+
______
|
46
|
+
|
47
|
+
/ ____/___ ____ ___ ____ ____ ________ _____
|
48
|
+
|
49
|
+
/ / / __ / __ `__ / __ / __ / ___/ _ / ___/
|
50
|
+
|
51
|
+
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
|
52
|
+
|
53
|
+
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
|
54
|
+
|
55
|
+
/_/
|
56
|
+
|
57
|
+
Composer version 1.0.0-alpha9 2014-12-07 17:15:20
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
Usage:
|
62
|
+
|
63
|
+
[options] command [arguments]
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
Options:
|
68
|
+
|
69
|
+
--help (-h) Display this help message.
|
70
|
+
|
71
|
+
--quiet (-q) Do not output any message.
|
72
|
+
|
73
|
+
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.
|
74
|
+
|
75
|
+
--version (-V) Display this application version.
|
76
|
+
|
77
|
+
--ansi Force ANSI output.
|
78
|
+
|
79
|
+
--no-ansi Disable ANSI output.
|
80
|
+
|
81
|
+
--no-interaction (-n) Do not ask any interactive question.
|
82
|
+
|
83
|
+
--profile Display timing and memory usage information
|
84
|
+
|
85
|
+
--working-dir (-d) If specified, use the given directory as working directory.
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
Available commands:
|
90
|
+
|
91
|
+
about Short information about Composer
|
92
|
+
|
93
|
+
archive Create an archive of this composer package
|
94
|
+
|
95
|
+
browse Opens the package's repository URL or homepage in your browser.
|
96
|
+
|
97
|
+
clear-cache Clears composer's internal package cache.
|
98
|
+
|
99
|
+
clearcache Clears composer's internal package cache.
|
100
|
+
|
101
|
+
config Set config options
|
102
|
+
|
103
|
+
create-project Create new project from a package into given directory.
|
104
|
+
|
105
|
+
depends Shows which packages depend on the given package
|
106
|
+
|
107
|
+
diagnose Diagnoses the system to identify common errors.
|
108
|
+
|
109
|
+
dump-autoload Dumps the autoloader
|
110
|
+
|
111
|
+
dumpautoload Dumps the autoloader
|
112
|
+
|
113
|
+
global Allows running commands in the global composer dir ($COMPOSER_HOME).
|
114
|
+
|
115
|
+
help Displays help for a command
|
116
|
+
|
117
|
+
home Opens the package's repository URL or homepage in your browser.
|
118
|
+
|
119
|
+
init Creates a basic composer.json file in current directory.
|
120
|
+
|
121
|
+
install Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
|
122
|
+
|
123
|
+
licenses Show information about licenses of dependencies
|
124
|
+
|
125
|
+
list Lists commands
|
126
|
+
|
127
|
+
remove Removes a package from the require or require-dev
|
128
|
+
|
129
|
+
require Adds required packages to your composer.json and installs them
|
130
|
+
|
131
|
+
run-script Run the scripts defined in composer.json.
|
132
|
+
|
133
|
+
search Search for packages
|
134
|
+
|
135
|
+
self-update Updates composer.phar to the latest version.
|
136
|
+
|
137
|
+
selfupdate Updates composer.phar to the latest version.
|
138
|
+
|
139
|
+
show Show information about packages
|
140
|
+
|
141
|
+
status Show a list of locally modified packages
|
142
|
+
|
143
|
+
update Updates your dependencies to the latest version according to composer.json, and updates the composer.lock file.
|
144
|
+
|
145
|
+
validate Validates a composer.json
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
```
|
1
公式サイトで試した場合のエラー
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,3 +21,17 @@
|
|
21
21
|
|
22
22
|
|
23
23
|
と表示されたのですが、composerを使おうと思ったらインストールされてませんと表示されました。 どうすればインストールできますか?
|
24
|
+
|
25
|
+
公式の手順を一つ一つやっていったら、最後の部分でエラーが出てきます。
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
```ここに言語を入力
|
30
|
+
|
31
|
+
php -r "unlink('coposer-setup.php');"
|
32
|
+
|
33
|
+
PHP Warning: unlink(coposer-setup.php): No such file or directory in Command line code on line 1
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```
|