2017 © Pedro Peláez
 

yii2-extension yii2-string-helpers

String helpers for your Yii2 app

image

hyperia/yii2-string-helpers

String helpers for your Yii2 app

  • Thursday, January 18, 2018
  • by hyperia-sk
  • Repository
  • 1 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 string helpers

GitHub license, (*1)

Extension for Yii2 string helpers, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require hyperia/yii2-string-helpers:"^1.0"

or add, (*5)

"hyperia/yii2-string-helpers": "^1.0"

to the require section of your composer.json., (*6)

Available Methods

  • contains
  • isLonger
  • isShorter
  • length
  • toLower
  • toUpper
  • firstCharToUpper
  • removeAccent

Usage

use hyperia\helpers\StringHelper;

echo StringHelper::isLonger('This is test string', 12); // 1
echo StrinhHelper::removeAccent('Ħí ŧħə®ë, юßť å test!'); // Hi there, jusst a test!
echo StringHelper::contains('is', 'This is test string'); // 1

Tests

./vendor/bin/phpunit

The Versions

18/01 2018

dev-master

9999999-dev

String helpers for your Yii2 app

  Sources   Download

MIT

The Requires

 

The Development Requires

by Lukas Hrdlicka

helpers extension yii2

09/07 2017

1.0.0

1.0.0.0

String helpers for your Yii2 app

  Sources   Download

The Requires

 

The Development Requires

by Lukas Hrdlicka

helpers extension yii2