@@ -1,4 +1,3 @@ | |||
###> symfony/framework-bundle ### | |||
/.php-version | |||
/.env.local | |||
@@ -23,11 +22,6 @@ | |||
/Lc/* | |||
/.idea/* | |||
###> liip/imagine-bundle ### | |||
/public/media/cache/ | |||
###< liip/imagine-bundle ### | |||
###> symfony/webpack-encore-bundle ### | |||
/node_modules/ | |||
/public/build/ |
@@ -7,13 +7,18 @@ | |||
"php": ">=7.2.5", | |||
"ext-ctype": "*", | |||
"ext-iconv": "*", | |||
"artgris/filemanager-bundle": "^2.2", | |||
"composer/package-versions-deprecated": "1.11.99.2", | |||
"doctrine/annotations": "^1.0", | |||
"doctrine/doctrine-bundle": "^2.3", | |||
"doctrine/doctrine-migrations-bundle": "^3.1", | |||
"doctrine/orm": "^2.8", | |||
"easycorp/easyadmin-bundle": "^3.3", | |||
"friendsofsymfony/ckeditor-bundle": "^2.3", | |||
"liip/imagine-bundle": "^2.6", | |||
"phpdocumentor/reflection-docblock": "^5.2", | |||
"sensio/framework-extra-bundle": "^5.1", | |||
"stof/doctrine-extensions-bundle": "^1.6", | |||
"symfony/asset": "5.2.*", | |||
"symfony/console": "5.2.*", | |||
"symfony/dotenv": "5.2.*", | |||
@@ -61,7 +66,8 @@ | |||
}, | |||
"autoload": { | |||
"psr-4": { | |||
"App\\": "src/" | |||
"App\\": "src/", | |||
"Lc\\": "Lc/" | |||
} | |||
}, | |||
"autoload-dev": { |
@@ -1,15 +1,21 @@ | |||
<?php | |||
return [ | |||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], | |||
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], | |||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], | |||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], | |||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], | |||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true], | |||
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], | |||
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], | |||
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], | |||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], | |||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], | |||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], | |||
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], | |||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], | |||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], | |||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], | |||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true], | |||
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], | |||
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], | |||
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], | |||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], | |||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], | |||
Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true], | |||
Liip\ImagineBundle\LiipImagineBundle::class => ['all' => true], | |||
FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true], | |||
Artgris\Bundle\FileManagerBundle\ArtgrisFileManagerBundle::class => ['all' => true], | |||
EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle::class => ['all' => true], | |||
Lc\SovBundle\LcSovBundle::class => ['all' => true], | |||
]; |
@@ -0,0 +1,5 @@ | |||
# Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html | |||
twig: | |||
form_themes: | |||
- '@FOSCKEditor/Form/ckeditor_widget.html.twig' |
@@ -0,0 +1,30 @@ | |||
# See dos how to configure the bundle: https://symfony.com/doc/current/bundles/LiipImagineBundle/basic-usage.html | |||
liip_imagine: | |||
# valid drivers options include "gd" or "gmagick" or "imagick" | |||
driver: "gd" | |||
filter_sets: | |||
cache: ~ | |||
thumbnail: | |||
quality: 90 | |||
filters: | |||
thumbnail: | |||
size: [60] | |||
mode: outbound | |||
page: | |||
quality: 90 | |||
filters: | |||
thumbnail: | |||
size: [ 240 ] | |||
mode: outbound | |||
mosaic_big: | |||
quality: 90 | |||
filters: | |||
thumbnail: | |||
size: [ 600, 400 ] | |||
mode: outbound | |||
big: | |||
quality: 90 | |||
filters: | |||
thumbnail: | |||
size: [ 1600 ] | |||
mode: outbound |
@@ -0,0 +1,15 @@ | |||
liip_imagine: | |||
resolvers: | |||
default: | |||
web_path: | |||
web_root: "%kernel.project_dir%/public" | |||
cache_prefix: "media/cache" | |||
# config sur le serveur d'Alwaysdata chargée lors du déploiement | |||
#web_root: '/home/placedulocal/www/symfony/prod/shared/public/' | |||
loaders: | |||
default: | |||
filesystem: | |||
data_root: "%kernel.project_dir%/public/" | |||
# config sur le serveur d'Alwaysdata chargée lors du déploiement | |||
#data_root: '/home/placedulocal/www/symfony/prod/shared/public/' |
@@ -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 |
@@ -1,3 +1,20 @@ | |||
#index: | |||
# path: / | |||
# controller: App\Controller\DefaultController::index | |||
sov_bundle: | |||
resource: "@LcSovBundle/Resources/config/routes.yaml" | |||
prefix: / | |||
artgris_bundle_file_manager: | |||
resource: "@ArtgrisFileManagerBundle/Controller" | |||
type: annotation | |||
prefix: /manager | |||
admin_dashboard: | |||
path: /admin | |||
controller: App\Controller\Admin\DashboardController::index | |||
home: | |||
path: / | |||
defaults: { _controller: App\Controller\IndexController::index , _locale: fr } | |||
page: | |||
path: /page/{pageSlug} | |||
controller: App\Controller\IndexController::page |
@@ -4,6 +4,9 @@ | |||
# Put parameters here that don't need to change on each machine where the app is deployed | |||
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration | |||
parameters: | |||
app.locales: ["fr"] | |||
app.default_locale: "fr" | |||
app.path_uploads: '/uploads' | |||
services: | |||
# default configuration for services in *this* file | |||
@@ -27,5 +30,3 @@ services: | |||
resource: '../src/Controller/' | |||
tags: ['controller.service_arguments'] | |||
# add more service definitions when explicit configuration is needed | |||
# please note that last definitions always *replace* previous ones |
@@ -1,4 +1,13 @@ | |||
{ | |||
"artgris/filemanager-bundle": { | |||
"version": "2.2.3" | |||
}, | |||
"behat/transliterator": { | |||
"version": "v1.3.0" | |||
}, | |||
"composer/installers": { | |||
"version": "v1.11.0" | |||
}, | |||
"composer/package-versions-deprecated": { | |||
"version": "1.11.99.2" | |||
}, | |||
@@ -82,12 +91,39 @@ | |||
"doctrine/sql-formatter": { | |||
"version": "1.1.1" | |||
}, | |||
"easycorp/easyadmin-bundle": { | |||
"version": "3.0", | |||
"recipe": { | |||
"repo": "github.com/symfony/recipes", | |||
"branch": "master", | |||
"version": "3.0", | |||
"ref": "b131e6cbfe1b898a508987851963fff485986285" | |||
} | |||
}, | |||
"egulias/email-validator": { | |||
"version": "3.1.1" | |||
}, | |||
"friendsofphp/proxy-manager-lts": { | |||
"version": "v1.0.5" | |||
}, | |||
"friendsofsymfony/ckeditor-bundle": { | |||
"version": "2.0", | |||
"recipe": { | |||
"repo": "github.com/symfony/recipes-contrib", | |||
"branch": "master", | |||
"version": "2.0", | |||
"ref": "8eb1cd0962ded6a6d6e1e5a9b6d3e888f9f94ff6" | |||
}, | |||
"files": [ | |||
"config/packages/fos_ckeditor.yaml" | |||
] | |||
}, | |||
"gedmo/doctrine-extensions": { | |||
"version": "v3.0.5" | |||
}, | |||
"imagine/imagine": { | |||
"version": "1.2.4" | |||
}, | |||
"laminas/laminas-code": { | |||
"version": "4.3.0" | |||
}, | |||
@@ -97,12 +133,24 @@ | |||
"laminas/laminas-zendframework-bridge": { | |||
"version": "1.2.0" | |||
}, | |||
"liip/imagine-bundle": { | |||
"version": "1.8", | |||
"recipe": { | |||
"repo": "github.com/symfony/recipes-contrib", | |||
"branch": "master", | |||
"version": "1.8", | |||
"ref": "5a5bdc2d0e2533ed6935d5ae562f2b318a8fc1ee" | |||
} | |||
}, | |||
"monolog/monolog": { | |||
"version": "2.2.0" | |||
}, | |||
"nikic/php-parser": { | |||
"version": "v4.10.5" | |||
}, | |||
"oomphinc/composer-installers-extender": { | |||
"version": "2.0.0" | |||
}, | |||
"phpdocumentor/reflection-common": { | |||
"version": "2.2.0" | |||
}, | |||
@@ -139,6 +187,18 @@ | |||
"config/packages/sensio_framework_extra.yaml" | |||
] | |||
}, | |||
"stof/doctrine-extensions-bundle": { | |||
"version": "1.2", | |||
"recipe": { | |||
"repo": "github.com/symfony/recipes-contrib", | |||
"branch": "master", | |||
"version": "1.2", | |||
"ref": "6c1ceb662f8997085f739cd089bfbef67f245983" | |||
}, | |||
"files": [ | |||
"config/packages/stof_doctrine_extensions.yaml" | |||
] | |||
}, | |||
"symfony/asset": { | |||
"version": "v5.2.7" | |||
}, | |||
@@ -363,6 +423,9 @@ | |||
"symfony/polyfill-php80": { | |||
"version": "v1.22.1" | |||
}, | |||
"symfony/polyfill-uuid": { | |||
"version": "v1.22.1" | |||
}, | |||
"symfony/process": { | |||
"version": "v5.2.7" | |||
}, | |||
@@ -470,6 +533,9 @@ | |||
"symfony/twig-pack": { | |||
"version": "v1.0.1" | |||
}, | |||
"symfony/uid": { | |||
"version": "v5.2.6" | |||
}, | |||
"symfony/validator": { | |||
"version": "4.3", | |||
"recipe": { |