Skip to content

Commit

Permalink
readme changelog travis
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonLesti committed Oct 17, 2019
1 parent d5f2e0d commit 4f8231e
Showing 3 changed files with 75 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -19,4 +19,4 @@ script:
- composer test

after_script:
- php vendor/bin/coveralls -v
- php vendor/bin/php-coveralls -v
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

All Notable changes to `gordonlesti/longest-common-subsequence` will be documented in this file.

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## 1.0.0 - 2019-10-17

### Added
- Created class `LongestCommonSubsequence` with static function `lcs` and tests
65 changes: 64 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,65 @@
# LongestCommonSubsequence
PHP Implementation of Longest common subsequence algorith

[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Coverage Status][ico-coveralls]][link-coveralls]
[![Total Downloads][ico-downloads]][link-downloads]

PHP Implementation of Longest common subsequence algorith that works with UTF-8.

## Install

Via Composer

``` bash
$ composer require gordonlesti/longest-common-subsequence
```

## Usage

``` php
use GordonLesti\LongestCommonSubsequence\LongestCommonSubsequence;
```

With default default costs.

``` php
$$lcsDist = LongestCommonSubsequence::lcs("DABDC", "CBDBBAC");
```

## Change log

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Testing

``` bash
$ composer test
```

## Security

If you discover any security related issues, please email info@gordonlesti.com instead of using the issue tracker.

## Credits

- [Gordon Lesti][link-author]
- [All Contributors][link-contributors]

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.

[ico-version]: https://img.shields.io/packagist/v/gordonlesti/longest-common-subsequence.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/GordonLesti/LongestCommonSubsequence/master.svg?style=flat-square
[ico-coveralls]: https://img.shields.io/coveralls/GordonLesti/LongestCommonSubsequence/master.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/gordonlesti/longest-common-subsequence.svg?style=flat-square

[link-packagist]: https://packagist.org/packages/gordonlesti/longest-common-subsequence
[link-travis]: https://travis-ci.org/GordonLesti/LongestCommonSubsequence
[link-coveralls]: https://coveralls.io/r/GordonLesti/LongestCommonSubsequence?branch=master
[link-downloads]: https://packagist.org/packages/gordonlesti/longest-common-subsequence
[link-author]: https://gordonlesti.com
[link-contributors]: ../../contributors

0 comments on commit 4f8231e

Please sign in to comment.