Questions tagged [phpoffice-phpspreadsheet]
The phpoffice-phpspreadsheet tag has no usage guidance.
7
questions
0
votes
0answers
11 views
Phpspreadsheet Comment box text Horizontal Right
How could i set column comment text align to right? here is my code:
$spreadsheet->getActiveSheet()
->getComment('E11')
->setAuthor('Mark Baker');
$commentRichText = $spreadsheet->...
2
votes
1answer
26 views
We found a problem with some content in 'Spreadsheet.xlsx'. Do you want us to try to recover as much as we can?
I have the following basic PHP project (just one file plus composer config):
composer.json
{
"config": {
"optimize-autoloader": true,
"platform": {
...
0
votes
0answers
34 views
Why cannot read csv file by PhpOffice\PhpSpreadsheet?
I'm using PhpOffice\PhpSpreadsheet to read a csv file like :
$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReaderForFile($file);
$reader->setReadDataOnly(true);
$spreadsheet = $reader->...
0
votes
0answers
23 views
PHPOffice PHPSpreadsheet corrupted excel file
Working with PHPSpreadsheet to create a customized spreadsheet. We have two servers. On the first with ubuntu+apache all works fine . However, with the same code on the second server (centos+nginx) we ...
0
votes
0answers
33 views
Could not find package phpoffice/phpspreadsheet
[InvalidArgumentException]
Could not find package phpspreadsheet.
Did you mean one of these?
portphp/spreadsheet
phpoffice/phpspreadsheet
ideea/excel
phpoffice/phpexcel
...
0
votes
0answers
274 views
Corrupted composer.json file in Laravel 8
When I tried to remove the package maatwebsite/excel from my project, I damaged something badly. The problem is that I can't track the changes I made. Before I removed maatwebsite/excel from composer....
1
vote
0answers
23 views
Excel validation in Laravel
I'm trying to do some Excel validation when uploading a file. This is what my Excel file looks like.
Name | Price 1 | Price 2 | Price 3 | Total
Item 1 | 123 | 123 | 123 | 369
Item 2 | ...