Collaboration examples
Collaboration Excel examples, explained clearly.
Open a focused example to see the implementation path, copy-ready PHP, expected workbook behavior, and the production boundary that matters.
2examples in this category
21supported categories
5implementation paths
Monolithic library
Collaboration examples with copy-ready, production-minded PHP.
Each example identifies the exact methods it uses and can be opened independently from the right-side index.
- 2
- examples
- 4
- documented methods
comment()comments()<?php
declare(strict_types=1);
/*
Summary:
Add classic Excel notes with an author, content, size, and visibility settings.
Implementation note:
The writer creates classic notes/comments. Modern threaded collaboration comments are
service-managed and are not authored by the library.
*/
use Mnb\PHPExcel\MnbExcel;
MnbExcel::report($rows)
->comment('C2', 'Finance Team', 'Confirm this amount before approval.', [
'width' => 280,
'height' => 120,
'visible' => false,
])
->save('comments-and-notes.xlsx');No matching example found.Try a method name, task, or result.
Was this guide useful?Use GitHub issues for corrections, missing examples, or unclear behavior.
Open an issue