Download the PHP package chowjiawei/short-link without Composer
On this page you can find all versions of the php package chowjiawei/short-link. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chowjiawei/short-link
More information about chowjiawei/short-link
Files in chowjiawei/short-link
Download chowjiawei/short-link
More information about chowjiawei/short-link
Files in chowjiawei/short-link
Vendor chowjiawei
Package short-link
Short Description Tool for changing long links into short links.
License MIT
Homepage https://github.com/chowjiawei/short-link
Package short-link
Short Description Tool for changing long links into short links.
License MIT
Homepage https://github.com/chowjiawei/short-link
Please rate this library. Is it a good library?
Informations about the package short-link
short-link
Tool for changing long links into short links.
长链接生成短链接 实现 短链跳转
安装
- 发布配置文件
php artisan vendor:publish --provider="Chowjiawei\ShortLink\Providers\ShortLinkServiceProvider"
- 执行迁移命令
php artisan migrate
使用
-
引入服务(以下功能均需引入)
-
系统自生成 新的短链接 支持:
mix
混合number
纯数字minLetter
纯小写字母maxLetter
纯大写字母 -
自定义新链接(短链接)
-
删除关系链接(使用旧链接【长连接】进行删除)
-
删除关系链接(使用新链接【短连接】进行删除) 这会删除全部相关的新链接
- 使用跳转 建议放入Laravel(app\Http\Controller.php 的fallback方法内) ,路由(
Route::fallback('Controller@fallback');
)
配置修改
config
文件夹内的short-link
配置
临时关闭服务跳转
enabled
为false即可暂停
禁用前缀
forbid_prefix
可配置不可解析的前缀url
All versions of short-link with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0|^8.0
laravel/framework Version ^6.0|^7.0|^8.0|^9.0
squizlabs/php_codesniffer Version ^3.6
laravel/framework Version ^6.0|^7.0|^8.0|^9.0
squizlabs/php_codesniffer Version ^3.6
The package chowjiawei/short-link contains the following files
Loading the files please wait ....