Skip to content

open1td/sapphire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sapphire

Total Downloads Latest Stable Version Latest Unstable Version License

Installation

Via Zip Package

Download the latest version from Github and unzip to your project directory

$ wget https://github.com/lornewang/sapphire/archive/master.zip

Via Composer Create-Project

You may also install by issuing the Composer command in your terminal

$ composer lornewang/sapphire --prefer-dist

Usage

<?php
use Sapphire\Utilities\Text;

// string to be truncate
print Text::truncate('Hello World', 0, 5);

License

Sapphire is licensed under the MIT License - see the LICENSE file for details

Releases

No releases published

Packages

No packages published