Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

villfa/pyssphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyssphp - Python String Slice for PHP

Build Status

What is pyssphp?

pyssphp is a PHP library. It permits developers to use the Python string slice syntax.

Server Requirements

  • PHP version 5.3.3 or newer

Usage

<?php

$s = new \pyssphp\String('pyssphp');
echo $s[':4']; // prints 'pyss'
echo $s['::2']; // prints 'pspp'

Tests

To run the test suite, you need composer and PHPUnit.

$ cd path/to/pyssphp
$ composer.phar install --dev
$ phpunit

License

pyssphp is under the MIT license. Please, read LICENSE.

Releases

No releases published

Packages

No packages published

Languages