PHPackages                             w360/import-gpg-excel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. w360/import-gpg-excel

ActiveLibrary[File &amp; Storage](/categories/file-storage)

w360/import-gpg-excel
=====================

Library for uploads images multi sizes

3.0.7(3y ago)0252MITPHP

Since Feb 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/w360co/import-gpg-excel)[ Packagist](https://packagist.org/packages/w360/import-gpg-excel)[ Docs](https://github.com/w360/image-storage)[ RSS](/packages/w360-import-gpg-excel/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

W360 Import GPG Excel
=====================

[](#w360-import-gpg-excel)

library to import files encrypted with pgp format

[![runtest](https://github.com/w360co/import-gpg-excel/actions/workflows/laravel-test.yml/badge.svg?branch=main)](https://github.com/w360co/import-gpg-excel/actions/workflows/laravel-test.yml)[![Total Downloads](https://camo.githubusercontent.com/d8aa8e38d1621dd644182bceed7724340d5dd25215ea244932ffdde0f5f998df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f773336302f696d706f72742d6770672d657863656c)](https://packagist.org/packages/w360/import-gpg-excel)[![Latest Stable Version](https://camo.githubusercontent.com/f964bbebb10475ffeb64cc54c8073b56435f81a9f44e8da02ce9f58310d6733d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f773336302f696d706f72742d6770672d657863656c)](https://packagist.org/packages/w360/import-gpg-excel)[![License](https://camo.githubusercontent.com/6c681362900302cf6a59bf0ff46e63a73667dc207e91ad729afd0a1a59f18d11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f773336302f696d706f72742d6770672d657863656c)](https://packagist.org/packages/w360/import-gpg-excel)

Table of Contents
=================

[](#table-of-contents)

- [Features](#Features)
- [License](#License)

Installation
------------

[](#installation)

```
> composer require w360/import-gpg-excel

```

Publishable
-----------

[](#publishable)

```
php artisan vendor:publish --tag=config
php artisan vendor:publish --tag=migration

```

Migration
---------

[](#migration)

```
> php artisan migrate

```

Configure
---------

[](#configure)

instruct your application to use the database driver by updating the QUEUE\_CONNECTION variable in your application's .env file:

```
QUEUE_CONNECTION=database
GPG_SECRET_PASSPHRASE=mysecretpassphrase

```

finally, instruct your application the path of the GPG private key by updating the GPG\_PRIVATE\_KEY variable in the .env file or by modifying the gnupg.php file found in your application's config folder:

```
#.env
GPG_PRIVATE_KEY=/home/user/.gnupg/private.asc

```

or

```
#/config/gnupg.php
/*
 |--------------------------------------------------------------------------
 | GPG Signing Key
 |--------------------------------------------------------------------------
 |
 |  extension to save the decry
 |
 */

'private_key' => env('GPG_PRIVATE_KEY', __DIR__.'/key.asc')

```

Examples
--------

[](#examples)

### Example of used to load Excel files encrypted with OpenPGP

[](#example-of-used-to-load-excel-files-encrypted-with-openpgp)

\####App\\Imports\\UsersImport.php

```
