{"id":13416728,"url":"https://github.com/jelovac/bitly4laravel","last_synced_at":"2025-03-15T01:31:59.265Z","repository":{"id":12800975,"uuid":"15474837","full_name":"jelovac/bitly4laravel","owner":"jelovac","description":"Provides a Laravel package to communicate with Bit.ly API","archived":true,"fork":false,"pushed_at":"2022-08-24T09:35:15.000Z","size":174,"stargazers_count":35,"open_issues_count":1,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T20:42:10.557Z","etag":null,"topics":["api","bitly","laravel","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jelovac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-27T14:02:58.000Z","updated_at":"2023-01-27T21:57:58.000Z","dependencies_parsed_at":"2022-09-17T00:12:35.145Z","dependency_job_id":null,"html_url":"https://github.com/jelovac/bitly4laravel","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelovac%2Fbitly4laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelovac%2Fbitly4laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelovac%2Fbitly4laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jelovac%2Fbitly4laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jelovac","download_url":"https://codeload.github.com/jelovac/bitly4laravel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243671225,"owners_count":20328586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bitly","laravel","php"],"created_at":"2024-07-30T22:00:20.938Z","updated_at":"2025-03-15T01:31:58.952Z","avatar_url":"https://github.com/jelovac.png","language":"PHP","funding_links":[],"categories":["Third Party APIs"],"sub_categories":[],"readme":"bitly4laravel\n=============\n[![Build Status](https://travis-ci.org/jelovac/bitly4laravel.png?branch=master)](https://travis-ci.org/jelovac/bitly4laravel) [![Latest Stable Version](https://poser.pugx.org/jelovac/bitly4laravel/v/stable.png)](https://packagist.org/packages/jelovac/bitly4laravel) [![Total Downloads](https://poser.pugx.org/jelovac/bitly4laravel/downloads.png)](https://packagist.org/packages/jelovac/bitly4laravel) [![Latest Unstable Version](https://poser.pugx.org/jelovac/bitly4laravel/v/unstable.png)](https://packagist.org/packages/jelovac/bitly4laravel) [![License](https://poser.pugx.org/jelovac/bitly4laravel/license.png)](https://packagist.org/packages/jelovac/bitly4laravel)\n\nProvides a Laravel package to communicate with Bit.ly API.\n\nIn order to use this package you need to get [OAuth Generic Access Token](https://bitly.com/a/oauth_apps) from Bitly website.\n\nProject status: Archived (Abandoned)\n====================================\n\nDue to security concerns decided to archive the project since it hasn't been maintained for years.\n\nEither fork it or seek other libraries which are more up to date.\n\nAll the best Vladimir J.\n\nInstalation\n===========\n\nWarning this is v3 version of bitly4laravel package. If you want to use the old v2 version use the v2 branch.\n\nAdd bitly4laravel to your composer.json file.\n\n    require : {\n        \"jelovac/bitly4laravel\": \"3.*\"\n    }\n\nOr with composer command:\n\n    composer require jelovac/bitly4laravel 3.*\n\nAdd provider to your app/config/app.php providers\n\n    Jelovac\\Bitly4laravel\\Bitly4laravelServiceProvider::class,\n\nPublish config\n\nFor Laravel 5 use:\n\n    php artisan vendor:publish\n\nFor Laravel 4 use:\n\n    php artisan config:publish jelovac/bitly4laravel\n\nOptional (recommended)\n======================\n\nAdd alias to app/config/app.php aliases\n\n    'Bitly' =\u003e Jelovac\\Bitly4laravel\\Facades\\Bitly4laravel::class,\n\nUsage\n=====\n\nShorten links\n\n    Bitly::shorten('http://google.com/');\n\n    Response format: JSON\n\n    {\n        \"data\": {\n          \"global_hash\": \"900913\",\n          \"hash\": \"ze6poY\",\n          \"long_url\": \"http://google.com/\",\n          \"new_hash\": 0,\n          \"url\": \"http://bit.ly/ze6poY\"\n        },\n        \"status_code\": 200,\n        \"status_txt\": \"OK\"\n    }\n\nExpand links\n\n    Bitly::expand('http://bit.ly/ze6poY');\n\n    Response format: JSON\n\n    {\n        \"data\": {\n          \"expand\": [\n            {\n              \"global_hash\": \"900913\",\n              \"long_url\": \"http://google.com/\",\n              \"short_url\": \"http://bit.ly/ze6poY\",\n              \"user_hash\": \"ze6poY\"\n            }\n          ]\n        },\n        \"status_code\": 200,\n        \"status_txt\": \"OK\"\n    }\n\nRepository\n==========\nhttps://github.com/jelovac/bitly4laravel\n\nLicense\n=======\n\nThe Bitly4laravel package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelovac%2Fbitly4laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjelovac%2Fbitly4laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjelovac%2Fbitly4laravel/lists"}