Download the PHP package botdigit/completeopenpgp without Composer

On this page you can find all versions of the php package botdigit/completeopenpgp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package completeopenpgp

Sure! Here’s a comprehensive README.md for your CompleteOpenPGP package, which can be used by users to understand how to install and use the package in a Laravel application. This README includes installation instructions, configuration details, and usage examples.


CompleteOpenPGP Laravel Package

CompleteOpenPGP is a complete OpenPGP package for Laravel, supporting encryption, decryption, signing, and verification using the OpenPGP standard. It supports the ElGamal cryptosystem (with elliptic curve support) and integrates easily into Laravel applications.

Features

Installation

To install the package, you can use Composer.

Step 1: Install the Package via Composer

Run the following command in your terminal to install CompleteOpenPGP:

Step 2: (Optional) Publish the Configuration File

You can publish the configuration file to customize the package according to your needs:

This will create a configuration file at config/completeopenpgp.php.

Configuration

Once installed, you can configure the CompleteOpenPGP package by editing the published configuration file config/completeopenpgp.php.

Example configuration:

Make sure to set the environment variables (PGP_SIGNING_KEY, PGP_ENCRYPTION_KEY, PGP_PASSPHRASE) in your .env file.

Usage

Encrypting a Message

To encrypt a message using a public key:

Decrypting a Message

To decrypt a message using a private key and passphrase:

Signing a Message

To sign a message with your private key:

Verifying a Signed Message

To verify a signed message using the public key:

Command-Line Usage

You can also use artisan commands to perform encryption, decryption, signing, and verification.

Example Command to Encrypt a File:

Example Command to Decrypt a File:

Testing

To run tests for the CompleteOpenPGP package, you can use Laravel’s built-in test suite:

Unit Tests

Unit tests are provided in the tests directory. You can extend the tests based on your requirements.

Security

Contributing

If you'd like to contribute to CompleteOpenPGP, feel free to fork the repository, make your changes, and submit a pull request.

Steps to Contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add new feature')
  5. Push to the branch (git push origin feature/your-feature-name)
  6. Submit a pull request

License

This package is open-source and available under the MIT License.


Notes:

Let me know if you need additional changes or improvements!


All versions of completeopenpgp with dependencies

PHP Build Version
Package Version
Requires phpseclib/phpseclib Version dev-master
placetopay/php-gnupg Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package botdigit/completeopenpgp contains the following files

Loading the files please wait ....