Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2023-08-16 (1 month ago) ![]() | Not yet rated by the users | Total: 16 This week: 1 | All time: 11,056 This week: 102![]() |
Version | License | PHP version | Categories | |||
laravel-url-shortene 1.0 | The PHP License | 7 | HTTP, Web services, PHP 7 |
Description | Author slvler Contributor | |
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.
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
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.