Skip to content

Commit a63b588

Browse files
committed
Added compatibility with Symfony ^6.0 (closes #32)
1 parent d58b4ae commit a63b588

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,10 @@ See [ogp.me](http://ogp.me) for information on the Open Graph protocol.
2121

2222
## Installation
2323

24-
The most flexible installation method is using Composer: Simply create a composer.json file in the root of your project:
25-
``` json
26-
{
27-
"require": {
28-
"fusonic/opengraph": "^2.0"
29-
}
30-
}
24+
The most flexible installation method is using Composer:
25+
26+
``` bash
27+
composer require fusonic/opengraph
3128
```
3229

3330
Install composer and run install command:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
"require": {
2525
"php": "^7.4|^8.0",
2626
"ext-dom": "*",
27-
"symfony/dom-crawler": "^3.0|^4.0|^5.0",
28-
"symfony/css-selector": "^3.0|^4.0|^5.0",
27+
"symfony/dom-crawler": "^3.0|^4.0|^5.0|^6.0",
28+
"symfony/css-selector": "^3.0|^4.0|^5.0|^6.0",
2929
"fusonic/linq": "^1.0",
3030
"psr/http-client": "^1.0",
3131
"psr/http-factory": "^1.0"
3232
},
3333
"require-dev": {
3434
"phpunit/phpunit": "^9.0",
35-
"symfony/http-client": "^5.0",
35+
"symfony/http-client": "^6.0",
3636
"nyholm/psr7": "^1.2"
3737
},
3838
"suggest": {

0 commit comments

Comments
 (0)