123456789101112131415161718192021 |
- --TEST--
- Check for vtiful presence
- --SKIPIF--
- <?php if (!extension_loaded("xlswriter")) print "skip"; ?>
- --FILE--
- <?php
- $config = ['path' => './tests'];
- $excel = new \Vtiful\Kernel\Excel($config);
- $filePath = $excel->fileName("tutorial01.xlsx")
- ->mergeCells('A1:C1', 'Merge cells')
- ->output();
- var_dump($filePath);
- ?>
- --CLEAN--
- <?php
- @unlink(__DIR__ . '/tutorial01.xlsx');
- ?>
- --EXPECT--
- string(23) "./tests/tutorial01.xlsx"
|