定制 dcblogdev/laravel-tags 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

dcblogdev/laravel-tags

最新稳定版本:v1.0.0

Composer 安装命令:

composer require dcblogdev/laravel-tags

包简介

A Laravel package for adding tags to your content

README 文档

README

Explain what the package does.

Installation

You can install the package via composer:

composer require dcblogdev/laravel-tags

Usage

The following tags are available:

  • [year] = will be replaced with the current year
  • [appName] = will be replaced with the app name from the config file
  • [youtube url width=560 height=360] = will return a YouTube embed code. Width and height are option by default they are 560 and 360

Import the facade

use Dcblogdev\Tags\Facades\Tags;

Example usage:

$content = "This is a post about [year] and [appName]";
$content = Tags::get($content);

echo $content

Would print

This is a post about 2023 and Laravel

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Contributions are welcome and will be fully credited.

Contributions are accepted via Pull Requests on Github.

Pull Requests

  • Document any change in behaviour - Make sure the readme.md and any other relevant documentation are kept up-to-date.

  • Consider our release cycle - We try to follow SemVer v2.0.0. Randomly breaking public APIs is not an option.

  • One pull request per feature - If you want to do more than one thing, send multiple pull requests.

Security

If you discover any security related issues, please email dave@dcblog.dev email instead of using the issue tracker.

License

license. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

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