2spark / framework-bundle
2Spark Framework Bundle
Requires
- php: >=5.4.37
Requires (Dev)
- doctrine/dbal: <2.5
- doctrine/doctrine-bundle: ~1.4
- doctrine/doctrine-fixtures-bundle: ^2.2
- doctrine/mongodb-odm: 1.0.*@dev
- doctrine/mongodb-odm-bundle: 3.0.*@dev
- doctrine/orm: ~2.2,>=2.2.3,<2.5
- incenteev/composer-parameter-handler: ~2.0
- knplabs/knp-paginator-bundle: ^2.4
- phpunit/phpunit: ^4.7
- sensio/distribution-bundle: ~3.0,>=3.0.12
- sensio/framework-extra-bundle: ~3.0,>=3.0.2
- symfony/assetic-bundle: ~2.3
- symfony/monolog-bundle: ~2.4
- symfony/swiftmailer-bundle: ~2.3
- symfony/symfony: ~2.7|~2.8
This package is auto-updated.
Last update: 2024-11-29 04:46:42 UTC
README
This bundle is designed to provide core components for your bundles.
Requirements
This bundle relies on the following:
> - Symfony 2.7.*
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
- Resources/doc/
What it provides
It provides various components:
Component:
> - HttpFoundation:
>> - PublicResponse
> - GrouperInterface > - IpTools > - JsonValidator > - Logger (made by Benoit MAZIERE) > - Memory > - OTPGenerator > - OTPGeneratorInterface > - Scrambler > - ScramblerInterface > - StringUtilities
DataFixtures:
> - DataFixturesLoader
Dependency Injection:
> - OTPGeneratorCompilerPass > - ScramblerCompilerPass
Doctrine:
>> - ODM:
>>> - MongoDB:
>>>> - CacheableDocumentRepository >>>> - CacheableDocumentRepositoryFactory
Event:
>> - Subscriber:
>>> - Doctrine:
>>>> - TablePrefixSubscriber
>>> - Sortable:
>>>> - Doctrine:
>>>>> - ArrayCollectionSubscriber
>>>> - SortableSubscriber
Exception:
>> - NotImplementedException
Form:
>> - Factory:
>>> - FormFactory
Request:
>> - ParamConverter:
>>> - MultiCollectionsParamConverter
Traits:
>> - ConnectionLogger >> - HexadecimalValidator >> - Logger >> - PDOTablePrefix
Validator:
>> - Constraints:
>>> - 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.