osiemsiedem/laravel-autolink
最新稳定版本:9.0.0
Composer 安装命令:
composer require osiemsiedem/laravel-autolink
包简介
A Laravel package for converting URLs in a given string of text into clickable links.
README 文档
README
A Laravel package for converting URLs in a given string of text into clickable links.
Requirements
- PHP >= 8.2
- Laravel >= 12.0
Installation
composer require osiemsiedem/laravel-autolink
Usage
use OsiemSiedem\Autolink\Facades\Autolink; echo Autolink::convert('Check this out - www.example.com. This will be ignored - <a href="http://example.com">My awesome website</a>.'); // Check this out - <a href="http://www.example.com">example.com</a>. This will be ignored - <a href="http://example.com">My awesome website</a>.
Testing
./vendor/bin/phpunit
Credits
This package is based on the Rinku library.
License
Please see the LICENSE.md file.
统计信息
- 总下载量: 115.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-03