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

Commit c029010

Browse files
committed
Merge pull request #61 from bmoex/master
#60: Composer.json creates error
2 parents aeae324 + 1d9e450 commit c029010

File tree

2 files changed

+47
-11
lines changed

2 files changed

+47
-11
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+

composer.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
22
"name": "etobi/coreapi",
33
"description": "Provides a simple to use API for common core features. Goal is to be able to do the most common tasks by CLI instead of doing it in the backend/browser.",
4-
"type": "typo3cms-extension",
4+
"type": "typo3-cms-extension",
5+
6+
"keywords": ["typo3", "extension", "deployment", "commandline", "cli"],
7+
8+
"authors": [
9+
{
10+
"name": "Tobias Liebig",
11+
"homepage": "http://etobi.de"
12+
}
13+
],
14+
515
"require": {
6-
"lw/typo3cms-installers": "*"
16+
"composer/installers": "~1.0"
717
},
8-
"repositories": [
9-
{
10-
"type": "composer",
11-
"url": "http://composer.lightwerk.com"
12-
}
13-
]
18+
19+
"minimum-stability": "dev"
1420
}

0 commit comments

Comments
 (0)