00657c906e
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace which is autoloaded via composer mechanism. So there is no need for `require()` anymore. Also, tests were moved in `tests/` folder and phpunit should be executed from the project root folder. This is to conform to the de facto standard, notably in use in phpunit itself.
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "phpoffice/phpspreadsheet",
|
|
"description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine",
|
|
"keywords": ["PHP", "OpenXML", "Excel", "xlsx", "xls", "ods", "gnumeric", "spreadsheet"],
|
|
"homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
|
|
"type": "library",
|
|
"license": "LGPL-2.1",
|
|
"authors": [
|
|
{
|
|
"name": "Maarten Balliauw",
|
|
"homepage": "http://blog.maartenballiauw.be"
|
|
},
|
|
{
|
|
"name": "Mark Baker",
|
|
"homepage": "http://markbakeruk.net"
|
|
},
|
|
{
|
|
"name": "Franck Lefevre",
|
|
"homepage": "http://rootslabs.net"
|
|
},
|
|
{
|
|
"name": "Erik Tilt"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^5.5|^7.0",
|
|
"ext-mbstring": "*",
|
|
"ext-xml": "*",
|
|
"ext-xmlwriter": "*"
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "2.*",
|
|
"phpunit/phpunit": "4.6.*",
|
|
"mikey179/vfsStream": "1.5.*"
|
|
},
|
|
"suggest": {
|
|
"ext-zip": "*",
|
|
"ext-gd": "*",
|
|
"mpdf/mpdf": "Option for rendering PDF with PDF Writer",
|
|
"dompdf/dompdf": "Option for rendering PDF with PDF Writer",
|
|
"tecnick.com/tcpdf": "Option for rendering PDF with PDF Writer",
|
|
"jpgraph/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"PHPExcel\\": "src/PhpSpreadsheet"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"PhpSpreadsheet\\Tests\\": "tests/PhpSpreadsheet"
|
|
}
|
|
}
|
|
}
|