roundly-consulting/sentinel-for-laravel
Sentinel for Laravel adds a lightweight security layer to your app, with configurable guards, role and permission checks, and audit-friendly logging so you can protect routes and track access with minimal setup.
crypto-for-laravel ^1.2.0:
composer require <vendor>/<package>
composer show <vendor>/crypto-for-laravel
php artisan vendor:publish --tag=<package>-config
php artisan <package>:key-generate # if provided
config/<package>.php — key source, default context/info strings, cipher choices.$ciphertext = Package::encryptString('secret', context: 'user-pii');
$plaintext = Package::decryptString($ciphertext, context: 'user-pii');
info/context strings per domain (user-pii, payment-token, queue-payload). Treat them like namespaced keys; this is the main day-to-day leverage point.protected $casts = [
'ssn' => EncryptedWithContext::class.':user-pii',
];
Illuminate\Encryption\Encrypter, bind it in a service provider and keep the Crypt facade contract stable for existing call sites.crypto-for-laravel's Hash\Hkdf; output is byte-identical and RFC 5869 vectors are unchanged. No re-encryption or migration is needed.crypto-for-laravel ^1.2.0. Update the lockfile and run the full suite, especially frozen format-vector tests, before deploying.info, salt, hash algorithm, or output length will break decryption of previously stored ciphertext. Version the format if a change is unavoidable.info string across unrelated features collapses your key separation. Centralize context constants and review them in code review.php artisan config:cache is fine, but changing .env requires clearing cached config.composer show if decryption fails after an upgrade.How can I help you explore Laravel packages today?