Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kijtra/textdiff
Simple text diff script
https://github.com/kijtra/textdiff
Last synced: about 2 months ago
JSON representation
Simple text diff script
- Host: GitHub
- URL: https://github.com/kijtra/textdiff
- Owner: kijtra
- License: mit
- Created: 2015-10-30T13:58:03.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2021-02-15T02:22:01.000Z (over 3 years ago)
- Last Synced: 2024-02-15T14:33:14.679Z (7 months ago)
- Language: PHP
- Homepage: http://demo.kijtra.com/textdiff/
- Size: 22.5 KB
- Stars: 49
- Watchers: 8
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TextDiff class
Simple Text Diff PHP class.
日本語の場合は"ある程度"分かち書きしてわかりやすくしてます。[DEMO PAGE](http://demo.kijtra.com/textdiff/)
## Usage
```php
getData();// Get HTML data (use table tag)
$html = $diff->getHtml();
```## License
MIT
## ChangeLog
### v2.1.1
- README 編集
- 旧ファイルパスを維持
- `index.php` のファイル名を `example.php` に変更### v2.0.0
- とりあえず PHP5.6 以上対応とする
- **名前空間追加**
```php