简洁的 Url 短网址生成源码

最后编辑时间: 2022-07-28

UrlShorter

这是一个足够简洁的 Url 短网址生成器

兼容性

需要 PHP >= 7.4

安装

  • step 1: git clone git@github.com:soxft/UrlShorter.git
  • step 2: 修改 ~/api/config.php , 填写您的mysql信息 以及网址等信息
  • step 3: 导入 ~/mysql.sql 至您的数据库
  • step 4: 配伪静态 (~/nginx.conf 或 ~/.htaccess) 目前仅有 nginx 与 Apache 的伪静态配置.
  • step 5: 开始使用

API

参考 https://github.com/soxft/UrlShorter/wiki/API

demo:https://qiu.moe/ 

Github:https://github.com/soxft/UrlShorter 

请在下方留下您的评论.加入TG吹水群