Skip to content

Commit

Permalink
Skype Added
Browse files Browse the repository at this point in the history
  • Loading branch information
Dipesh79 committed Mar 1, 2023
1 parent 28023d5 commit 4be3a77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ This package provide the following platform sharing functionality.
```{{$share->trello()}}```
- Facebook Messenger
```{{$share->messenger()}}```
- Skype
```{{$share->skype()}}```

More Coming Soon...

Expand Down
7 changes: 7 additions & 0 deletions src/LaravelShare.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,14 @@ public function messenger($url = null)
$url = $this->url;
}
return "https://www.facebook.com/dialog/send?link=" . $url;
}

public function skype($url = null)
{
if ($url == null) {
$url = $this->url;
}
return "https://web.skype.com/share?url=" . $url;
}


Expand Down

0 comments on commit 4be3a77

Please sign in to comment.