https://github.com/roundpartner/backup-service
Service for generating back ups
https://github.com/roundpartner/backup-service
Last synced: 28 days ago
JSON representation
Service for generating back ups
- Host: GitHub
- URL: https://github.com/roundpartner/backup-service
- Owner: roundpartner
- Created: 2016-04-30T12:21:37.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T11:49:27.000Z (almost 3 years ago)
- Last Synced: 2025-03-03T01:31:48.386Z (over 1 year ago)
- Language: PHP
- Size: 79.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backup Service
Service for generating back ups
## Usage
### Excel
Get Excel Workbook as a string
```php
$result = ExcelFactory::asString($input);
```
This can then be outputted as a file
```php
header('Content-type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
header('Content-Disposition: inline; filename="workbook.xlsx"');
```
## Clean Code
```bash
./vendor/bin/phpcbf --standard=psr2 ./src
./vendor/bin/phpcs --standard=psr2 ./src
```