Skip to content

Commit

Permalink
Merge pull request #169 from FriendsOfSylius/switch-excel-lib
Browse files Browse the repository at this point in the history
Switch excel lib
  • Loading branch information
Matthias Alt authored Feb 18, 2019
2 parents 0eb26fe + 2f08015 commit d33adda
Show file tree
Hide file tree
Showing 17 changed files with 487 additions and 169 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
1. Require relevant portphp format support

- Run `composer require portphp/csv --no-update` to add CSV format support
- Run `composer require portphp/excel --no-update` to add Excel format support (also install the `zip` PHP extension)
- Run `composer require portphp/spreadsheet --no-update` to add Excel format support (also install the `zip` PHP extension)

2. Require and install the plugin

Expand Down Expand Up @@ -385,7 +385,7 @@ With the provided keys you can influence which fields of a resource are exported
- Test application install

```bash
$ composer install
$ composer require sylius/sylius symfony/symfony
$ (cd tests/Application && yarn install)
$ (cd tests/Application && yarn run gulp)
$ (cd tests/Application && bin/console assets:install web -e test)
Expand Down Expand Up @@ -447,3 +447,6 @@ With the provided keys you can influence which fields of a resource are exported
$ (cd tests/Application && bin/console sylius:fixtures:load -e dev)
$ (cd tests/Application && bin/console server:run -d web -e dev)
```

Fixture file with login information:
https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/CoreBundle/Resources/config/app/fixtures.yml
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"queue-interop/queue-interop": "^0.6.2"
},
"suggest": {
"portphp/excel": "To support importing excel files, use version ^1.1",
"ext-zip": "To support writing of Excel files",
"portphp/spreadsheet": "To support importing Excel and LibreOffice Calc files, use version ^1.1",
"portphp/csv": "To support importing csv files, use version ^1.1",
"enqueue/enqueue-bundle" : "To help defining message queuing services",
"enqueue/redis" : "To support message queuing via redis",
Expand All @@ -39,7 +38,7 @@
"phpstan/phpstan-webmozart-assert": "^0.10.0",
"phpunit/phpunit": "^5.6",
"portphp/csv": "^1.1.0",
"portphp/excel": "^1.1.0",
"portphp/spreadsheet": "^1.0.0-alpha",
"predis/predis": "^1.1",
"se/selenium-server-standalone": "^2.52",
"sylius-labs/coding-standard": "^2.0",
Expand Down
Loading

0 comments on commit d33adda

Please sign in to comment.