Skip to content

Commit e493d63

Browse files
committed
UPDATE README.md
1 parent 4ae439e commit e493d63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# PHPSegmentTree
1+
# Swango\SegmentTree
22

33
[![Php Version](https://img.shields.io/badge/php-%3E=7.1-brightgreen.svg?maxAge=2592000)](https://secure.php.net/)
4-
[![Archer License](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000)](https://github.com/swlib/archer/blob/master/LICENSE)
4+
[![SegmentTree License](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000)](https://github.com/swlib/archer/blob/master/LICENSE)
55

66
Easy segment tree in PHP. Support multi key-value storage. Written without any global variable. Can be used in all kinds of environment.
77
### Common segment tree
88
```php
9-
$tree = PHPSegmentTree\Tree\Common::newTree(0,100000); // Create a tree with scale of 0~100000;
9+
$tree = Swango\SegmentTree\Tree\Common::newTree(0,100000); // Create a tree with scale of 0~100000;
1010

1111
// Set to use "==" when comparing values. Two objects of different instances that have same content will be considered equal.
1212
$tree->useDoubleEqualSign();
@@ -42,7 +42,7 @@ $tree->clear();
4242
```
4343
### Version compressed segment tree
4444
```php
45-
$tree = PHPSegmentTree\Tree\Version::newTree(
45+
$tree = Swango\SegmentTree\Tree\Version::newTree(
4646
'1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.1.0', '1.4.1', '2.0.0', '2.0.1-RC1', '3.0.0'
4747
); // Create a tree with versions. These versions will be sorted using version_compare() and remove all duplicated
4848

0 commit comments

Comments
 (0)