Merge branch 'master' into nelmio-api-doc-bundle

This commit is contained in:
Michael COULLERET
2017-05-26 18:57:58 +02:00
committed by GitHub
25 changed files with 228 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
| Q | A
| ------------- | ---
| License | MIT
<!--
Please, carefully read the Contributing section in the README
before submitting a pull request.
-->
+26 -2
View File
@@ -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
@@ -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']
@@ -0,0 +1,8 @@
{
"bundles": {
"Ivory\\CKEditorBundle\\IvoryCKEditorBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"env": {
"ENQUEUE_DSN": "amqp://"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"env": {
"ENQUEUE_DSN": "mysql://"
}
}
@@ -0,0 +1,4 @@
enqueue:
transport:
default: '%env(ENQUEUE_DSN)%'
client: ~
@@ -0,0 +1,5 @@
enqueue:
transport:
default: 'null://'
client:
traceable_producer: true
+11
View File
@@ -0,0 +1,11 @@
{
"bundles": {
"Enqueue\\Bundle\\EnqueueBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
},
"env": {
"ENQUEUE_DSN": "null://"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"env": {
"ENQUEUE_DSN": "file://%VAR_DIR%/enqueue"
}
}
@@ -0,0 +1,2 @@
fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
@@ -0,0 +1,8 @@
{
"bundles": {
"FOS\\JsRoutingBundle\\FOSJsRoutingBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
}
@@ -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'
@@ -0,0 +1,2 @@
_liip_imagine:
resource: "@LiipImagineBundle/Resources/config/routing.yaml"
+8
View File
@@ -0,0 +1,8 @@
{
"bundles": {
"Liip\\ImagineBundle\\LiipImagineBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
}
+6
View File
@@ -0,0 +1,6 @@
<bg=blue;fg=white> Getting started using </><bg=blue;fg=white;options=bold>liip/imagine-bundle</><bg=blue;fg=white> </>
<fg=blue;options=bold>Configure</> <fg=blue>your transformations:</>
1. You <options=bold>MUST</> verify and uncomment the configuration in <comment>%ETC_DIR%/packages/imagine.yaml</>.
2. You <options=bold>MAY</> configure your image transformation library (<comment>gmagick</>, <comment>imagick</>, or <comment>gd</> [default]).
3. You <options=bold>MAY</> define custom transformation definitions under the <comment>filter_sets</> option.
@@ -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
@@ -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"
}
}
@@ -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'
@@ -0,0 +1,8 @@
{
"bundles": {
"Http\\HttplugBundle\\HttplugBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
}
@@ -0,0 +1,6 @@
snc_redis:
clients:
default:
type: predis
alias: default
dsn: "%env(REDIS_URL)%"
+12
View File
@@ -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"
}
}
@@ -0,0 +1,3 @@
doctrine:
orm:
naming_strategy: wmc.doctrine.orm.naming_strategy
@@ -0,0 +1,8 @@
{
"bundles": {
"WMC\\DoctrineNamingStrategyBundle\\WMCDoctrineNamingStrategyBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
}
}