Skip to content

Commit

Permalink
Merge pull request #5 from Dipesh79/1.1
Browse files Browse the repository at this point in the history
Tencent QQ Added
  • Loading branch information
Dipesh79 authored Mar 5, 2023
2 parents ff2a1ee + 4728dd0 commit f0a4370
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ This package provide the following platform sharing functionality.
```{{$share->messenger()}}```
- Skype
```{{$share->skype()}}```
- Tencent QQ
```{{$share->qq()}}```


More Coming Soon...

Expand Down
8 changes: 8 additions & 0 deletions src/LaravelShare.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,13 @@ public function skype($url = null)
return "https://web.skype.com/share?url=" . $url;
}

public function qq($url = null)
{
if ($url == null) {
$url = $this->url;
}
return "https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" . $url;
}


}

0 comments on commit f0a4370

Please sign in to comment.