Spark Framework Bundle
This bundle is designed to provide core components for your bundles.
Requirements
This bundle relies on the following:
Bundle Parameters
#!yml
spark_framework.form.factory.class: Spark\FrameworkBundle\Form\Factory\FormFactory
spark_framework.component.scrambler.class: Spark\FrameworkBundle\Component\Scrambler
spark_framework.component.otp_generator.class: Spark\FrameworkBundle\Component\OTPGenerator
Add it in your project
- ** composer require "2spark/framework-bundle" **
- ** Add the bundle in your registered bundles (AppKernel.php in app folder) **
Detailed document
What it provides
It provides various components:
Component:
- GrouperInterface
- IpTools
- JsonValidator
- Logger (made by Benoit MAZIERE)
- Memory
- OTPGenerator
- OTPGeneratorInterface
- Scrambler
- ScramblerInterface
- StringUtilities
DataFixtures:
Dependency Injection:
- OTPGeneratorCompilerPass
- ScramblerCompilerPass
Doctrine:
- CacheableDocumentRepository
- CacheableDocumentRepositoryFactory
Event:
- ArrayCollectionSubscriber
Exception:
Form:
Request:
- MultiCollectionsParamConverter
Traits:
- ConnectionLogger
- HexadecimalValidator
- Logger
- PDOTablePrefix
Validator:
- UniqueDocument
- UniqueDocumentValidator
Acknowledgements
I would like to thank Friends of Symfony for their FormFactory class, it has been an inspiration for designing Form Handler.
A special thank you for Benoit Maziere who developed a lightweight logger and allowed me to integrate it within this bundle.