avto-dev / hash-generator-laravel
Reversible hash generator for laravel applications
Installs: 5 833
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 3
Open Issues: 7
pkg:composer/avto-dev/hash-generator-laravel
Requires
- php: ^8.2
- ext-openssl: *
- illuminate/config: ~10.0 || ~11.0 || ~12.0
- illuminate/contracts: ~10.0 || ~11.0 || ~12.0
- illuminate/log: ~10.0 || ~11.0 || ~12.0
Requires (Dev)
- laravel/laravel: ~10.0 || ~11.0 || ~12.0
- mockery/mockery: ^1.6.5
- phpstan/phpstan: ^1.10.66
- phpunit/phpunit: ^10.5
- dev-master
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.0
- dev-renovate/php-8.x
- dev-renovate/composer-2.x
- dev-renovate/actions-checkout-6.x
- dev-renovate/actions-checkout-5.x
- dev-renovate/phpunit-phpunit-12.x
- dev-renovate/major-phpstan-packages
- dev-renovate/codecov-codecov-action-5.x
- dev-update-deps
- dev-fix-ci
This package is auto-updated.
Last update: 2025-11-21 00:41:01 UTC
README
Reversible Hash Generator for Laravel
Install
Require this package with composer using the following command:
$ composer require avto-dev/hash-generator-laravel "^1.0"
Installed
composeris required (how to install composer).
You need to fix the major version of package.
Setup
После установки пакета вам необходимо произвести его настройку в файле config/hash-generator.php:
<?php return [ 'cipher_algo' => 'aes-128-cfb', 'passphrase' => 'pass_phrase', // Случайную строку 'options' => 0, ];
Где
cipher_algo- алгоритм шифрованияpassphrase- фраза для получения хэшаoptions- одно из значенийOPENSSL_RAW_DATA,OPENSSL_ZERO_PADDING.
Использование
Testing
For package testing we use phpunit framework and docker with compose plugin as develop environment. So, just write into your terminal after repository cloning:
$ make build $ make latest # or 'make lowest' $ make test
Changes log
Changes log can be found here.
Support
If you will find any package errors, please, make an issue in current repository.
License
This is open-sourced software licensed under the MIT License.