Skip to content

Commit

Permalink
Added more details to composer.json and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suhock committed Jun 16, 2022
1 parent 0fb875a commit 412c082
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Remove Symfony Polyfill
Removes Symfony polyfills from a composer project by replacing the ``symfony/polyfill-*`` libraries with no implementation.
This library removes Symfony polyfills from a composer project by replacing the `symfony/polyfill-*` libraries with no implementation.

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

```json
{
"requires": {
"php": "~7.4.0",
"vendor/library-requiring-symfony-polyfill": "*",
"require": {
"fivetwo/remove-symfony-polyfill": "~7.4.0"
}
}
```

Alternatively, install from the command line.

```shell
composer require "fivetwo/remove-symfony-polyfill"
```
16 changes: 11 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{
"name": "fivetwo/remove-symfony-polyfill",
"type": "library",
"description": "Remove Symfony polyfills",
"keywords": ["remove","symfony","polyfill"],
"type": "library",
"keywords": [
"remove",
"replace",
"symfony",
"polyfill"
],
"homepage": "https://github.com/fivetwo/remove-symfony-polyfill",
"readme": "README.md",
"license": "MIT",
"authors": [
{
"name": "Matthew Suhocki",
"email": "matt@fivetwo.org"
}
],
"required": {
"php": ">=7.4"
"require": {
"php": ">=7.4"
},
"replace": {
"symfony/polyfill-apcu": "*",
Expand All @@ -31,4 +38,3 @@
"symfony/polyfill-xml": "*"
}
}

6 changes: 4 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 412c082

Please sign in to comment.