Skip to content

Commit 51ef61c

Browse files
committed
Added more details to composer.json and README.md
1 parent 9c19556 commit 51ef61c

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# Remove Symfony Polyfill
2-
Removes Symfony polyfills from a composer project by replacing the ``symfony/polyfill-*`` libraries with no implementation.
2+
This library removes Symfony polyfills from a composer project by replacing the `symfony/polyfill-*` libraries with no implementation.
33

4-
To use add ``fivetwo/remove-symfony-polyfill`` to the ``requires`` or ``require-dev`` section of your project's composer.json file.
4+
To install, add `fivetwo/remove-symfony-polyfill` to the `require` or `require-dev` section of your project's composer.json file.
55

66
```json
77
{
8-
"requires": {
9-
"php": "~8.1.0",
10-
"vendor/library-requiring-symfony-polyfill": "*",
8+
"require": {
119
"fivetwo/remove-symfony-polyfill": "~8.1.0"
1210
}
1311
}
1412
```
1513

14+
Alternatively, install from the command line.
15+
16+
```shell
17+
composer require "fivetwo/remove-symfony-polyfill"
18+
```

composer.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
{
22
"name": "fivetwo/remove-symfony-polyfill",
3-
"type": "library",
43
"description": "Remove Symfony polyfills",
5-
"keywords": ["remove","symfony","polyfill"],
4+
"type": "library",
5+
"keywords": [
6+
"remove",
7+
"replace",
8+
"symfony",
9+
"polyfill"
10+
],
11+
"homepage": "https://github.com/fivetwo/remove-symfony-polyfill",
12+
"readme": "README.md",
613
"license": "MIT",
714
"authors": [
815
{
916
"name": "Matthew Suhocki",
1017
"email": "matt@fivetwo.org"
1118
}
1219
],
13-
"required": {
14-
"php": ">=8.1"
20+
"require": {
21+
"php": ">=8.1"
1522
},
1623
"replace": {
1724
"symfony/polyfill-apcu": "*",
@@ -33,4 +40,3 @@
3340
"symfony/polyfill-xml": "*"
3441
}
3542
}
36-

composer.lock

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)