Skip to content

Commit 37d599f

Browse files
Merge pull request #3 from conjoon/dev
build: update horde package repository to comply with composer 2
2 parents de42196 + 0bc79fd commit 37d599f

File tree

3 files changed

+1914
-1426
lines changed

3 files changed

+1914
-1426
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ $ composer i
1010
## Troubleshooting
1111

1212
### Composer 2.0 - Pear/Horde vows
13-
If you experience any troubles running `composer`, please revert to **Composer 1.***. You can safely
14-
go back to **Composer 2** afterwards.
13+
As of **v1.0.1**, _php-lib-conjoon_ no longer requires _Composer 1.*_ for installation.
14+
For _Composer 2.*_-compatibility, _php-lib-conjoon_ relies on the following private composer
15+
package repository:
1516

16-
- remove `requires` and `repositories` from the _composer.json_, then run
17-
```shell
18-
composer self-update --1
1917
```
20-
- add the previously removed `requires` and `repositories` back to _composer.json_, then run
21-
```shell
22-
composer update
23-
composer self-update --rollback
24-
```
18+
https://horde-satis.maintaina.com
19+
```
20+
21+
This repository is also mentioned in the _composer.json_-file of
22+
[horde\/horde_deployment](https://github.com/horde/horde-deployment/blob/master/composer.json).

composer.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@
33
"description": "PHP email library",
44
"type": "library",
55
"repositories": [
6-
{
7-
"type": "pear",
8-
"url": "https://pear.horde.org"
9-
}
6+
{"url": "https://horde-satis.maintaina.com", "type": "composer"}
107
],
118
"require": {
129
"php": ">=7.4",
1310
"ezyang/htmlpurifier": "^4.11",
1411
"laravel/lumen-framework": "5.8.*",
15-
"pear-pear.horde.org/horde_imap_client": "2.30.*",
16-
"pear-pear.horde.org/horde_smtp": "1.9.*"
12+
"horde/imap_client": "dev-FRAMEWORK_6_0",
13+
"horde/smtp": "dev-FRAMEWORK_6_0"
1714
},
1815
"require-dev": {
1916
"fakerphp/faker": "^1.9.1",
@@ -38,5 +35,11 @@
3835
"name": "Thorsten Suckow-Homberg",
3936
"email": "[email protected]"
4037
}
41-
]
38+
],
39+
"minimum-stability": "dev",
40+
"config": {
41+
"allow-plugins": {
42+
"horde/horde-installer-plugin": false
43+
}
44+
}
4245
}

0 commit comments

Comments
 (0)