承接 agiledevelopment/url-shortener-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

agiledevelopment/url-shortener-laravel

最新稳定版本:v1.0.3

Composer 安装命令:

composer require agiledevelopment/url-shortener-laravel

包简介

Seamless Laravel integration for AgileDevelopment URL Shortener SDK.

README 文档

README

A super-lightweight Laravel package that glues the [Agile Development URL Shortener SDK] directly into Laravel.

Powered by the 00x.dk API, this package lets you shorten URLs instantly inside your Laravel app — no facades, no config publishing, no boilerplate.

🚀 Installation

composer require agiledevelopment/url-shortener-laravel

⚙️ Environment Setup

Add your API token to your .env file:

URL_SHORTENER_TOKEN=your_token_here

You can generate a token at 00x.dk.

💡 Usage

1️⃣ Quick Helper

$short = shorten_url('https://example.com');

echo $short['shortened_url'];

That’s it! The helper automatically reads your token from .env.

🧱 Example Response

{
  "shortened_url": "https://00x.dk/abcd1234"
  "original_url": "https://example.com",
  "code": "abcd1234",
  "message": "URL shortened successfully!"
}

🧰 Requirements

  • PHP 7.4 or newer
  • Laravel 8–11
  • A valid 00x.dk API token

📝 License

This project is licensed under the MIT License.

Made with ❤️ by **Agile Development**

统计信息

  • 总下载量: 176
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固