https://github.com/robertfausk/kurzlink-api-client
https://github.com/robertfausk/kurzlink-api-client
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/robertfausk/kurzlink-api-client
- Owner: robertfausk
- License: mit
- Created: 2020-12-08T20:54:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-09T11:12:40.000Z (over 5 years ago)
- Last Synced: 2025-02-01T11:26:01.721Z (over 1 year ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# KurzlinkApiClient
[](https://packagist.org/packages/robertfausk/kurzlink-api-client)
[](https://packagist.org/packages/robertfausk/kurzlink-api-client)
[](https://packagist.org/packages/robertfausk/kurzlink-api-client)
[](https://travis-ci.com/robertfausk/kurzlink-api-client)
[](https://scrutinizer-ci.com/g/robertfausk/kurzlink-api-client/)
[](https://scrutinizer-ci.com/g/robertfausk/kurzlink-api-client/)
[](LICENSE)

[](https://github.com/robertfausk/kurzlink-api-client/issues)
[](https://github.com/robertfausk/kurzlink-api-client/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/robertfausk/kurzlink-api-client/graphs/contributors)

Very simple api client written in PHP for url shortener kurzelinks.de which supports ogy.de, t1p.de,
0cn.de, kurzelinks.de and also own domains.
## Install
composer require --dev robertfausk/kurzlink-api-client
Usage Example
-------------
```PHP
'',
];
$shortUrl = $client->request($urlToShorten, $requestParams);
```
### How to upgrade?
Have a look at [CHANGELOG](CHANGELOG.md) for detailed information.
## How to contribute?
Copy phpunit.xml.dist and insert your api key to be able to run the integration tests.
Start docker-compose with php web driver
docker-compose up php7.2
Run phpunit tests
docker-compose exec php7.2 vendor/bin/phpunit
## Credits
Created by Robert Freigang [robertfausk](https://github.com/robertfausk).