Skip to content

Commit

Permalink
Merge pull request #3 from conjoon/dev
Browse files Browse the repository at this point in the history
build: update horde package repository to comply with composer 2
  • Loading branch information
ThorstenSuckow committed May 11, 2022
2 parents de42196 + 0bc79fd commit 37d599f
Show file tree
Hide file tree
Showing 3 changed files with 1,914 additions and 1,426 deletions.
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ $ composer i
## Troubleshooting

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

- remove `requires` and `repositories` from the _composer.json_, then run
```shell
composer self-update --1
```
- add the previously removed `requires` and `repositories` back to _composer.json_, then run
```shell
composer update
composer self-update --rollback
```
https://horde-satis.maintaina.com
```

This repository is also mentioned in the _composer.json_-file of
[horde\/horde_deployment](https://github.com/horde/horde-deployment/blob/master/composer.json).
17 changes: 10 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
"description": "PHP email library",
"type": "library",
"repositories": [
{
"type": "pear",
"url": "https://pear.horde.org"
}
{"url": "https://horde-satis.maintaina.com", "type": "composer"}
],
"require": {
"php": ">=7.4",
"ezyang/htmlpurifier": "^4.11",
"laravel/lumen-framework": "5.8.*",
"pear-pear.horde.org/horde_imap_client": "2.30.*",
"pear-pear.horde.org/horde_smtp": "1.9.*"
"horde/imap_client": "dev-FRAMEWORK_6_0",
"horde/smtp": "dev-FRAMEWORK_6_0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
Expand All @@ -38,5 +35,11 @@
"name": "Thorsten Suckow-Homberg",
"email": "[email protected]"
}
]
],
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"horde/horde-installer-plugin": false
}
}
}
Loading

0 comments on commit 37d599f

Please sign in to comment.