From 42b574d7bfb9d68a9f7a84d104073f40fce13d7f Mon Sep 17 00:00:00 2001 From: Muhamad Reza Abdul Rohim Date: Mon, 23 Jul 2018 00:51:57 +0700 Subject: [PATCH] 0.0.1 --- readme.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 08a2e6d..d4e044e 100644 --- a/readme.md +++ b/readme.md @@ -4,21 +4,37 @@ Stringer is stand alone PHP package for string manipulation with an expresive syntax. +### Instalation + +This package required composer + +``` sh + + composer require muhamadrezaar/stringer + +``` + +then in your file php + +``` + include "vendor/autoload.php"; +``` + ### Example Here is the basic usage and some examples methods: ``` sh reverse() - ->display(); // return "emosewa si php" +$str->reverse()->display(); // return "emosewa si php" -$str->substring(0,1) - ->display(); // return "r" +$str->substring(0,1)->display(); // return "r" ?>