承接 abdellahramadan/string 相关项目开发

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

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

abdellahramadan/string

Composer 安装命令:

composer require abdellahramadan/string

包简介

This is a lightweight string manipulation library for PHP

README 文档

README

This is a simple and lightweight String manipulation library

It is a work in progress and features will be added often

install with composer:

composer require abdellahramadan/string
use AbdellahRamadan\String\Strings;

Slug a text

$text = Strings::slug("this is a simple slug");

echo $text; // this-is-a-simple-slug

Make a text lowercase

$text = Strings::lowercase("I will be MADE A LOWERCASE");

echo $text; // i will be made a lowercase

Search a word

$sentence = "I want to find a word";

Strings::contains($sentence, "find"); // true

Add a prefix

$text = "is a cool language";

echo $completeText = Strings::prefix($text, "PHP"); // PHP is a cool language

And much more...

More string manipulations is being Added

Testing

Test is available in the test folder and can be run with:

vendor/bin/phpunit

Contributing

Contributions are welcome 😃

Licence

MIT Licence

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固