承接 tafhyseni/stringify 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

tafhyseni/stringify

Composer 安装命令:

composer require tafhyseni/stringify

包简介

A magical string helper buddy

README 文档

README

A framework agnostic string manipulation package. Start ❤️ string manipulations again! Feeling paranoid about string manipulations? Hating regex? Hating string chunks, replacements, concatinations? This package is for you!

System Requirements

  • PHP >= 7.2 (the latest stable version of PHP is highly recommended)

Installation

composer require tafhyseni/stringify

Usage

Stringify is a package made for human. Makes manipulation easier, simpler and elegant.

use \Tafhyseni\Stringify\Stringify;

Examples

Cutting a string after a certain word

Stringify::parse('Cut this string from here...')->removeAfter('from')->get();

Removing x-number of last characters

Stringify::parse('Remove3ofmylastcharacters')->removeLastChars(3)->get();

Removing HTML from a string/text expect a certain tag

$htmlInput = "<p>Test paragraph.</p><!-- Comment --> <a href="#fragment">Other text</a>";

Stringify::parse('<p>Test paragraph.</p><!-- Comment --> <a href="#fragment">Other text</a>')->removeHtmlExpect('<a>');

Documentation

Please see DOCUMENTATION for all available methods on string/text/html manipulation.

Testing

./vendor/bin/pest

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email tafhyseni@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固