paneric / component-module
v3.0.5
2022-09-26 11:50 UTC
Requires
- ext-pdo: *
- paneric/csr-triad: ^3.0
- paneric/dbal: ^2.0
- paneric/guard: ^1.2
- paneric/interfaces-event: ^1.0
- paneric/pagination: ^2.0
- paneric/responder: ^1.0
- psr/event-dispatcher: ^1.0
- slim/psr7: ^1.3
Requires (Dev)
- roave/security-advisories: dev-latest
README
App\config\GuardConfig
src/config/GuardConfig.php (project folder)
<?php
declare(strict_types=1);
namespace App\config;
class GuardConfig
{
public function __invoke(): array
{
return [
'key_ascii' => $_ENV['KEY_ASCII'],
'algo_password' => PASSWORD_BCRYPT,
'options_algo_password' => [
'cost' => 10,
],
'algo_hash' => 'sha512',
'unique_id_prefix' => '',
'unique_id_more_entropy' => true,
];
}
}