julkwel/stringtools

String tools for php

Maintainers

Package info

github.com/julkwel/php-string-tools

pkg:composer/julkwel/stringtools

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

v1.0.1 2022-05-09 18:11 UTC

This package is auto-updated.

Last update: 2026-03-10 03:30:27 UTC


README

String tools for php, special chars cleaner and string comparison ... [WIP]

Installation :

$ composer require julkwel/stringtools

Usage :

- String special chars cleaner

$textToClean = "ÉÉÊÊÎÎÎî ëŷ we are with spécïal charactêrs and w'ill clean";
\Julkwel\StringTools\StrCleaner::cleanString($textToClean)

Output: "eeeeiiii ey we are with special characters and will clean"

- String Comparison :

  1. Simple use :
echo \Julkwel\StringTools\StrCompare::isStringIsEquals("test", "test");

Output: true
  1. Special char removal use :
echo \Julkwel\StringTools\StrCompare::isStringIsEquals("têst", "test");

Output: true

Feel free to reach out to me and say hi !.