You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-5Lines changed: 30 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# OpenGraph
1
+
# Laravel OpenGraph
2
2
A Laravel package to fetch Open Graph metadata of a website.
3
3
4
4
[](https://packagist.org/packages/shweshi/OpenGraph)
@@ -9,8 +9,14 @@ A Laravel package to fetch Open Graph metadata of a website.
9
9
10
10
## Installation
11
11
Perform the following operations in order to use this package
12
-
- Run `composer require "shweshi/opengraph"` in your terminal
13
-
-**Add Service Provider**
12
+
- Install via composer
13
+
```
14
+
composer require "shweshi/opengraph"
15
+
```
16
+
17
+
If you do not run Laravel 5.5 (or higher), then add the service provider in config/app.php:
18
+
19
+
-**Add Service Provider**
14
20
Open `config/app.php` and add `shweshi\OpenGraph\Providers\OpenGraphProvider::class,` to the end of `providers` array:
15
21
16
22
```
@@ -27,15 +33,34 @@ Perform the following operations in order to use this package
0 commit comments