Skip to content

PHPDevsr/PHPSpreadsheet-Secure

Repository files navigation

Secure Spreadsheet

🔥 Secure your data exports - encrypt and password protect sensitive XLSX files

The Office Open XML format provides a standard for encryption and password protection. Works with Excel, Numbers, and LibreOffice Calc.

PHPUnit PHPStan Coverage Status Downloads GitHub release (latest by date) GitHub stars GitHub license contributions welcome

Installation

To install the package:

Run composer require phpdevsr/phpspreadsheet-secure to add the package to your project.

This will automatically install the package to your vendor folder.

Usage

require "vendor/autoload.php";

use PHPDevsr\Spreadsheet\Secure;

$test = new Secure();
$test->setFile('Book1.xlsx')
    ->setPassword('111')
    ->output('bb.xlsx');

Contributing

We are accepting contributions from the community! It doesn't matter whether you can code, write documentation, or help find bugs, all contributions are welcome.

Please read the Contributing to PHPDevsr.

This repository has had thousands on contributions from people since its creation. This project would not be what it is without them.

Made with contrib.rocks.