Generic enhanced exception to be used in other projects

0.2.1 2020-01-16 16:51 UTC

This package is auto-updated.

Last update: 2020-02-16 17:03:26 UTC


README

PHP Stringy object with consistent and predictable API

Build Status Latest Stable Version Total Downloads License

Instalation

  1. Download using composer
composer require wernerdweight/stringy
  1. Use in your project
use WernerDweight\Stringy\Stringy;

$stringy = new Stringy('This is a string');
echo $string
    ->toLowercase()    // this is a string
    ->replace(' ', '-')    // this-is-a-string
    ->convertCase(Stringy::KEBAB, Stringy::PASCAL)   // ThisIsAString
    ->reverse();    // gnirtSAsIsihT

API

TODO: