The CrossKnowledge/FeedbackDataEncrypter aims to convert subtitles files from and to different formats.
Add the bundle to your project:
// composer.json
"repositories": [
{
"type": "git",
"url": "[email protected]:ip/feedback-data-encrypter-bundle.git"
}
]
composer require crossknowledge/feedback-data-encrypter-bundle:dev-master
Enable bundle in your kernel:
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
...
new \CrossKnowledge\FeedbackDataEncrypterBundle\CrossKnowledgeFeedbackDataEncrypterBundle(),
);
...
Now, to encrypt data, you can use the following service in your controller:
$this->get('crossknowledge.feedback_data_encrypter')->encrypt($data, $key);
To decrypt data, you can use the following service in your controller:
$this->get('crossknowledge.feedback_data_encrypter')->decrypt($data, $key);
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
CrossKnowledgeDataEncryoterBundle is a CrossKnowledge initiative. See also the list of contributors. A couple of "distribution" (travis,readme.md, etc..) files are inspired from FriendsOfSymfony/FOSUserBundle's.
Contributions are more than welcome. We will try to integrate them. As long as there is no BC, anything can be suggested.
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.