Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 19 | All time: 11,307 This week: 524 |
Version | License | PHP version | Categories | |||
laravel-url-shortene 1.0 | The PHP License | 7 | HTTP, Web services, PHP 7 |
Description | Author | |
This package can create and manipulate short URLs using cutt.ly API. |
This package provides a convenient wrapper to the Cuttly API for Laravel applications.
To install this package tou can use composer:
composer require slvler/cuttly
$data = [
'short' => 'google.com'
];
Cuttly::short($data);
URL Shortener:
{
"url": {
"status": 7,
"fullLink": "http://google.com",
"date": "2023-08-07",
"shortLink": "https://cutt.ly/ewdVijlY",
"title": "Google"
}
}
$data = [
'edit' => 'cutt.ly/LwdCoBmo'
];
Cuttly::edit($data);
Edit URL:
{
"url": {
"status": 1,
}
}
$data = [
'stats' => 'cutt.ly/ewdVijlY'
];
Cuttly::stats($data);
URL Stats:
{
"stats": {
"status": 1,
"clicks": 0,
"date": "2023-08-07",
"title": "Google",
"fullLink": "http://google.com",
"shortLink": "https://cutt.ly/ewdVijlY",
"facebook": 0,
"twitter": 0,
"pinterest": 0,
"instagram": 0,
"googlePlus": 0,
"linkedin": 0,
"rest": 0,
"devices": {
},
"refs": {
},
"bots": "Insufficient subscription level"
}
}
composer test
The MIT License (MIT). Please see License File for more information.
You're very welcome to contribute. Please see CONTRIBUTING for details.
Files (13) |
File | Role | Description | ||
---|---|---|---|---|
.github (1 directory) | ||||
config (1 file) | ||||
src (4 files, 1 directory) | ||||
tests (2 directories) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE.md | Lic. | License text | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (13) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Facades (1 file) | ||||
Cuttly.php | Class | Class source | ||
CuttlyApiWrapper.php | Class | Class source | ||
CuttlyServiceProvider.php | Class | Class source | ||
HttpResponse.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.