Download the PHP package jmrashed/laravel-cryptographic-signatures without Composer

On this page you can find all versions of the php package jmrashed/laravel-cryptographic-signatures. 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 laravel-cryptographic-signatures

Laravel Cryptographic Signatures

A Laravel package for generating and verifying cryptographic signatures using RSA keys. This package provides easy-to-use methods for securing your data through signatures, ensuring authenticity and integrity.

Installation

You can install the package via Composer by running the following command in your Laravel project:

Publishing Configuration

Publish the package's configuration file to customize your keys:

This will create a cryptosignature.php file in the config/ directory, where you can specify the paths to your private and public keys.

Configuration

In your .env file, set the paths to your private and public keys:

How to generate RSA keys: storage/keys/private.key and storage/keys/public.key

Make sure your keys are stored securely in the specified paths.

How to publish config and keys

Usage

Once the package is installed and configured, you can easily generate and verify cryptographic signatures.

Generating a Signature

Use the CryptoSignature facade to generate a signature for your data.

Verifying a Signature

You can also verify a signature to ensure the integrity and authenticity of the data.

Features

Example

Here’s a complete example that demonstrates generating and verifying a signature:

Testing

To run tests for the package, use the following command:

Make sure your keys are properly configured in the .env file before running the tests.

License

The package is open-sourced software licensed under the MIT license.

Contributing

Contributions are welcome! Please feel free to fork the repository, submit issues, and send pull requests.

Support

If you encounter any issues or have questions, feel free to open an issue in the GitHub repository.

Acknowledgments


All versions of laravel-cryptographic-signatures with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version ^11.0
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 jmrashed/laravel-cryptographic-signatures contains the following files

Loading the files please wait ...