Download the PHP package ferdhika31/php-crispy without Composer

On this page you can find all versions of the php package ferdhika31/php-crispy. 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 php-crispy

php-crispy

A custom Crypto utility PHP library that ports and wraps cryptography concepts from the go-crypsi module to make life easier when working with Digest, Cipher, HMAC, RSA, and RSA Digital Signatures natively in PHP.

Requirements

Installation

You can install the package via composer:

(Note: During development, you can simply clone this repository and run composer install)

Features

The library is split into 4 core cryptography modules under the Ferdhika31\PhpCrispy namespace:

1. Aesx (Symmetric Encryption)

Provides AES encryption and decryption functions mapping to CBC, CFB, and GCM modes. It implicitly determines your AES key size (128, 192, or 256 bits).

2. Digestx (Hashing)

Provides easy-to-use variadic functions for standard checksums. Supports MD5, SHA1, SHA256, SHA384, and SHA512.

3. Hmacx (Hash-based Message Authentication Code)

Provides HMAC signing capabilities guaranteeing data integrity, enforcing a minimum key length of 32 bytes for security.

4. Rsax (Asymmetric Encryption & Signatures)

Provides RSA Key Generation, Public-Key Cryptography Standard (PKCS) Encryption via OAEP, and RSA Digital Signatures.

Examples

To see full working examples for each algorithm, check the examples/ directory. Run them via terminal:

Testing

The library uses PHPUnit for robust testing. You can run the test suite by executing:

License

The MIT License (MIT). Please see License File for more information.


All versions of php-crispy with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-openssl Version *
ext-hash Version *
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 ferdhika31/php-crispy contains the following files

Loading the files please wait ...