简洁的 Url 短网址生成源码
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
相关文档
评论与补充0
有问题或想补充的,写在下面 · 选中正文文字再点「报告错误」会自动引用还没有评论。有疑问、补充,或者发现错字,都可以写在下面。