mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-20 11:56:25 +03:00
+29
-5
@@ -8,10 +8,15 @@ cache:
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- php: 7.4snapshot
|
||||
- php: 7.4
|
||||
env: SKELETON_VERSION="^3.4"
|
||||
- php: 7.4
|
||||
env: SKELETON_VERSION="^4.4"
|
||||
- php: 7.4
|
||||
env: SKELETON_VERSION="^5.0"
|
||||
allow_failures:
|
||||
- php: 7.4
|
||||
env: SKELETON_VERSION="^3.4"
|
||||
- php: 7.4snapshot
|
||||
env: SKELETON_VERSION="^4.0"
|
||||
|
||||
before_install:
|
||||
- phpenv config-rm xdebug.ini || true
|
||||
@@ -24,5 +29,24 @@ install:
|
||||
- cd flex
|
||||
- composer config extra.symfony.allow-contrib true
|
||||
|
||||
script:
|
||||
- composer req --ignore-platform-reqs $(echo $PACKAGES)
|
||||
before_script:
|
||||
- |
|
||||
install_package() {
|
||||
composer require --ignore-platform-reqs $@;
|
||||
EXIT_CODE=$?;
|
||||
|
||||
MESSAGE="";
|
||||
if [[ EXIT_CODE -eq 0 ]]; then
|
||||
exit 0;
|
||||
elif [[ EXIT_CODE -eq 1 ]]; then
|
||||
MESSAGE="Could not install package and configure package.";
|
||||
elif [[ EXIT_CODE -eq 2 ]]; then
|
||||
MESSAGE="Could not resolve dependencies.\n# You can ignore this error if your package does not support Symfony $SKELETON_VERSION";
|
||||
fi
|
||||
|
||||
echo -e "\n#\n#\n# $MESSAGE\n#\n#\n#\n";
|
||||
exit $EXIT_CODE;
|
||||
}
|
||||
export -f install_package
|
||||
|
||||
script: install_package $(echo $PACKAGES)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
consul:
|
||||
service:
|
||||
name: '%env(resolve:CONSUL_SERVICE_NAME)%'
|
||||
host: '%env(resolve:CONSUL_SERVICE_HOST)%'
|
||||
port: '%env(resolve:CONSUL_SERVICE_PORT)%'
|
||||
client:
|
||||
base_uri: '%env(resolve:CONSUL_CLIENT_BASE_URI)%'
|
||||
@@ -0,0 +1,2 @@
|
||||
consul_bundle:
|
||||
resource: "@ConsulBundle/Resources/config/routing.yml"
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Akondas\\ConsulBundle\\ConsulBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"CONSUL_SERVICE_NAME": "symfony-app",
|
||||
"CONSUL_SERVICE_HOST": "localhost",
|
||||
"CONSUL_SERVICE_PORT": "8000",
|
||||
"CONSUL_CLIENT_BASE_URI": "http://127.0.0.1:8500"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
alexandre_evc:
|
||||
api_id: '%env(EVC_API)%'
|
||||
username: '%env(EVC_USERNAME)%'
|
||||
password: '%env(EVC_PASSWORD)%'
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Alexandre\\EvcBundle\\AlexandreEvcBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"EVC_API": "Enter the api version provided by evc.de support",
|
||||
"EVC_USERNAME": "Enter your reseller account number",
|
||||
"EVC_PASSWORD": "Enter your api password, not the password to connect on evc.de website"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
AmbientLink\SDK\SmartMonkeyConnection:
|
||||
arguments: ['@amnient.link_connection_settings', '%env(AMBIENT_LINK_USERNAME)%', '%env(AMBIENT_LINK_PASSWORD)%']
|
||||
|
||||
amnient.link_connection_settings:
|
||||
class: PhpMqtt\Client\ConnectionSettings
|
||||
|
||||
PhpMqtt\Client\Contracts\MQTTClient: '@PhpMqtt\Client\MQTTClient'
|
||||
PhpMqtt\Client\MQTTClient:
|
||||
arguments:
|
||||
- '%env(AMBIENT_LINK_HOST)%'
|
||||
- '%env(AMBIENT_LINK_PORT)%'
|
||||
- '%env(AMBIENT_LINK_MONKEY_ID)%'
|
||||
|
||||
AmbientLink\SDK\Mqtt\MqttAdapter:
|
||||
arguments:
|
||||
$username: '%env(AMBIENT_LINK_USERNAME)%'
|
||||
$password: '%env(AMBIENT_LINK_PASSWORD)%'
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"env": {
|
||||
"AMBIENT_LINK_HOST": "",
|
||||
"AMBIENT_LINK_PORT": "1883",
|
||||
"AMBIENT_LINK_USERNAME": "",
|
||||
"AMBIENT_LINK_PASSWORD": "",
|
||||
"AMBIENT_LINK_MONKEY_ID": ""
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> To finish the install </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Your ability is almost ready:
|
||||
1. Edit <comment>src/AbilityEventSubscriber</comment> and <info>implement</info> your logic:
|
||||
|
||||
public static function getSubscribedEvents(): array
|
||||
{
|
||||
return [
|
||||
// can be found in AmbientLink\SDK\Event\
|
||||
EnterRoomEvent::NAME => 'onEnterRoom',
|
||||
];
|
||||
}
|
||||
|
||||
public function onEnterRoom(EnterRoomEvent $event): void
|
||||
{
|
||||
$roomName = $event->roomName();
|
||||
|
||||
$this->logger->debug(sprintf('Some person enters room "%s".', $roomName));
|
||||
|
||||
// @todo implement logic here
|
||||
}
|
||||
|
||||
* You can found Events in AmbientLink\SDK\Event\
|
||||
* Using Ability Command? Try <info>php bin/console ability:debug --dummy</info>
|
||||
@@ -0,0 +1,3 @@
|
||||
comments:
|
||||
comment_class: App\MainBundle\Document\Comment
|
||||
status_default: pending
|
||||
@@ -0,0 +1,3 @@
|
||||
comments:
|
||||
resource: '@CommentsBundle'
|
||||
type: annotation
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Andchir\\CommentsBundle\\CommentsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# Read the documentation: https://symfony.com/doc/current/bundles/StofDoctrineExtensionsBundle/index.html
|
||||
# See the official DoctrineExtensions documentation for more details: https://github.com/Atlantic18/DoctrineExtensions/tree/master/doc/
|
||||
stof_doctrine_extensions:
|
||||
default_locale: en_US
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Stof\\DoctrineExtensionsBundle\\StofDoctrineExtensionsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
login_gate:
|
||||
storages: ['session'] # Attempts storage engine. Available engines: ['orm', 'session', 'mongodb']
|
||||
options:
|
||||
max_count_attempts: 3
|
||||
timeout: 600 # Ban period (in seconds ... 600 = 10 minutes)
|
||||
watch_period: 3600
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Anyx\\LoginGateBundle\\LoginGateBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
artox_lab_clarc:
|
||||
api:
|
||||
serializer:
|
||||
class: \ArtoxLab\Bundle\ClarcBundle\Core\Interfaces\UI\API\Transformers\Serializers\NullObjectArraySerializer
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"ArtoxLab\\Bundle\\ClarcBundle\\ArtoxLabClarcBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Layers/Entities/": "%SRC_DIR%/Entities/",
|
||||
"Layers/UseCases/": "%SRC_DIR%/UseCases/",
|
||||
"Layers/Interfaces/": "%SRC_DIR%/Interfaces/",
|
||||
"Layers/Infrastructure/": "%SRC_DIR%/Infrastructure/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
artox_lab_sms:
|
||||
providers:
|
||||
# You must to define at least one provider configuration
|
||||
# See more info at https://github.com/artox-lab/sms-bundle
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"ArtoxLab\\Bundle\\SmsBundle\\ArtoxLabSmsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
Getting started using <options=bold>artox-lab/sms-bundle</>. What's next?
|
||||
|
||||
You <options=bold>must</> to define at least one provider configuration in <comment>%CONFIG_DIR%/packages/artox_lab_sms.yaml</>.
|
||||
|
||||
* <fg=blue>More info</> you can find in the documentation at <comment>https://github.com/artox-lab/sms-bundle#step-3-configuration</>
|
||||
@@ -0,0 +1,9 @@
|
||||
# Read documentation at https://async-aws.com/integration/symfony-bundle.html
|
||||
async_aws:
|
||||
config:
|
||||
region: eu-central-1
|
||||
accessKeyId: '%env(AWS_KEY)%'
|
||||
accessKeySecret: '%env(AWS_SECRET)%'
|
||||
|
||||
# All installed clients are automatically autowired. Use this section to customize clients
|
||||
clients:
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"bundles": {
|
||||
"AsyncAws\\Symfony\\Bundle\\AsyncAwsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"AWS_KEY": "your-aws-key",
|
||||
"AWS_SECRET": "your-aws-secret"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# Read documentation at https://async-aws.com/integration/symfony-bundle.html
|
||||
async_aws:
|
||||
config:
|
||||
|
||||
# All installed clients are automatically autowired. Use this section to customize clients
|
||||
clients:
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"AsyncAws\\Symfony\\Bundle\\AsyncAwsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
baldinof_road_runner:
|
||||
should_reboot_kernel: false
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"copy-from-package": {
|
||||
".rr.yaml": ".rr.yaml"
|
||||
},
|
||||
"bundles": {
|
||||
"Baldinof\\RoadRunnerBundle\\BaldinofRoadRunnerBundle": ["all"]
|
||||
},
|
||||
"gitignore": [
|
||||
"/bin/rr"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> What's next for RoadRunner Bundle </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* <fg=blue>Download</> RoadRunner locally: <comment>vendor/bin/rr get --location bin/</>
|
||||
* <fg=blue>Run</> your application: <comment>bin/rr serve --debug</>
|
||||
* Visit http://localhost:8080
|
||||
@@ -0,0 +1,18 @@
|
||||
baldinof_road_runner:
|
||||
# The kernel is preserved between requests. Change this to `true`
|
||||
# if you want to reboot it, and use a fresh container on each request.
|
||||
should_reboot_kernel: false
|
||||
|
||||
# Integrations are automatically detected, depending on installed bundle & current configuration
|
||||
# See https://github.com/baldinof/roadrunner-bundle#integrations
|
||||
default_integrations: true
|
||||
|
||||
# Allow to send prometheus metrics to the master RoadRunner process,
|
||||
# via a `Spiral\RoadRunner\MetricsInterface` service.
|
||||
# See https://github.com/baldinof/roadrunner-bundle#metrics
|
||||
metrics_enabled: false
|
||||
|
||||
# You can use middlewares to manipulate PSR requests & responses.
|
||||
# See https://github.com/baldinof/roadrunner-bundle#middlewares
|
||||
# middlewares:
|
||||
# - App\Middleware\YourMiddleware
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"copy-from-package": {
|
||||
".rr.yaml": ".rr.yaml",
|
||||
".rr.dev.yaml": ".rr.dev.yaml"
|
||||
},
|
||||
"bundles": {
|
||||
"Baldinof\\RoadRunnerBundle\\BaldinofRoadRunnerBundle": ["all"]
|
||||
},
|
||||
"gitignore": [
|
||||
"/bin/rr"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> What's next for RoadRunner Bundle </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* <fg=blue>Download</> RoadRunner locally: <comment>vendor/bin/rr get --location bin/</>
|
||||
* <fg=blue>Run</> your application: <comment>bin/rr serve -c .rr.dev.yaml --debug</>
|
||||
* <fg=blue>For production, use: <comment>bin/rr serve</>
|
||||
* Visit http://localhost:8080
|
||||
@@ -0,0 +1,3 @@
|
||||
_import.becklyn_javascript_routing:
|
||||
resource: '@BecklynJavaScriptRoutingBundle/Resources/config/routes.yaml'
|
||||
prefix: /_v/routing
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Becklyn\\JavaScriptRouting\\BecklynJavaScriptRoutingBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
_import.becklyn_translations:
|
||||
resource: '@BecklynTranslationsBundle/Resources/config/routes.yaml'
|
||||
prefix: /_v/translations/
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Becklyn\\Translations\\BecklynTranslationsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
biig_domain:
|
||||
# Learn more about configuration in the bundle configuration reference
|
||||
# https://github.com/biig-io/DomainComponent/blob/v1/docs/domain_event_dispatcher.md#configuration-reference
|
||||
|
||||
# Post persist events are *not* activated by default, you need to enable the post persist listeners
|
||||
persist_listeners:
|
||||
# As doctrine supports many connections, you need to enable your connections one by one
|
||||
doctrine: ['default']
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Biig\\Component\\Domain\\Integration\\Symfony\\DomainBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
boshurik_telegram_bot:
|
||||
api:
|
||||
token: "%env(TELEGRAM_BOT_TOKEN)%"
|
||||
@@ -0,0 +1,3 @@
|
||||
boshurik_telegram_bot_routing:
|
||||
resource: "@BoShurikTelegramBotBundle/Resources/config/routing.yml"
|
||||
prefix: "/_telegram/%telegram_route_secret%"
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"BoShurik\\TelegramBotBundle\\BoShurikTelegramBotBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"TELEGRAM_BOT_TOKEN": "bot-token"
|
||||
},
|
||||
"container": {
|
||||
"telegram_route_secret": "%env(TELEGRAM_BOT_TOKEN)%"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next for TelegramBotBundle </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* <fg=blue>Set</> <comment>TELEGRAM_BOT_TOKEN</> in your environment
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/BoShurik/TelegramBotBundle</>
|
||||
@@ -0,0 +1,8 @@
|
||||
ckrack_optimus:
|
||||
# Set options, as documented at https://github.com/jenssegers/optimus#usage
|
||||
prime: "%env(int:OPTIMUS_PRIME)%"
|
||||
inverse: "%env(int:OPTIMUS_INVERSE)%"
|
||||
random: "%env(int:OPTIMUS_RANDOM)%"
|
||||
|
||||
# if set to true, param converter will continue with the next available param converters
|
||||
passthrough: true
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Ckrack\\OptimusBundle\\CkrackOptimusBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Replace these env vars with the output of `php vendor/bin/optimus spark -f env`",
|
||||
"OPTIMUS_PRIME": "3",
|
||||
"OPTIMUS_INVERSE": "715827883",
|
||||
"OPTIMUS_RANDOM": "1592469642"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next: OptimusBundle Configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Generate your spark numbers by running <fg=green>php vendor/bin/optimus spark -f env</>
|
||||
and configure them in your <fg=green>.env</>
|
||||
|
||||
Optimus Documentation: https://github.com/jenssegers/optimus
|
||||
Bundle Documentation: https://github.com/ckrack/optimus-bundle
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
mattermost_publication:
|
||||
webhook_url: '%env(MATTERMOST_WEBHOOK_URL)%'
|
||||
# You can also set the default channel, username and icon_url
|
||||
# for more information you can checkout the bundle documentation
|
||||
# https://github.com/codebuds33/mattermost-publication-bundle/blob/master/README.md
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"CodeBuds\\MattermostPublicationBundle\\MattermostPublicationBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"MATTERMOST_WEBHOOK_URL": "http://{your-mattermost-site}/hooks/xxx-generatedkey-xxx"
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
<fg=white;bg=magenta> Bootstrapping Codeception </fg=white;bg=magenta>
|
||||
File codeception.yaml created <- global configuration
|
||||
File codeception.yml created <- global configuration
|
||||
tests/unit created <- unit tests
|
||||
tests/unit.suite.yaml written <- unit tests suite configuration
|
||||
tests/unit.suite.yml written <- unit tests suite configuration
|
||||
tests/functional created <- functional tests
|
||||
tests/functional.suite.yaml written <- functional tests suite configuration
|
||||
tests/functional.suite.yml written <- functional tests suite configuration
|
||||
tests/acceptance created <- acceptance tests
|
||||
tests/acceptance.suite.yaml written <- acceptance tests suite configuration
|
||||
tests/acceptance.suite.yml written <- acceptance tests suite configuration
|
||||
<info>Codeception is installed for acceptance, functional, and unit testing</info>
|
||||
<options=bold>Next steps:</options=bold>
|
||||
1. Edit <options=bold>tests/acceptance.suite.yaml</options=bold> to set url of your application. Change PhpBrowser to WebDriver to enable browser testing
|
||||
2. Edit <options=bold>tests/functional.suite.yaml</options=bold> to enable a Doctrine module if needs.
|
||||
3. Create your first acceptance tests using <comment>vendor/bin/codecept g:cest acceptance First</comment>
|
||||
4. Write first test in <options=bold>tests/acceptance/FirstCest.php</options=bold>
|
||||
1. Edit <options=bold>tests/acceptance.suite.yml</options=bold> to set the url of your application. Change PhpBrowser to WebDriver to enable browser testing.
|
||||
2. Edit <options=bold>tests/functional.suite.yml</options=bold> to enable Doctrine module if needed.
|
||||
3. Create your first acceptance test using <comment>vendor/bin/codecept g:cest acceptance First</comment>
|
||||
4. Write your first test in <options=bold>tests/acceptance/FirstCest.php</options=bold>
|
||||
5. Run tests using: <comment>vendor/bin/codecept run</comment>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
oka_file:
|
||||
db_driver: orm
|
||||
storage:
|
||||
root_path: '%env(OKAFILE_STORAGE_ROOT_PATH)%'
|
||||
root_path: '%env(resolve:OKAFILE_STORAGE_ROOT_PATH)%'
|
||||
webserver:
|
||||
host: '%env(OKAFILE_STORAGE_WEB_SERVER_HOST)%'
|
||||
|
||||
host: '%env(resolve:OKAFILE_STORAGE_WEB_SERVER_HOST)%'
|
||||
|
||||
@@ -10,4 +10,3 @@
|
||||
"OKAFILE_STORAGE_WEB_SERVER_HOST": "localhost"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
oka_pagination:
|
||||
db_driver: orm
|
||||
twig:
|
||||
enabled: false
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Oka\\PaginationBundle\\OkaPaginationBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
oka_rate_limit:
|
||||
configs:
|
||||
- {path: ''}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Oka\\RateLimitBundle\\OkaRateLimitBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
oka_rest_request_validator:
|
||||
exception:
|
||||
enabled: true
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Oka\\RESTRequestValidatorBundle\\OkaRESTRequestValidatorBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -11,8 +11,8 @@
|
||||
"CTP_CLIENT_ID": "<your-client-id>",
|
||||
"CTP_CLIENT_SECRET": "<your-client-secret>",
|
||||
"CTP_PROJECT_KEY": "<your-project-id>",
|
||||
"CTP_AUTH_URL": "https://auth.commercetools.com or https://auth.commercetools.co",
|
||||
"CTP_API_URL": "https://api.commercetools.com or https://api.commercetools.co",
|
||||
"CTP_AUTH_URL": "https://auth.commercetools.com",
|
||||
"CTP_API_URL": "https://api.commercetools.com",
|
||||
"CTP_SCOPES": "<your-desired-scopes>"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
connectholland_timechimp:
|
||||
api_key: '%env(string:TIMECHIMP_ACCESS_TOKEN)%'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"ConnectHolland\\TimechimpBundle\\ConnecthollandTimechimpBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"TIMECHIMPBUNDLE_ACCESS_TOKEN": "baerer-token-value"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> To finish the install </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Your Connect Holland Timechimp bundle installation is almost ready:
|
||||
1. Add your Timechimp Access Token to the .env file
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
connectholland_uptime_robot:
|
||||
api_key: '%env(string:UPTIMEROBOT_API_KEY)%'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"ConnectHolland\\UptimeRobotBundle\\ConnecthollandUptimeRobotBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"UPTIMEROBOT_API_KEY": "api_key"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> To finish the install </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Your Connect Holland Uptime Robot bundle installation is almost ready:
|
||||
1. Add your Uptime Robot Api Key to the .env file
|
||||
@@ -0,0 +1,2 @@
|
||||
dekalee_autopilot:
|
||||
api_key: '%env(DEKALEE_AUTOPILOT_APIKEY)%'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Dekalee\\AutopilotBundle\\DekaleeAutopilotBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#DEKALEE_AUTOPILOT_APIKEY": "the-autopilot-api-key"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> DekaleeAutopilotSwarrot, What's next? </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* The Dekalee/AutopilotBundle needs your pubsub configuration.
|
||||
Modify your DEKALEE_AUTOPILOT_APIKEY config in <fg=green>.env</>
|
||||
@@ -0,0 +1,4 @@
|
||||
dekalee_enom:
|
||||
uid: '%env(ENOM_UID)%'
|
||||
password: '%env(ENOM_PASSWORD)%'
|
||||
base_url: '%env(ENOM_BASE_URL)%'
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Dekalee\\EnomBundle\\DekaleeEnomBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#ENOM_UID": "your-enom-uid",
|
||||
"#ENOM_PASSWORD": "your-enom-password",
|
||||
"#ENOM_BASE_URL": "your-enom-api-base-url"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> DekaleeEnomSwarrot, What's next? </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* The Dekalee/EnomBundle needs your enom configuration.
|
||||
Modify your ENOM_UID, ENOM_PASSWORD, ENOM_BASE_URL config in <fg=green>.env</>
|
||||
@@ -0,0 +1,2 @@
|
||||
dekalee_pub_sub_swarrot:
|
||||
key_file_path: '%env(DEKALEE_PUBSUB_SWARROT_KEY_FILE_PATH)%'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Dekalee\\PubSubSwarrotBundle\\DekaleePubSubSwarrotBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#DEKALEE_PUBSUB_SWARROT_KEY_FILE_PATH": "your-pub_sub-key-file-path"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> DekaleePubSubSwarrot, What's next? </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* The Dekalee/PubSubSwarrotBundle needs your pubsub configuration.
|
||||
Modify your DEKALEE_PUBSUB_SWARROT_KEY_FILE_PATH config in <fg=green>.env</>
|
||||
@@ -0,0 +1,2 @@
|
||||
dobry_programator_smartform:
|
||||
client_id: '%env(SMARTFORM_CLIENT_ID)%'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"DobryProgramator\\SmartformBundle\\DobryProgramatorSmartformBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SMARTFORM_CLIENT_ID": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Drenso\\Shared\\DrensoSharedBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"drupol\\EclTwigBundle\\EclTwigBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
".recipe/config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"EcPhp\\CasBundle\\CasBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Resources/config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"EcPhp\\CasBundle\\CasBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Resources/config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"EcPhp\\EuLoginBundle\\EuLoginBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Resources/config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"EcPhp\\EuLoginBundle\\EuLoginBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Resources/config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
ekreative_health_check:
|
||||
resource: '@EkreativeHealthCheckBundle/Resources/config/routes.xml'
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Ekreative\\HealthCheckBundle\\EkreativeHealthCheckBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next: EkreativeHealthCheckBundle Configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* You can add more doctrine/redis connections to your config in <fg=green>config/packages/ekreative_health_check.yaml</>
|
||||
|
||||
*. Add healthcheck firewall to <fg=green>config/security.yaml</> file
|
||||
|
||||
<comment>
|
||||
security:
|
||||
firewalls:
|
||||
healthcheck:
|
||||
pattern: ^/healthcheck
|
||||
security: false
|
||||
</>
|
||||
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/ekreative/health-check-bundle</>
|
||||
@@ -0,0 +1,5 @@
|
||||
elao_enum:
|
||||
# Provide the enum classes for which you want to automatically generate & register Doctrine DBAL Types:
|
||||
# https://github.com/Elao/PhpEnums#doctrine
|
||||
doctrine:
|
||||
types: {}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Elao\\Enum\\Bridge\\Symfony\\Bundle\\ElaoEnumBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
imports:
|
||||
-
|
||||
path: '@enhavo/app/services/*'
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
import './styles/base.scss';
|
||||
@@ -0,0 +1,7 @@
|
||||
enhavo_app:
|
||||
mailer:
|
||||
defaults:
|
||||
from: '%env(resolve:MAILER_FROM)%'
|
||||
name: '%env(resolve:MAILER_NAME)%'
|
||||
to: '%env(resolve:MAILER_TO)%'
|
||||
menu:
|
||||
@@ -0,0 +1,3 @@
|
||||
enhavo_app_admin:
|
||||
resource: "@EnhavoAppBundle/Resources/config/routes/admin/*"
|
||||
prefix: /admin
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Enhavo\\Bundle\\AppBundle\\EnhavoAppBundle": ["all"]
|
||||
},
|
||||
"container": {
|
||||
"locale": "en"
|
||||
},
|
||||
"env": {
|
||||
"MAILER_FROM": "no-reply@email.com",
|
||||
"MAILER_NAME": "enhavo",
|
||||
"MAILER_TO": "my@email.com"
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"assets/": "assets/",
|
||||
"public/": "%PUBLIC_DIR%/",
|
||||
"tsconfig.json": "tsconfig.json"
|
||||
},
|
||||
"gitignore": [
|
||||
"public/build/enhavo/*",
|
||||
"public/build/theme/*",
|
||||
"public/js/fos_routes.js"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Complete EnhavoAppBundle installation ... </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Update your <fg=green>package.json</> file
|
||||
* Update your <fg=green>webpack.config.js</> file
|
||||
* Update your configurations
|
||||
* Build your assets with
|
||||
|
||||
<fg=green>$ yarn encore dev</>
|
||||
<fg=green>$ yarn routes:dump</>
|
||||
|
||||
<fg=green> Read more details about the steps:</>
|
||||
<fg=blue> https://docs.enhavo.com/book/app-bundle/installation.html</>
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"lib": [ "es2015", "dom" ],
|
||||
"module": "amd",
|
||||
"target": "es5",
|
||||
"allowJs": true,
|
||||
"noImplicitAny": true,
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"moduleResolution": "node",
|
||||
"sourceMap": true,
|
||||
"experimentalDecorators": true
|
||||
},
|
||||
"include": [
|
||||
"./assets/**/*"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
enigma972_user:
|
||||
# if this value equal true, the User should confirm theire mail
|
||||
check_mail: false
|
||||
# The validity duration in secondes, 4 houres by default (14,400 sec)
|
||||
reset_password_code_validity: 14400
|
||||
# where to redirect after login
|
||||
target: home
|
||||
# the no reply email for this app
|
||||
no_reply_mail: no-reply@mail.com
|
||||
not_send_welcome_mail: true
|
||||
@@ -0,0 +1,3 @@
|
||||
enigma972_user:
|
||||
resource: '@Enigma972UserBundle/Controller/'
|
||||
type: annotation
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Enigma972\\UserBundle\\Enigma972UserBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next: UserBundle Configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* Create an User entity and extend Enigma972\UserBundle\Entity\User class
|
||||
|
||||
* And add all properties and methods you needs, it is your!
|
||||
|
||||
Documentation: https://www.github.com/enigma972/user-bundle
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use App\Repository\UserRepository;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
|
||||
use Enigma972\UserBundle\Entity\User as BaseUser;
|
||||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass=UserRepository::class)
|
||||
* @UniqueEntity(fields={"username"}, message="There is already an account with this username")
|
||||
*/
|
||||
class User extends BaseUser
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repository;
|
||||
|
||||
use App\Entity\User;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
use Enigma972\UserBundle\Repository\UserRepository as Users;
|
||||
|
||||
/**
|
||||
* @method User|null find($id, $lockMode = null, $lockVersion = null)
|
||||
* @method User|null findOneBy(array $criteria, array $orderBy = null)
|
||||
* @method User[] findAll()
|
||||
* @method User[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
||||
*/
|
||||
class UserRepository extends Users
|
||||
{
|
||||
// /**
|
||||
// * @return User[] Returns an array of User objects
|
||||
// */
|
||||
/*
|
||||
public function findByExampleField($value)
|
||||
{
|
||||
return $this->createQueryBuilder('u')
|
||||
->andWhere('u.exampleField = :val')
|
||||
->setParameter('val', $value)
|
||||
->orderBy('u.id', 'ASC')
|
||||
->setMaxResults(10)
|
||||
->getQuery()
|
||||
->getResult()
|
||||
;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
public function findOneBySomeField($value): ?User
|
||||
{
|
||||
return $this->createQueryBuilder('u')
|
||||
->andWhere('u.exampleField = :val')
|
||||
->setParameter('val', $value)
|
||||
->getQuery()
|
||||
->getOneOrNullResult()
|
||||
;
|
||||
}
|
||||
*/
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user