summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2cea68a..0c23f2c 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,31 @@
Fixes cell styles broken through [PHPExcel](https://github.com/phpoffice/phpexcel) read & write process.
+## Installation
+
+Use composer.
+
+```
+composer install phpexcel-fixer/style-fixer
+```
+
+## Usage
+
+```php
+<?php
+
+use PHPExcelFixer\StyleFixer\StyleFixer;
+use PHPExcelFixer\StyleFixer\Plugin\CellStyleFixer;
+use PHPExcelFixer\StyleFixer\Plugin\ConditionalFormatFixer;
+
+$templatePath = '/path/to/template.xlsx';
+$outputPath = '/path/to/output.xlsx';
+
+$fixer = new StyleFixer([new CellStyleFixer(), new ConditionlFormatFixer()]);
+$fixer->execute($outputPath, $templatePath);
+```
+
+## Feedback
+
+If you find any issue, please let me know.
+https://github.com/77web/PHPExcelFixer.StyleFixer/issues