diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..dc6807e8 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,8 @@ +| Q | A +| ------------- | --- +| License | MIT + + diff --git a/README.rst b/README.rst index f8c9e361..3d36b23f 100644 --- a/README.rst +++ b/README.rst @@ -5,16 +5,40 @@ Symfony recipes allow the automation of Composer packages configuration via the `Symfony Flex`_ Composer plugin. This repository hosts contributed recipes for Composer packages that are not -part of the "official" `Symfony recipes`_. To enable this repository in your -project, run the following command: +part of the "official" `Symfony recipes`_. To enable recipes defined in this +repository for your project, run the following command: .. code-block:: bash composer config extra.symfony.allow-contrib true +Contributing +------------ + For more information about contributing a recipe, read the `documentation`_ on the main repository. +Unlike for official recipes, the pull requests for new contrib recipes are +managed by the community. Pull requests are reviewed by the Symfony Bot and +automatically merged when the following conditions are met (in that order): + +* The pull request title does not contain "WIP"; + +* The Symfony Bot approved the pull request and reported no validation errors; + +* Someone (not the Symfony bot nor the pull request author) approved the pull + request; + +* The pull request author or the reviewer is a "trusted user". A "trusted user" + being one of the following: + + * A Symfony Core Merger; + + * The user is the Github owner for all modified packages; + + * The user is a member of the organizations (publicly visible) for all + modified packages. + .. _`Symfony Flex`: https://github.com/symfony/flex .. _`Symfony recipes`: https://github.com/symfony/recipes .. _`documentation`: https://github.com/symfony/recipes diff --git a/egeloen/ckeditor-bundle/5.0/etc/packages/ivory_ck_editor.yaml b/egeloen/ckeditor-bundle/5.0/etc/packages/ivory_ck_editor.yaml new file mode 100644 index 00000000..5f5472db --- /dev/null +++ b/egeloen/ckeditor-bundle/5.0/etc/packages/ivory_ck_editor.yaml @@ -0,0 +1,9 @@ +ivory_ck_editor: + default_config: simple_toolbar + configs: + simple_toolbar: + toolbar: + - ['Bold', 'Italic', 'Strike', 'Link'] + - ['BulletedList', 'NumberedList', '-', 'Outdent', 'Indent'] + - ['Copy', 'Paste', 'PasteFromWord', '-', 'Undo', 'Redo'] + - ['Source'] diff --git a/egeloen/ckeditor-bundle/5.0/manifest.json b/egeloen/ckeditor-bundle/5.0/manifest.json new file mode 100644 index 00000000..c48c4bcb --- /dev/null +++ b/egeloen/ckeditor-bundle/5.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Ivory\\CKEditorBundle\\IvoryCKEditorBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +} diff --git a/enqueue/amqp-ext/0.4/manifest.json b/enqueue/amqp-ext/0.4/manifest.json new file mode 100644 index 00000000..17bec490 --- /dev/null +++ b/enqueue/amqp-ext/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "ENQUEUE_DSN": "amqp://" + } +} diff --git a/enqueue/dbal/0.4/manifest.json b/enqueue/dbal/0.4/manifest.json new file mode 100644 index 00000000..221ba501 --- /dev/null +++ b/enqueue/dbal/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "ENQUEUE_DSN": "mysql://" + } +} diff --git a/enqueue/enqueue-bundle/0.4/etc/packages/enqueue.yaml b/enqueue/enqueue-bundle/0.4/etc/packages/enqueue.yaml new file mode 100644 index 00000000..3be5e8ac --- /dev/null +++ b/enqueue/enqueue-bundle/0.4/etc/packages/enqueue.yaml @@ -0,0 +1,4 @@ +enqueue: + transport: + default: '%env(ENQUEUE_DSN)%' + client: ~ diff --git a/enqueue/enqueue-bundle/0.4/etc/packages/test/enqueue.yaml b/enqueue/enqueue-bundle/0.4/etc/packages/test/enqueue.yaml new file mode 100644 index 00000000..dfdf970e --- /dev/null +++ b/enqueue/enqueue-bundle/0.4/etc/packages/test/enqueue.yaml @@ -0,0 +1,5 @@ +enqueue: + transport: + default: 'null://' + client: + traceable_producer: true diff --git a/enqueue/enqueue-bundle/0.4/manifest.json b/enqueue/enqueue-bundle/0.4/manifest.json new file mode 100644 index 00000000..837b5d3d --- /dev/null +++ b/enqueue/enqueue-bundle/0.4/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Enqueue\\Bundle\\EnqueueBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + }, + "env": { + "ENQUEUE_DSN": "null://" + } +} diff --git a/enqueue/fs/0.4/manifest.json b/enqueue/fs/0.4/manifest.json new file mode 100644 index 00000000..56f68201 --- /dev/null +++ b/enqueue/fs/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "env": { + "ENQUEUE_DSN": "file://%VAR_DIR%/enqueue" + } +} diff --git a/friendsofsymfony/jsrouting-bundle/2.0/etc/routing/fos_js_routing.yaml b/friendsofsymfony/jsrouting-bundle/2.0/etc/routing/fos_js_routing.yaml new file mode 100644 index 00000000..c699b65f --- /dev/null +++ b/friendsofsymfony/jsrouting-bundle/2.0/etc/routing/fos_js_routing.yaml @@ -0,0 +1,2 @@ +fos_js_routing: + resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" diff --git a/friendsofsymfony/jsrouting-bundle/2.0/manifest.json b/friendsofsymfony/jsrouting-bundle/2.0/manifest.json new file mode 100644 index 00000000..546262d9 --- /dev/null +++ b/friendsofsymfony/jsrouting-bundle/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "FOS\\JsRoutingBundle\\FOSJsRoutingBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +} diff --git a/liip/imagine-bundle/1.8/etc/packages/imagine.yaml b/liip/imagine-bundle/1.8/etc/packages/imagine.yaml new file mode 100644 index 00000000..3b28f78b --- /dev/null +++ b/liip/imagine-bundle/1.8/etc/packages/imagine.yaml @@ -0,0 +1,36 @@ +#liip_imagine: +# +# # valid drivers options include "gd" or "gmagick" or "imagick" +# driver: "gd" +# +# # define your filter sets under this option +# filter_sets: +# +# # an example thumbnail transformation definition +# # https://symfony.com/doc/current/bundles/LiipImagineBundle/basic-usage.html#create-thumbnails +# squared_thumbnail: +# +# # set your image quality defaults +# jpeg_quality: 85 +# png_compression_level: 8 +# +# # setup the filter steps to apply for this transformation +# filters: +# +# # auto rotate the image using EXIF metadata +# auto_rotate: ~ +# +# # strip the image of all metadata +# strip: ~ +# +# # scale and square the image to the given dimensions +# thumbnail: +# size: [253, 253] +# mode: outbound +# allow_upscale: true +# +# # create border by placing image on larger black background +# background: +# size: [256, 256] +# position: center +# color: '#fff' diff --git a/liip/imagine-bundle/1.8/etc/routing/imagine.yaml b/liip/imagine-bundle/1.8/etc/routing/imagine.yaml new file mode 100644 index 00000000..201cbd5d --- /dev/null +++ b/liip/imagine-bundle/1.8/etc/routing/imagine.yaml @@ -0,0 +1,2 @@ +_liip_imagine: + resource: "@LiipImagineBundle/Resources/config/routing.yaml" diff --git a/liip/imagine-bundle/1.8/manifest.json b/liip/imagine-bundle/1.8/manifest.json new file mode 100644 index 00000000..42b3af68 --- /dev/null +++ b/liip/imagine-bundle/1.8/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Liip\\ImagineBundle\\LiipImagineBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +} diff --git a/liip/imagine-bundle/1.8/post-install.txt b/liip/imagine-bundle/1.8/post-install.txt new file mode 100644 index 00000000..2f8404a4 --- /dev/null +++ b/liip/imagine-bundle/1.8/post-install.txt @@ -0,0 +1,6 @@ + Getting started using liip/imagine-bundle + + Configure your transformations: + 1. You MUST verify and uncomment the configuration in %ETC_DIR%/packages/imagine.yaml. + 2. You MAY configure your image transformation library (gmagick, imagick, or gd [default]). + 3. You MAY define custom transformation definitions under the filter_sets option. diff --git a/php-amqplib/rabbitmq-bundle/1.12/etc/packages/old_sound_rabbit_mq.yaml b/php-amqplib/rabbitmq-bundle/1.12/etc/packages/old_sound_rabbit_mq.yaml new file mode 100644 index 00000000..0360f916 --- /dev/null +++ b/php-amqplib/rabbitmq-bundle/1.12/etc/packages/old_sound_rabbit_mq.yaml @@ -0,0 +1,15 @@ +old_sound_rabbit_mq: + connections: + default: + url: '%env(RABBITMQ_URL)%' +# producers: +# # use 'old_sound_rabbit_mq.task_producer' service to send data. +# task: +# connection: default +# exchange_options: { name: 'task', type: direct } +# consumers: +# task: +# connection: default +# exchange_options: { name: 'task', type: direct } +# queue_options: { name: 'task'} +# callback: App\Consumer\TaskConsumer diff --git a/php-amqplib/rabbitmq-bundle/1.12/manifest.json b/php-amqplib/rabbitmq-bundle/1.12/manifest.json new file mode 100644 index 00000000..2bea3d70 --- /dev/null +++ b/php-amqplib/rabbitmq-bundle/1.12/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "OldSound\\RabbitMqBundle\\OldSoundRabbitMqBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "RABBITMQ_URL": "amqp://guest:guest@localhost:5672" + } +} diff --git a/php-amqplib/rabbitmq-bundle/1.12/src/Consumer/.gitkeep b/php-amqplib/rabbitmq-bundle/1.12/src/Consumer/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/php-http/httplug-bundle/1.6/etc/packages/httplug.yaml b/php-http/httplug-bundle/1.6/etc/packages/httplug.yaml new file mode 100644 index 00000000..319e8ece --- /dev/null +++ b/php-http/httplug-bundle/1.6/etc/packages/httplug.yaml @@ -0,0 +1,16 @@ +httplug: + plugins: + logger: + enabled: '%kernel.debug%' # Set to true if you want enable logging in production + redirect: + preserve_header: true + + discovery: + client: 'auto' + + clients: + app: + http_methods_client: true + plugins: + - 'httplug.plugin.logger' + - 'httplug.plugin.redirect' diff --git a/php-http/httplug-bundle/1.6/manifest.json b/php-http/httplug-bundle/1.6/manifest.json new file mode 100644 index 00000000..4fddef62 --- /dev/null +++ b/php-http/httplug-bundle/1.6/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Http\\HttplugBundle\\HttplugBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +} diff --git a/snc/redis-bundle/2.0/etc/packages/snc_redis.yaml b/snc/redis-bundle/2.0/etc/packages/snc_redis.yaml new file mode 100644 index 00000000..1ad96977 --- /dev/null +++ b/snc/redis-bundle/2.0/etc/packages/snc_redis.yaml @@ -0,0 +1,6 @@ +snc_redis: + clients: + default: + type: predis + alias: default + dsn: "%env(REDIS_URL)%" diff --git a/snc/redis-bundle/2.0/manifest.json b/snc/redis-bundle/2.0/manifest.json new file mode 100644 index 00000000..46feee10 --- /dev/null +++ b/snc/redis-bundle/2.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Snc\\RedisBundle\\SncRedisBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + }, + "env": { + "#1": "passwords that contain special characters (@, %, :, +) must be urlencoded", + "REDIS_URL": "redis://localhost" + } +} diff --git a/wemakecustom/doctrine-naming-strategy-bundle/1.0/etc/packages/wmc_doctrine_naming_strategy.yaml b/wemakecustom/doctrine-naming-strategy-bundle/1.0/etc/packages/wmc_doctrine_naming_strategy.yaml new file mode 100644 index 00000000..da6c951a --- /dev/null +++ b/wemakecustom/doctrine-naming-strategy-bundle/1.0/etc/packages/wmc_doctrine_naming_strategy.yaml @@ -0,0 +1,3 @@ +doctrine: + orm: + naming_strategy: wmc.doctrine.orm.naming_strategy diff --git a/wemakecustom/doctrine-naming-strategy-bundle/1.0/manifest.json b/wemakecustom/doctrine-naming-strategy-bundle/1.0/manifest.json new file mode 100644 index 00000000..3c7576e6 --- /dev/null +++ b/wemakecustom/doctrine-naming-strategy-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "WMC\\DoctrineNamingStrategyBundle\\WMCDoctrineNamingStrategyBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +}