piscibus/php-hashtag 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

piscibus/php-hashtag

最新稳定版本:1.1.1

Composer 安装命令:

composer require piscibus/php-hashtag

包简介

A simple php service for parsing hashtags from a string in any language.

README 文档

README

Latest Version on Packagist Total Downloads CI Packagist PHP Version

This package provides a simple way to extract hashtags from a string in any language.

Installation

You can install the package via composer:

composer require piscibus/php-hashtag

Support us

We invest a lot of resources into creating open source projects. This package is extracted from a bigger project. We are using it in production, and we will continue to maintain it. If you find it useful, please consider supporting us. All kinds of contributions are welcome.

Usage

use Piscibus\PhpHashtag\Extractor;

$text = 'This is an #English #text with #hashtags';

$hashtags = Extractor::extract($text); // ['English', 'text', 'hashtags']

// Or you can use the helper function

$hashtags = extract_hashtags($text); // ['English', 'text', 'hashtags']

License

This package is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 1.78k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固