Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Doctrine Encrypt Bundle Laravel Package

coka/doctrine-encrypt-bundle

View on GitHub
Deep Wiki
Context7

Getting Started With OkaInputHandlerBundle

This bundle help the user input high quality data into your web services REST.

Prerequisites

The OkaInputHandlerBundle has the following requirements:

  • PHP 8.0+
  • Symfony 4.4+

Installation

Installation is a quick (I promise!) 3 step process:

  1. Download OkaInputHandlerBundle
  2. Register the Bundle
  3. Use bundle and enjoy!

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require coka/doctrine-encrypt-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Register the Bundle

Then, register the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project (Flex did it automatically):

return [
    //...
    Oka\Doctrine\EncryptBundle\OkaDoctrineEncryptBundle::class => ['all' => true],
]

Step 3: Use the bundle is simple

Now that the bundle is installed.

<?php
// App\Entity\Foo.php

namespace App\Entity;

use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Oka\Doctrine\EncryptBundle\Annotation\Encrypt;

/**
 * 
 */
#[ORM\Entity]
class Foo
{
    // ...
    
    /**
     * #[ORM\Column(type: Types::TEXT)]
     *
     * [@var](https://github.com/var) string
     */
    #[Encrypt(algorithm: 'aes256')]
    protected $secret;
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle