Skip to content

Commit e0e637a

Browse files
committed
Update README.md
1 parent e830416 commit e0e637a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,42 @@ Add following to your composer.json:
1919

2020
```json
2121
{
22+
"require": {
23+
"setasign/seta-pdf-signer-addon-global-sign-dss": "^1.0"
24+
},
2225
"repositories": [
2326
{
2427
"type": "composer",
2528
"url": "https://www.setasign.com/downloads/"
2629
}
27-
],
28-
"require": {
29-
"setasign/seta-pdf-signer-addon-global-sign-dss": "^1.0"
30-
}
30+
]
3131
}
3232
```
3333

34-
and call `composer update`. You need to define the `repository` to evaluate the dependency to the [SetaPDF-Signer](https://www.setasign.com/signer) component (see [here](https://getcomposer.org/doc/faqs/why-can%27t-composer-load-repositories-recursively.md) for more details).
34+
and execute `composer update`. You need to define the `repository` to evaluate the dependency to the [SetaPDF-Signer](https://www.setasign.com/signer) component (see [here](https://getcomposer.org/doc/faqs/why-can%27t-composer-load-repositories-recursively.md) for more details).
3535

3636
### Evaluation version
3737
By default this packages depends on a licensed version of the [SetaPDF-Signer](https://www.setasign.com/signer) component. If you want to use it with an evaluation version please use following in your composer.json:
3838

3939
```json
4040
{
41+
"require": {
42+
"setasign/seta-pdf-signer-addon-global-sign-dss": "dev-evaluation"
43+
},
4144
"repositories": [
4245
{
4346
"type": "composer",
4447
"url": "https://www.setasign.com/downloads/"
4548
}
46-
],
47-
"require": {
48-
"setasign/seta-pdf-signer-addon-global-sign-dss": "dev-evaluation"
49-
}
49+
]
5050
}
5151
```
5252

5353
### Without Composer
5454

5555
Make sure, that the [SetaPDF-Signer](https://www.setasign.com/signer) component is [installed](https://manuals.setasign.com/setapdf-core-manual/installation/#index-2) and its [autoloader is registered](https://manuals.setasign.com/setapdf-core-manual/getting-started/#index-1) correctly.
5656

57-
Then simply require the `src/autoload.php` file or register this package in your own PSR-4 compatible autoloader implementation:
57+
Then simply require the `src/autoload.php` file or register this package in your own PSR-4 compatible autoload implementation:
5858

5959
```php
6060
$loader = new \Example\Psr4AutoloaderClass;

0 commit comments

Comments
 (0)