Skip to content

Commit

Permalink
Merge pull request #4 from Dipesh79/1.1
Browse files Browse the repository at this point in the history
Skype Added
  • Loading branch information
Dipesh79 authored Mar 1, 2023
2 parents f9d6e51 + 4be3a77 commit 1123d17
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 1123d17

Please sign in to comment.