https://github.com/phpdevsr/phpspreadsheet-secure
A Secured PHPSpreadsheet
https://github.com/phpdevsr/phpspreadsheet-secure
Last synced: 3 months ago
JSON representation
A Secured PHPSpreadsheet
- Host: GitHub
- URL: https://github.com/phpdevsr/phpspreadsheet-secure
- Owner: PHPDevsr
- License: mit
- Created: 2024-08-13T07:36:54.000Z (almost 2 years ago)
- Default Branch: develop
- Last Pushed: 2026-03-02T06:38:41.000Z (3 months ago)
- Last Synced: 2026-03-02T07:40:11.530Z (3 months ago)
- Language: PHP
- Size: 102 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Secure Spreadsheet
🔥 Secure your data exports - encrypt and password protect sensitive XLSX files
The [Office Open XML format](https://en.wikipedia.org/wiki/Office_Open_XML) provides a standard for encryption and password protection. Works with Excel, Numbers, and LibreOffice Calc.
[](https://github.com/PHPDevsr/PHPSpreadsheet-Secure/actions/workflows/test-phpunit.yml)
[](https://github.com/PHPDevsr/PHPSpreadsheet-Secure/actions/workflows/test-phpstan.yml)
[](https://coveralls.io/github/PHPDevsr/PHPSpreadsheet-Secure?branch=develop)
[](https://packagist.org/packages/phpdevsr/phpspreadsheet-secure)
[](https://packagist.org/packages/phpdevsr/phpspreadsheet-secure)
[](https://packagist.org/packages/phpdevsr/phpspreadsheet-secure)
[](https://github.com/PHPDevsr/PHPSpreadsheet-Secure/blob/develop/LICENSE)
[](https://github.com/PHPDevsr/PHPSpreadsheet-Secure/pulls)
## 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
```php
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*](https://github.com/PHPDevsr/PHPSpreadsheet-Secure/blob/develop/contributing/README.md).
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](https://contrib.rocks).