Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support is.gd provider? #13

Open
irazasyed opened this issue Sep 26, 2018 · 3 comments
Open

Support is.gd provider? #13

irazasyed opened this issue Sep 26, 2018 · 3 comments

Comments

@irazasyed
Copy link

Hi,

Is it possible you could add support for is.gd as one of the providers out of the box? That would be great and it doesn't require an API key.

@mremi
Copy link
Owner

mremi commented Sep 26, 2018

Hi @irazasyed ,

I can't for now, time is missing but your contribution would be welcome :).

@preeteshjain
Copy link
Contributor

@irazasyed I don't think you need this package for that. You can just do:

$shortLink = file_get_contents('https://is.gd/create.php?format=simple&url=' . $longLink);

And you will have your short link.

@irazasyed
Copy link
Author

@preeteshjain Our use case is not limited to one service. Hence, using this package to support multiple services otherwise, I know it's just one line of code to shorten links with the aforementioned service.

@mremi Will send a PR once I start integrating this package into our app. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants