Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

Commit fe60b3e

Browse files
committed
[TASK] Update readme for composer usage
1 parent 73e5697 commit fe60b3e

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

README.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Checkout the project website at forge.typo3.org:
2121
* fetch an extension from TER
2222
* import an extension
2323
* install / uninstall extension
24-
* create upload folders
24+
* create upload folders
2525
* configure extension
2626
* SiteApi
2727
* info
2828
* createSysNews
29-
29+
3030
#### planned/comming soon
3131

3232
* Backend
@@ -62,7 +62,37 @@ This will show you all available calls
6262
#### TYPO3 4.6 and below ####
6363
If you are using 4.5 or 4.6, you can still use the extension with a call like
6464
./typo3/cli_dispatch.phpsh coreapi cache:clearallcaches
65-
65+
6666
# list all available commands:
6767
./typo3/cli_dispatch.phpsh coreapi help
6868

69+
#### Usage in Composer ####
70+
71+
{
72+
"name": "typo3cms/test-website",
73+
"description": "TYPO3 CMS: test.com",
74+
"keywords": ["typo3", "cms"],
75+
"require": {
76+
"php": ">=5.3.3",
77+
"typo3core/cms": "*",
78+
"etobi/coreapi": "dev-master",
79+
},
80+
"repositories": [
81+
{
82+
"type": "vcs",
83+
"url": "git://github.com/etobi/ext-coreapi.git"
84+
}
85+
],
86+
"extra": {
87+
"installer-paths": {
88+
"typo3conf/ext/{$name}": [
89+
"type:typo3-cms-extension"
90+
]
91+
}
92+
},
93+
"minimum-stability": "dev",
94+
"require-dev": {},
95+
"scripts": {}
96+
}
97+
98+

0 commit comments

Comments
 (0)