Merge branch 'trunk'

This commit is contained in:
Noah Lancien 2026-08-31 17:34:33 +02:00
commit baf69bfb1f
225 changed files with 30885 additions and 117 deletions

24
.editorconfig Normal file
View file

@ -0,0 +1,24 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
[docker-compose.yml]
indent_size = 4
[*.scss]
indent_size = 2
[*.{tsx,ts,cjs,js}]
indent_size = 2

75
.env.example Normal file
View file

@ -0,0 +1,75 @@
# APP
APP_NAME=
APP_ENV=
APP_KEY=
APP_DEBUG=
APP_URL=
APP_LOCALE=
APP_FALLBACK_LOCALE=
APP_FAKER_LOCALE=
# DATABASE
DB_CONNECTION=mysql
DB_HOST=
DB_PORT=
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
# MAILS
MAIL_MAILER=smtp
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="${APP_NAME}"
# SENTRY
SENTRY_LARAVEL_DSN=
# ADMIN SECURE
LDC_WEB_API_ENDPOINT=
LDC_WEB_API_KEY=
LDC_WEB_CIDR_MANUAL_ALLOWED_LIST=
## TELESCOPE
TELESCOPE_ENABLED=true
# REDIS
REDIS_HOST=
REDIS_PORT=
REDIS_USERNAME=
REDIS_PASSWORD=
REDIS_PREFIX=
REDIS_SCHEME=
# OTHERS
LOG_CHANNEL=
LOG_DEPRECATIONS_CHANNEL=
LOG_LEVEL=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
CACHE_STORE=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
VITE_APP_NAME="${APP_NAME}"
GOOGLE_ANALYTICS_ID=""
GOOGLE_RECAPTCHA_PUBLIC=""
GOOGLE_RECAPTCHA_PRIVATE=""
GOOGLE_RECAPTCHA_VERSION="2"
MATOMO_SITE_ID=""
#SSR
INERTIA_SSR_ENABLED= TRUE

11
.gitattributes vendored Normal file
View file

@ -0,0 +1,11 @@
* text=auto eol=lf
*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php
/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore

44
.gitignore vendored Normal file
View file

@ -0,0 +1,44 @@
*.log
.env
.env.backup
.env.production
/auth.json
/.npmrc
/bootstrap/ssr
/node_modules
/public/build
/public/storage
/public/favicons-back
/public/android-icon-36x36.png
/public/android-icon-48x48.png
/public/android-icon-72x72.png
/public/android-icon-96x96.png
/public/android-icon-144x144.png
/public/android-icon-192x192.png
/public/apple-icon-57x57.png
/public/apple-icon-60x60.png
/public/apple-icon-72x72.png
/public/apple-icon-76x76.png
/public/apple-icon-114x114.png
/public/apple-icon-120x120.png
/public/apple-icon-144x144.png
/public/apple-icon-152x152.png
/public/apple-icon-180x180.png
/public/favicon-16x16.png
/public/favicon-32x32.png
/public/favicon.ico
/public/manifest.json
/public/ms-icon-70x70.png
/public/ms-icon-144x144.png
/public/ms-icon-150x150.png
/public/ms-icon-310x310.png
/storage/*.key
/storage/pail
/vendor
/storage/*.key
/storage/pail
/vendor
/.vscode
.stylelintcache
/public/storage

View file

@ -1,35 +1,225 @@
variables:
KUBERNETES_CLUSTER_NAME: prod-k8s-ldc-web
KUBERNETES_VERSION: 1.29.2
include:
- project: "ldc-web/shared-ci"
ref: "main"
file: "lint/lint.yml"
- project: "ldc-web/shared-ci"
ref: "main"
file: "security/security.yml"
- project: "ldc-web/shared-ci"
ref: "main"
file: "test/test.yml"
composer_vendor:
stage: deps
image: composer:2.10
cache:
key:
files:
- composer.lock
paths:
- vendor/
policy: pull-push
before_script:
- composer config gitlab-token.lab.s-web.fr "${CI_DEPLOY_USER}" "${CI_DEPLOY_PASSWORD}"
script:
- composer install --ignore-platform-reqs --no-interaction --no-plugins --no-scripts --no-dev --prefer-dist
artifacts:
paths:
- vendor/
expire_in: 1h
dependencies:
- composer-security
needs:
- job: composer-security
optional: true
frontend_build:
stage: deps
image: node:24.11
cache:
key:
files:
- package-lock.json
paths:
- node_modules/
policy: pull-push
before_script:
- npm config set @ldc-web:registry https://lab.s-web.fr/api/v4/packages/npm/
- npm config set -- '//lab.s-web.fr/api/v4/packages/npm/:_authToken' "${GITLAB_PASSWORD}"
- npm config set @uwil:registry https://lab.s-web.fr/api/v4/groups/ldc-web/-/packages/npm/
- npm config set -- '//lab.s-web.fr/api/v4/groups/ldc-web/-/packages/npm/:_authToken' "${GITLAB_PASSWORD}"
script:
- mkdir -p public/build && mkdir -p bootstrap/ssr
- npm ci --no-audit --no-fund --loglevel=error
- npm run prod
artifacts:
paths:
- public/build/
- bootstrap/ssr/
expire_in: 1h
dependencies:
- npm-security
needs:
- job: npm-security
optional: true
.docker-build:
interruptible: true
stage: build
image:
name: gcr.io/kaniko-project/executor:v1.23.2-debug
entrypoint: [ "" ]
name: martizih/kaniko:v1.27.4-debug
entrypoint: [""]
script:
- /kaniko/executor --context "${CI_PROJECT_DIR}" --build-arg "GITLAB_USER=${CI_DEPLOY_USER}" --build-arg "GITLAB_PASSWORD=${CI_DEPLOY_PASSWORD}" --dockerfile "${CI_PROJECT_DIR}/Dockerfile" --destination "${IMAGE_TAG}" --cache=true --cache-ttl 24h
- >-
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${DOCKERFILE}"
--destination "${IMAGE_TAG}"
--destination "${IMAGE_LATEST_TAG}"
--cache=true
--cache-ttl=24h
--snapshot-mode=redo
--use-new-run
--build-arg GITLAB_USER="${CI_DEPLOY_USER}"
--build-arg GITLAB_PASSWORD="${CI_DEPLOY_PASSWORD}"
--build-arg PHP_8_5_TAG="${PHP_8_5_TAG}"
allow_failure: false
needs:
- job: composer_vendor
artifacts: true
- job: frontend_build
artifacts: true
docker-build:staging:
extends: .docker-build
environment:
name: staging
action: prepare
variables:
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:s-${CI_COMMIT_SHA}"
DOCKERFILE: "${CI_PROJECT_DIR}/Dockerfile"
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:staging-${CI_COMMIT_SHA}"
IMAGE_LATEST_TAG: "${CI_REGISTRY_IMAGE}:staging-latest"
rules:
- if: $CI_COMMIT_BRANCH == "trunk"
when: manual
allow_failure: true
- if: $CI_COMMIT_BRANCH == "trunk"
docker-build:latest:
extends: .docker-build
environment:
name: production
action: prepare
variables:
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:p-${CI_COMMIT_SHA}"
DOCKERFILE: "${CI_PROJECT_DIR}/Dockerfile"
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:production-${CI_COMMIT_SHA}"
IMAGE_LATEST_TAG: "${CI_REGISTRY_IMAGE}:production-latest"
rules:
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "master"
when: manual
allow_failure: true
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "master"
include:
- project: 'ldc-web/shared-ci'
ref: 'main'
file: 'deploy/deploy.yml'
ssr-docker-build:staging:
extends: .docker-build
environment:
name: staging
action: prepare
variables:
DOCKERFILE: "${CI_PROJECT_DIR}/Dockerfile.ssr"
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:staging-ssr-${CI_COMMIT_SHA}"
IMAGE_LATEST_TAG: "${CI_REGISTRY_IMAGE}:staging-ssr-latest"
rules:
- if: $CI_COMMIT_BRANCH == "trunk"
ssr-docker-build:latest:
extends: .docker-build
environment:
name: production
action: prepare
variables:
DOCKERFILE: "${CI_PROJECT_DIR}/Dockerfile.ssr"
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:production-ssr-${CI_COMMIT_SHA}"
IMAGE_LATEST_TAG: "${CI_REGISTRY_IMAGE}:production-ssr-latest"
rules:
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "master"
.kubernetes:
stage: deploy
image:
name: "alpine/k8s:${KUBERNETES_VERSION}"
entrypoint: ['']
variables:
KUBE_CONTEXT: "ldc-web/cluster-k8s:${KUBERNETES_CLUSTER_NAME}"
KUBE_NAMESPACE: default
CRT_TLS_NAME: "wildcard-k8s-ldc"
REDIRECT:
before_script:
- kubectl config use-context ${KUBE_CONTEXT}
script:
- envsubst < manifest.yaml | kubectl apply --namespace ${KUBE_NAMESPACE} -f -
.kubernetes_stop:
extends: .kubernetes
script:
- envsubst < manifest.yaml | kubectl delete --namespace ${KUBE_NAMESPACE} -f -
when: manual
environment:
action: stop
kubernetes:staging:
extends: .kubernetes
variables:
KUBE_NAMESPACE: staging
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:staging-${CI_COMMIT_SHA}"
SSR_IMAGE_TAG: "${CI_REGISTRY_IMAGE}:staging-ssr-${CI_COMMIT_SHA}"
needs:
- job: docker-build:staging
- job: ssr-docker-build:staging
rules:
- if: $CI_COMMIT_BRANCH == "trunk"
script:
- envsubst < manifest.yaml | kubectl apply --namespace ${KUBE_NAMESPACE} -f -
- envsubst < staging-resources.yaml | kubectl apply --namespace ${KUBE_NAMESPACE} -f -
when: manual
environment:
name: staging
url: https://${DOMAIN}
on_stop: kubernetes_stop:staging
kubernetes_stop:staging:
extends: .kubernetes_stop
variables:
KUBE_NAMESPACE: staging
rules:
- if: $CI_COMMIT_BRANCH == "trunk"
environment:
name: staging
kubernetes:prod:
extends: .kubernetes
variables:
KUBE_NAMESPACE: production
IMAGE_TAG: "${CI_REGISTRY_IMAGE}:production-${CI_COMMIT_SHA}"
SSR_IMAGE_TAG: "${CI_REGISTRY_IMAGE}:production-ssr-${CI_COMMIT_SHA}"
CRT_TLS_NAME: "${APP_DOMAIN}"
REDIRECT: "www."
needs:
- job: docker-build:latest
- job: ssr-docker-build:latest
rules:
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "master"
script:
- envsubst < manifest.yaml | kubectl apply --namespace ${KUBE_NAMESPACE} -f -
- envsubst < production-resources.yaml | kubectl apply --namespace ${KUBE_NAMESPACE} -f -
when: manual
environment:
name: production
url: https://${DOMAIN}
stages:
- build
- deploy
- lint
- security
- deps
- build
- test
- deploy

View file

@ -0,0 +1,11 @@
## Comportement constaté
## Comportement attendu
## Solution envisagée
## Étapes pour la reproduction du bug
*

View file

@ -0,0 +1,7 @@
## Présentation du besoin
## Implémentation
## Maquettes, documentations...

57
.stylelintrc.json Normal file
View file

@ -0,0 +1,57 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-sass-guidelines",
"stylelint-config-idiomatic-order"
],
"plugins": ["stylelint-scss"],
"files": ["**/*.css", "**/*.scss"],
"ignoreFiles": [
"**/vendor/*.css",
"**/vendor/**/*.css",
"**/vendor/*.scss",
"**/vendor/**/*.scss",
"**/vendor/*.sass",
"**/vendor/**/*.sass",
"**/packages/*.css",
"**/packages/**/*.css",
"**/packages/*.scss",
"**/packages/**/*.scss",
"**/packages/*.sass",
"**/packages/**/*.sass"
],
"customSyntax": "postcss-scss",
"rules": {
"declaration-property-value-no-unknown": true,
"selector-max-id": null,
"color-no-invalid-hex": true,
"order/properties-alphabetical-order": null,
"max-nesting-depth": 5,
"selector-max-compound-selectors": 5,
"scss/double-slash-comment-empty-line-before": [
"always",
{
"ignore": [
"between-comments",
"stylelint-commands",
"inside-block"
]
}
],
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"tailwind",
"apply",
"variants",
"responsive",
"screen",
"layer",
"theme"
]
}
]
}
}

12
CHANGELOG.md Normal file
View file

@ -0,0 +1,12 @@
# Changelog
All notable changes to `laravel-project` will be documented in this file.
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
- Commits respect [Conventionnal commits](https://www.conventionalcommits.org/en/v1.0.0/) & use [Gitmoji](https://gitmoji.dev/).
## **[v1.0.0] - 01/01/2026**
### Added
- feat: 🎉 working project

View file

@ -1,4 +1,15 @@
ARG PHP_8_5_TAG
FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/uwil-production-8.5:${PHP_8_5_TAG}
ARG USER=www-data
COPY --chown=${USER}:${USER} . /app/srcs
USER ${USER}
COPY --chown=${USER}:${USER} ./resources/favicons/front/ /app/srcs/public/
# FROM CI
COPY --chown=${USER}:${USER} vendor/ /app/srcs/vendor/
COPY --chown=${USER}:${USER} public/build/ /app/srcs/public/build/
# END FROM CI
USER root
RUN chmod -R 755 /app/srcs/storage
USER ${USER}

18
Dockerfile.ssr Normal file
View file

@ -0,0 +1,18 @@
FROM node:24.11-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --no-audit --no-fund --loglevel=error
COPY vite.config.ts ./
COPY tsconfig*.json ./
COPY resources ./resources
COPY public ./public
COPY bootstrap ./bootstrap
RUN npm run prod
EXPOSE 13714
CMD ["node", "/app/bootstrap/ssr/ssr.js"]

View file

@ -1,3 +1,33 @@
# Qualimaine
# Table of contents
Page de maintenance avant le "vrai" site.
- [Table of contents](#table-of-contents)
- [Frameworks, Platforms and Libraries](#frameworks-platforms-and-libraries)
- [Documentation](#documentation)
- [Changelog](#changelog)
- [Copyright and License](#copyright-and-license)
# Frameworks, Platforms and Libraries
<!-- https://github.com/Ileriayo/markdown-badges -->
[![SASS](https://img.shields.io/badge/SASS-hotpink.svg?style=for-the-badge&logo=SASS&logoColor=white)](https://sass-lang.com/)
[![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge&logo=tailwind-css&logoColor=white)](https://tailwindcss.com/)
[![Vite](https://img.shields.io/badge/vite-%23646CFF.svg?style=for-the-badge&logo=vite&logoColor=white)](https://vite.dev/)
[![PHP](https://img.shields.io/badge/php-%23777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/)
[![Laravel](https://img.shields.io/badge/laravel-%23FF2D20.svg?style=for-the-badge&logo=laravel&logoColor=white)](https://laravel.com/docs/master)
# Documentation
```php
composer i/npm i
```
# Changelog
Latest version v1.0.0.
See the [CHANGELOG.md](CHANGELOG.md) file for details.
# Copyright and License
Copyright (c) 2025 and beyond UWIL.

View file

@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace App\Http\Controllers\Front;
use Inertia\Inertia;
use Inertia\Response;
use Uwil\LaravelCommon\Controllers\CommonController;
class HomeController extends CommonController
{
/**
* Show home page.
*/
public function homepage(): Response
{
return Inertia::render('front/Pages/Home');
}
}

View file

@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace App\Http\Middlewares;
use Illuminate\Http\Request;
use Uwil\LaravelCommon\Middlewares\HandleInertiaRequests as MiddlewareHandleInertiaRequest;
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
class HandleInertiaRequests extends MiddlewareHandleInertiaRequest
{
#[\Override]
public function share(Request $request): array
{
return array_replace_recursive(
parent::share($request),
[
'canonical' => $request->url(),
'localizedUrls' => fn (): array => collect(LaravelLocalization::getSupportedLocales())
->mapWithKeys(fn ($_, string $locale): array => [
$locale => LaravelLocalization::getLocalizedURL($locale, null, [], false),
])
->all(),
]
);
}
}

18
artisan Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env php
<?php
use Illuminate\Foundation\Application;
use Symfony\Component\Console\Input\ArgvInput;
define('LARAVEL_START', microtime(true));
// Register the Composer autoloader...
require __DIR__.'/vendor/autoload.php';
// Bootstrap Laravel and handle the command...
/** @var Application $app */
$app = require_once __DIR__.'/bootstrap/app.php';
$status = $app->handleCommand(new ArgvInput);
exit($status);

99
bootstrap/app.php Normal file
View file

@ -0,0 +1,99 @@
<?php
declare(strict_types=1);
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
use Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Route;
use Illuminate\Validation\ValidationException;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Uwil\LaravelCommon\Helpers\InertiaHelper;
use App\Http\Middlewares\HandleInertiaRequests;
use Uwil\LaravelCommon\Middlewares\SecureHeaders;
use Uwil\LaravelCommon\Middlewares\TrimStrings;
use Uwil\LaravelCommon\Middlewares\TrustHosts;
use Uwil\LaravelCommon\Middlewares\TrustProxies;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
health: '/up',
then: function (): void {
Route::middleware(['web', 'throttle:5,2'])
->post('/csp-report', function (): void {
$isCspRequest = request()->header('Content-Type') === 'application/csp-report';
abort_if(
! $isCspRequest or ! request()->json('csp-report') or ! is_array(request()->json('csp-report')),
401,
);
/** @var array<string, mixed> $rawReport */
$rawReport = request()->json('csp-report');
// * Flatten if needed.
$cspReport = collect($rawReport)
->flatMap(fn (mixed $v, string $k) => [
$k => is_array($v) ? collect($v)->flatten()->implode(', ') : (string) $v,
])->all();
// * Filter array keys.
$cspReport = collect(array_intersect_key($cspReport, [
'blocked-uri' => '',
'document-uri' => '',
'original-policy' => '',
'referrer' => '',
'violated-directive' => '',
]));
Log::warning(sprintf(
"CSP REPORT for %s : \n %s",
$cspReport->get('document-uri'),
$cspReport->implode("\n")
));
})->name('cspReportUri');
}
)
->withMiddleware(function (Middleware $middleware): void {
$middleware->web(append: [
\Uwil\LaravelI18n\Middlewares\ForceLocale::class,
HandleInertiaRequests::class,
AddLinkHeadersForPreloadedAssets::class,
SecureHeaders::class,
TrimStrings::class,
TrustHosts::class,
TrustProxies::class,
]);
$middleware->preventRequestForgery(except: [
'/csp-report',
]);
})
->withExceptions(function (Exceptions $exceptions): void {
$exceptions->render(function (HttpException $e, Request $request) {
$status = $e->getStatusCode();
return InertiaHelper::errorRender($request, $status);
});
/**
* Automatic exception capture with Sentry.
*/
$exceptions->report(function (\Throwable $e): void {
if (app()->bound('sentry')) {
resolve('sentry')->captureException($e);
}
});
/**
* Handling validation errors by excluding sensitive fields from the flash.
*/
$exceptions->render(function (ValidationException $e, Request $request) {
$safeInput = collect($request->all())
->except(['password', 'password_confirmation', 'current_password'])
->toArray();
return back()
->withInput($safeInput)
->withErrors($e->errors());
});
})->create();

2
bootstrap/cache/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore

6
bootstrap/providers.php Normal file
View file

@ -0,0 +1,6 @@
<?php
declare(strict_types=1);
return [
];

21
components.json Normal file
View file

@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "resources/sass/common.scss",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}

107
composer.json Normal file
View file

@ -0,0 +1,107 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "uwil/laravel-project",
"type": "project",
"description": "UWIL Laravel project",
"keywords": [
"laravel",
"framework"
],
"license": "MIT",
"require": {
"php": "^8.5",
"diglactic/laravel-breadcrumbs": "^10.1",
"inertiajs/inertia-laravel": "^3.1",
"laravel/framework": "^13.8",
"laravel/tinker": "^3.0",
"monolog/monolog": "^3.10",
"psr/log": "^3.0",
"tightenco/ziggy": "^2.6",
"uwil/laravel-common": "^8.1",
"uwil/laravel-i18n": "^5.0",
"uwil/sitemap-generator": "^7.1",
"verschuur/laravel-robotstxt": "^5.3"
},
"require-dev": {
"driftingly/rector-laravel": "^2.4",
"fakerphp/faker": "^1.23",
"larastan/larastan": "^3.10",
"laravel/pail": "^1.2.5",
"laravel/pint": "^1.29",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
"phpunit/phpunit": "^12.5.12",
"slevomat/coding-standard": "^8.29"
},
"repositories": [
{
"type": "composer",
"url": "https://lab.s-web.fr/api/v4/group/23/-/packages/composer/packages.json"
}
],
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"setup": [
"composer install",
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php artisan key:generate",
"@php artisan migrate --force",
"npm install --ignore-scripts",
"npm run build"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
],
"test": [
"@php artisan config:clear --ansi @no_additional_args",
"@php artisan test"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"pre-package-uninstall": [
"Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}

11150
composer.lock generated Normal file

File diff suppressed because it is too large Load diff

112
config/app.php Normal file
View file

@ -0,0 +1,112 @@
<?php
declare(strict_types=1);
return [
/**
*--------------------------------------------------------------------------
* Application Name
*--------------------------------------------------------------------------
*
* This value is the name of your application, which will be used when the
* framework needs to place the application's name in a notification or
* other UI elements where an application name needs to be displayed.
*/
'name' => env('APP_NAME', 'Laravel'),
/**
*--------------------------------------------------------------------------
* Application Environment
*--------------------------------------------------------------------------
*
* This value determines the "environment" your application is currently
* running in. This may determine how you prefer to configure various
* services the application utilizes. Set this in your ".env" file.
*/
'env' => env('APP_ENV', 'production'),
/**
*--------------------------------------------------------------------------
* Application Debug Mode
*--------------------------------------------------------------------------
*
* When your application is in debug mode, detailed error messages with
* stack traces will be shown on every error that occurs within your
* application. If disabled, a simple generic error page is shown.
*/
'debug' => (bool) env('APP_DEBUG', false),
/**
*--------------------------------------------------------------------------
* Application URL
*--------------------------------------------------------------------------
*
* This URL is used by the console to properly generate URLs when using
* the Artisan command line tool. You should set this to the root of
* the application so that it's available within Artisan commands.
*/
'url' => env('APP_URL', 'http://localhost'),
/**
*--------------------------------------------------------------------------
* Application Timezone
*--------------------------------------------------------------------------
*
* Here you may specify the default timezone for your application, which
* will be used by the PHP date and date-time functions. The timezone
* is set to "UTC" by default as it is suitable for most use cases.
*/
'timezone' => env('APP_TIMEZONE', 'Europe/Paris'),
/**
*--------------------------------------------------------------------------
* Application Locale Configuration
*--------------------------------------------------------------------------
*
* The application locale determines the default locale that will be used
* by Laravel's translation / localization methods. This option can be
* set to any locale for which you plan to have translation strings.
*/
'locale' => env('APP_LOCALE', 'fr'),
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'fr'),
'faker_locale' => env('APP_FAKER_LOCALE', 'fr_FR'),
/**
*--------------------------------------------------------------------------
* Encryption Key
*--------------------------------------------------------------------------
*
* This key is utilized by Laravel's encryption services and should be set
* to a random, 32 character string to ensure that all encrypted values
* are secure. You should do this prior to deploying the application.
*/
'cipher' => 'AES-256-CBC',
'key' => env('APP_KEY'),
'previous_keys' => [
...array_filter(
explode(',', (string) env('APP_PREVIOUS_KEYS', ''))
),
],
/**
*--------------------------------------------------------------------------
* Maintenance Mode Driver
*--------------------------------------------------------------------------
*
* These configuration options determine the driver used to determine and
* manage Laravel's "maintenance mode" status. The "cache" driver will
* allow maintenance mode to be controlled across multiple machines.
*
* Supported drivers: "file", "cache"
*/
'maintenance' => [
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],
];

76
config/breadcrumbs.php Normal file
View file

@ -0,0 +1,76 @@
<?php
declare(strict_types=1);
use Diglactic\Breadcrumbs\Generator;
use Diglactic\Breadcrumbs\Manager;
return [
/**
*--------------------------------------------------------------------------
* View Name
*--------------------------------------------------------------------------
*
* Choose a view to display when Breadcrumbs::render() is called.
* Built in templates are:
*
* - 'breadcrumbs::bootstrap5' - Bootstrap 5
* - 'breadcrumbs::bootstrap4' - Bootstrap 4
* - 'breadcrumbs::bulma' - Bulma
* - 'breadcrumbs::foundation6' - Foundation 6
* - 'breadcrumbs::json-ld' - JSON-LD Structured Data
* - 'breadcrumbs::materialize' - Materialize
* - 'breadcrumbs::tailwind' - Tailwind CSS
* - 'breadcrumbs::uikit' - UIkit
*
* Or a custom view, e.g. '_partials/breadcrumbs'.
*/
'view' => null,
/**
*--------------------------------------------------------------------------
* Breadcrumbs File(s)
*--------------------------------------------------------------------------
*
* The file(s) where breadcrumbs are defined. e.g.
*
* - base_path('routes/breadcrumbs.php')
* - glob(base_path('breadcrumbs/*.php'))
*/
'files' => array_filter([
...glob(base_path('routes/breadcrumbs/*.php')) ?: [],
]),
/**
*--------------------------------------------------------------------------
* Exceptions
*--------------------------------------------------------------------------
*
* Determine when to throw an exception.
*/
// * When route-bound breadcrumbs are used but the current route doesn't have a name (UnnamedRouteException)
'unnamed-route-exception' => true,
// * When route-bound breadcrumbs are used and the matching breadcrumb doesn't exist (InvalidBreadcrumbException)
'missing-route-bound-breadcrumb-exception' => true,
// * When a named breadcrumb is used but doesn't exist (InvalidBreadcrumbException)
'invalid-named-breadcrumb-exception' => true,
/**
*--------------------------------------------------------------------------
* Classes
*--------------------------------------------------------------------------
*
* Subclass the default classes for more advanced customisations.
*/
// * Manager
'manager-class' => Manager::class,
// * Generator
'generator-class' => Generator::class,
];

116
config/cache.php Normal file
View file

@ -0,0 +1,116 @@
<?php
declare(strict_types=1);
use Illuminate\Support\Str;
return [
/*
*--------------------------------------------------------------------------
* Default Cache Store
*--------------------------------------------------------------------------
*
* This option controls the default cache store that will be used by the
* framework. This connection is utilized if another isn't explicitly
* specified when running a cache operation inside the application.
*
*/
'default' => env('CACHE_STORE', 'file'),
/*
*--------------------------------------------------------------------------
* Cache Stores
*--------------------------------------------------------------------------
*
* Here you may define all of the cache "stores" for your application as
* well as their drivers. You may even define multiple stores for the
* same cache driver to group types of items stored in your caches.
*
* Supported drivers: "array", "database", "file", "memcached",
* "redis", "dynamodb", "octane",
* "failover", "null"
*
*/
'stores' => [
'array' => [
'driver' => 'array',
'serialize' => false,
],
'database' => [
'driver' => 'database',
'connection' => env('DB_CACHE_CONNECTION'),
'table' => env('DB_CACHE_TABLE', 'cache'),
'lock_connection' => env('DB_CACHE_LOCK_CONNECTION'),
'lock_table' => env('DB_CACHE_LOCK_TABLE'),
],
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
'lock_path' => storage_path('framework/cache/data'),
],
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
'driver' => 'redis',
'connection' => env('REDIS_CACHE_CONNECTION', 'cache'),
'lock_connection' => env('REDIS_CACHE_LOCK_CONNECTION', 'default'),
],
'dynamodb' => [
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'endpoint' => env('DYNAMODB_ENDPOINT'),
],
'octane' => [
'driver' => 'octane',
],
'failover' => [
'driver' => 'failover',
'stores' => [
'database',
'array',
],
],
],
/*
*--------------------------------------------------------------------------
* Cache Key Prefix
*--------------------------------------------------------------------------
*
* When utilizing the APC, database, memcached, Redis, and DynamoDB cache
* stores, there might be other applications using the same cache. For
* that reason, you may prefix every cache key to avoid collisions.
*
*/
'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')) . '-cache-'),
];

182
config/database.php Normal file
View file

@ -0,0 +1,182 @@
<?php
declare(strict_types=1);
use Illuminate\Support\Str;
use Pdo\Mysql;
return [
/*
*--------------------------------------------------------------------------
* Default Database Connection Name
*--------------------------------------------------------------------------
*
* Here you may specify which of the database connections below you wish
* to use as your default connection for database operations. This is
* the connection which will be utilized unless another connection
* is explicitly specified when you execute a query / statement.
*
*/
'default' => env('DB_CONNECTION', 'sqlite'),
/*
*--------------------------------------------------------------------------
* Database Connections
*--------------------------------------------------------------------------
*
* Below are all of the database connections defined for your application.
* An example configuration is provided for each database system which
* is supported by Laravel. You're free to add / remove connections.
*
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DB_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
'busy_timeout' => null,
'journal_mode' => null,
'synchronous' => null,
'transaction_mode' => 'DEFERRED',
],
'mysql' => [
'driver' => 'mysql',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'mariadb' => [
'driver' => 'mariadb',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => '',
'prefix_indexes' => true,
'search_path' => 'public',
'sslmode' => env('DB_SSLMODE', 'prefer'),
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'url' => env('DB_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => '',
'prefix_indexes' => true,
],
],
/*
*--------------------------------------------------------------------------
* Migration Repository Table
*--------------------------------------------------------------------------
*
* This table keeps track of all the migrations that have already run for
* your application. Using this information, we can determine which of
* the migrations on disk haven't actually been run on the database.
*
*/
'migrations' => [
'table' => 'migrations',
'update_date_on_publish' => true,
],
/*
*--------------------------------------------------------------------------
* Redis Databases
*--------------------------------------------------------------------------
*
* Redis is an open source, fast, and advanced key-value store that also
* provides a richer body of commands than a typical key-value system
* such as Memcached. You may define your connection settings here.
*
*/
'redis' => [
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')) . '-database-'),
'persistent' => env('REDIS_PERSISTENT', false),
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_DB', '0'),
'max_retries' => env('REDIS_MAX_RETRIES', 3),
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_CACHE_DB', '1'),
'max_retries' => env('REDIS_MAX_RETRIES', 3),
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
],
],
];

76
config/filesystems.php Normal file
View file

@ -0,0 +1,76 @@
<?php
declare(strict_types=1);
return [
/**
*--------------------------------------------------------------------------
* Default Filesystem Disk
*--------------------------------------------------------------------------
*
* Here you may specify the default filesystem disk that should be used
* by the framework. The "local" disk, as well as a variety of cloud
* based disks are available to your application for file storage.
*/
'default' => env('FILESYSTEM_DISK', 'local'),
/**
*--------------------------------------------------------------------------
* Filesystem Disks
*--------------------------------------------------------------------------
*
* Below you may configure as many filesystem disks as necessary, and you
* may even configure multiple disks for the same driver. Examples for
* most supported storage drivers are configured here for reference.
*
* Supported drivers: "local", "ftp", "sftp", "s3"
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'serve' => true,
'throw' => false,
'report' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL') . '/storage',
'visibility' => 'public',
'throw' => false,
'report' => false,
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
'report' => false,
],
],
/**
*--------------------------------------------------------------------------
* Symbolic Links
*--------------------------------------------------------------------------
*
* Here you may configure the symbolic links that will be created when the
* `storage:link` Artisan command is executed. The array keys should be
* the locations of the links and the values should be their targets.
*/
'links' => [
public_path('storage') => storage_path('app/public'),
],
];

132
config/inertia.php Normal file
View file

@ -0,0 +1,132 @@
<?php
declare(strict_types=1);
return [
/**
*--------------------------------------------------------------------------
* Server Side Rendering
*--------------------------------------------------------------------------
*
* These options configures if and how Inertia uses Server Side Rendering
* to pre-render the initial visits made to your application's pages.
*
* You can specify a custom SSR bundle path, or omit it to let Inertia
* try and automatically detect it for you.
*
* Do note that enabling these options will NOT automatically make SSR work,
* as a separate rendering service needs to be available. To learn more,
* please visit https://inertiajs.com/server-side-rendering
*/
'ssr' => [
'enabled' => (bool) env('INERTIA_SSR_ENABLED', true),
'runtime' => env('INERTIA_SSR_RUNTIME', 'node'),
'ensure_runtime_exists' => (bool) env('INERTIA_SSR_ENSURE_RUNTIME_EXISTS', false),
'url' => env('INERTIA_SSR_URL', 'http://127.0.0.1:13714'),
'ensure_bundle_exists' => (bool) env('INERTIA_SSR_ENSURE_BUNDLE_EXISTS', false),
'bundle' => base_path('bootstrap/ssr/ssr.js'),
/**
*--------------------------------------------------------------------------
* SSR Error Handling
*--------------------------------------------------------------------------
*
* When SSR rendering fails, Inertia gracefully falls back to client-side
* rendering. Set throw_on_error to true to throw an exception instead.
* This is useful for E2E testing where you want SSR errors to fail loudly.
*
* You can also listen for the Inertia\Ssr\SsrRenderFailed event to handle
* failures in your own way (e.g., logging, error tracking service).
*/
'throw_on_error' => (bool) env('INERTIA_SSR_THROW_ON_ERROR', false),
],
/**
*--------------------------------------------------------------------------
* Pages
*--------------------------------------------------------------------------
*
* Set `ensure_pages_exist` to true if you want to enforce that Inertia page
* components exist on disk when rendering a page. This is useful for
* catching missing or misnamed components.
*
* The `paths` and `extensions` options define where to look for page
* components and which file extensions to consider.
*/
'pages' => [
'ensure_pages_exist' => true,
'paths' => [
resource_path('ts'),
],
'extensions' => [
'js',
'jsx',
'svelte',
'ts',
'tsx',
'vue',
],
],
/**
*--------------------------------------------------------------------------
* Testing
*--------------------------------------------------------------------------
*
* When using `assertInertia`, the assertion attempts to locate the
* component as a file relative to the `pages.paths` AND with any of
* the `pages.extensions` specified above.
*
* You can disable this behavior by setting `ensure_pages_exist`
* to false.
*/
'testing' => [
'ensure_pages_exist' => true,
],
/**
*--------------------------------------------------------------------------
* Expose Shared Prop Keys
*--------------------------------------------------------------------------
*
* When enabled, each page response includes a `sharedProps` metadata key
* listing the top-level prop keys that were registered via `Inertia::share`.
* The frontend can use this to carry shared props over during instant visits.
*/
'expose_shared_prop_keys' => true,
/**
*--------------------------------------------------------------------------
* History
*--------------------------------------------------------------------------
*
* Enable `encrypt` to encrypt page data before it is stored in the
* browser's history state, preventing sensitive information from
* being accessible after logout. Can also be enabled per-request
* or via the `inertia.encrypt` middleware.
*/
'history' => [
'encrypt' => (bool) env('INERTIA_ENCRYPT_HISTORY', true),
],
];

View file

@ -0,0 +1,356 @@
<?php
declare(strict_types=1);
return [
// Uncomment the languages that your site supports - or add new ones.
// These are sorted by the native name, which is the order you might show them in a language selector.
// Regional languages are sorted by their base language, so "British English" sorts as "English, British".
// Original config here: https://github.com/mcamara/laravel-localization/blob/master/src/config/config.php.
// @phpcs:disable Squiz.Commenting.InlineComment.NoSpaceBefore, Generic.Files.LineLength.TooLong, Squiz.PHP.CommentedOutCode.Found
'supportedLocales' => [
// 'ace' => ['name' => 'Achinese', 'script' => 'Latn', 'native' => 'Aceh', 'regional' => ''],
// 'af' => ['name' => 'Afrikaans', 'script' => 'Latn', 'native' => 'Afrikaans', 'regional' => 'af_ZA'],
// 'agq' => ['name' => 'Aghem', 'script' => 'Latn', 'native' => 'Aghem', 'regional' => ''],
// 'ak' => ['name' => 'Akan', 'script' => 'Latn', 'native' => 'Akan', 'regional' => 'ak_GH'],
// 'an' => ['name' => 'Aragonese', 'script' => 'Latn', 'native' => 'aragonés', 'regional' => 'an_ES'],
// 'cch' => ['name' => 'Atsam', 'script' => 'Latn', 'native' => 'Atsam', 'regional' => ''],
// 'gn' => ['name' => 'Guaraní', 'script' => 'Latn', 'native' => 'Avañe’ẽ', 'regional' => ''],
// 'ae' => ['name' => 'Avestan', 'script' => 'Latn', 'native' => 'avesta', 'regional' => ''],
// 'ay' => ['name' => 'Aymara', 'script' => 'Latn', 'native' => 'aymar aru', 'regional' => 'ay_PE'],
// 'az' => ['name' => 'Azerbaijani (Latin)', 'script' => 'Latn', 'native' => 'azərbaycanca', 'regional' => 'az_AZ'],
// 'id' => ['name' => 'Indonesian', 'script' => 'Latn', 'native' => 'Bahasa Indonesia', 'regional' => 'id_ID'],
// 'ms' => ['name' => 'Malay', 'script' => 'Latn', 'native' => 'Bahasa Melayu', 'regional' => 'ms_MY'],
// 'bm' => ['name' => 'Bambara', 'script' => 'Latn', 'native' => 'bamanakan', 'regional' => ''],
// 'jv' => ['name' => 'Javanese (Latin)', 'script' => 'Latn', 'native' => 'Basa Jawa', 'regional' => ''],
// 'su' => ['name' => 'Sundanese', 'script' => 'Latn', 'native' => 'Basa Sunda', 'regional' => ''],
// 'bh' => ['name' => 'Bihari', 'script' => 'Latn', 'native' => 'Bihari', 'regional' => ''],
// 'bi' => ['name' => 'Bislama', 'script' => 'Latn', 'native' => 'Bislama', 'regional' => ''],
// 'nb' => ['name' => 'Norwegian Bokmål', 'script' => 'Latn', 'native' => 'Bokmål', 'regional' => 'nb_NO'],
// 'bs' => ['name' => 'Bosnian', 'script' => 'Latn', 'native' => 'bosanski', 'regional' => 'bs_BA'],
// 'br' => ['name' => 'Breton', 'script' => 'Latn', 'native' => 'brezhoneg', 'regional' => 'br_FR'],
// 'ca' => ['name' => 'Catalan', 'script' => 'Latn', 'native' => 'català', 'regional' => 'ca_ES'],
// 'ch' => ['name' => 'Chamorro', 'script' => 'Latn', 'native' => 'Chamoru', 'regional' => ''],
// 'ny' => ['name' => 'Chewa', 'script' => 'Latn', 'native' => 'chiCheŵa', 'regional' => ''],
// 'kde' => ['name' => 'Makonde', 'script' => 'Latn', 'native' => 'Chimakonde', 'regional' => ''],
// 'sn' => ['name' => 'Shona', 'script' => 'Latn', 'native' => 'chiShona', 'regional' => ''],
// 'co' => ['name' => 'Corsican', 'script' => 'Latn', 'native' => 'corsu', 'regional' => ''],
// 'cy' => ['name' => 'Welsh', 'script' => 'Latn', 'native' => 'Cymraeg', 'regional' => 'cy_GB'],
// 'da' => ['name' => 'Danish', 'script' => 'Latn', 'native' => 'dansk', 'regional' => 'da_DK'],
// 'se' => ['name' => 'Northern Sami', 'script' => 'Latn', 'native' => 'davvisámegiella', 'regional' => 'se_NO'],
'de' => ['name' => 'German', 'script' => 'Latn', 'native' => 'Deutsch', 'regional' => 'de_DE'],
// 'luo' => ['name' => 'Luo', 'script' => 'Latn', 'native' => 'Dholuo', 'regional' => ''],
// 'nv' => ['name' => 'Navajo', 'script' => 'Latn', 'native' => 'Diné bizaad', 'regional' => ''],
// 'dua' => ['name' => 'Duala', 'script' => 'Latn', 'native' => 'duálá', 'regional' => ''],
// 'et' => ['name' => 'Estonian', 'script' => 'Latn', 'native' => 'eesti', 'regional' => 'et_EE'],
// 'na' => ['name' => 'Nauru', 'script' => 'Latn', 'native' => 'Ekakairũ Naoero', 'regional' => ''],
// 'guz' => ['name' => 'Ekegusii', 'script' => 'Latn', 'native' => 'Ekegusii', 'regional' => ''],
// 'en' => ['name' => 'English', 'script' => 'Latn', 'native' => 'English', 'regional' => 'en_GB'],
// 'en-AU' => ['name' => 'Australian English', 'script' => 'Latn', 'native' => 'Australian English', 'regional' => 'en_AU'],
// 'en-GB' => ['name' => 'British English', 'script' => 'Latn', 'native' => 'British English', 'regional' => 'en_GB'],
// 'en-CA' => ['name' => 'Canadian English', 'script' => 'Latn', 'native' => 'Canadian English', 'regional' => 'en_CA'],
// 'en-US' => ['name' => 'U.S. English', 'script' => 'Latn', 'native' => 'U.S. English', 'regional' => 'en_US'],
// 'es' => ['name' => 'Spanish', 'script' => 'Latn', 'native' => 'español', 'regional' => 'es_ES'],
// 'eo' => ['name' => 'Esperanto', 'script' => 'Latn', 'native' => 'esperanto', 'regional' => ''],
// 'eu' => ['name' => 'Basque', 'script' => 'Latn', 'native' => 'euskara', 'regional' => 'eu_ES'],
// 'ewo' => ['name' => 'Ewondo', 'script' => 'Latn', 'native' => 'ewondo', 'regional' => ''],
// 'ee' => ['name' => 'Ewe', 'script' => 'Latn', 'native' => 'eʋegbe', 'regional' => ''],
// 'fil' => ['name' => 'Filipino', 'script' => 'Latn', 'native' => 'Filipino', 'regional' => 'fil_PH'],
'fr' => ['name' => 'French', 'script' => 'Latn', 'native' => 'français', 'regional' => 'fr_FR'],
// 'fr-CA' => ['name' => 'Canadian French', 'script' => 'Latn', 'native' => 'français canadien', 'regional' => 'fr_CA'],
// 'fy' => ['name' => 'Western Frisian', 'script' => 'Latn', 'native' => 'frysk', 'regional' => 'fy_DE'],
// 'fur' => ['name' => 'Friulian', 'script' => 'Latn', 'native' => 'furlan', 'regional' => 'fur_IT'],
// 'fo' => ['name' => 'Faroese', 'script' => 'Latn', 'native' => 'føroyskt', 'regional' => 'fo_FO'],
// 'gaa' => ['name' => 'Ga', 'script' => 'Latn', 'native' => 'Ga', 'regional' => ''],
// 'ga' => ['name' => 'Irish', 'script' => 'Latn', 'native' => 'Gaeilge', 'regional' => 'ga_IE'],
// 'gv' => ['name' => 'Manx', 'script' => 'Latn', 'native' => 'Gaelg', 'regional' => 'gv_GB'],
// 'sm' => ['name' => 'Samoan', 'script' => 'Latn', 'native' => 'Gagana fa’a Sāmoa', 'regional' => ''],
// 'gl' => ['name' => 'Galician', 'script' => 'Latn', 'native' => 'galego', 'regional' => 'gl_ES'],
// 'ki' => ['name' => 'Kikuyu', 'script' => 'Latn', 'native' => 'Gikuyu', 'regional' => ''],
// 'gd' => ['name' => 'Scottish Gaelic', 'script' => 'Latn', 'native' => 'Gàidhlig', 'regional' => 'gd_GB'],
// 'ha' => ['name' => 'Hausa', 'script' => 'Latn', 'native' => 'Hausa', 'regional' => 'ha_NG'],
// 'bez' => ['name' => 'Bena', 'script' => 'Latn', 'native' => 'Hibena', 'regional' => ''],
// 'ho' => ['name' => 'Hiri Motu', 'script' => 'Latn', 'native' => 'Hiri Motu', 'regional' => ''],
// 'hr' => ['name' => 'Croatian', 'script' => 'Latn', 'native' => 'hrvatski', 'regional' => 'hr_HR'],
// 'bem' => ['name' => 'Bemba', 'script' => 'Latn', 'native' => 'Ichibemba', 'regional' => 'bem_ZM'],
// 'io' => ['name' => 'Ido', 'script' => 'Latn', 'native' => 'Ido', 'regional' => ''],
// 'ig' => ['name' => 'Igbo', 'script' => 'Latn', 'native' => 'Igbo', 'regional' => 'ig_NG'],
// 'rn' => ['name' => 'Rundi', 'script' => 'Latn', 'native' => 'Ikirundi', 'regional' => ''],
// 'ia' => ['name' => 'Interlingua', 'script' => 'Latn', 'native' => 'interlingua', 'regional' => 'ia_FR'],
// 'iu-Latn' => ['name' => 'Inuktitut (Latin)', 'script' => 'Latn', 'native' => 'Inuktitut', 'regional' => 'iu_CA'],
// 'sbp' => ['name' => 'Sileibi', 'script' => 'Latn', 'native' => 'Ishisangu', 'regional' => ''],
// 'nd' => ['name' => 'North Ndebele', 'script' => 'Latn', 'native' => 'isiNdebele', 'regional' => ''],
// 'nr' => ['name' => 'South Ndebele', 'script' => 'Latn', 'native' => 'isiNdebele', 'regional' => 'nr_ZA'],
// 'xh' => ['name' => 'Xhosa', 'script' => 'Latn', 'native' => 'isiXhosa', 'regional' => 'xh_ZA'],
// 'zu' => ['name' => 'Zulu', 'script' => 'Latn', 'native' => 'isiZulu', 'regional' => 'zu_ZA'],
// 'it' => ['name' => 'Italian', 'script' => 'Latn', 'native' => 'italiano', 'regional' => 'it_IT'],
// 'ik' => ['name' => 'Inupiaq', 'script' => 'Latn', 'native' => 'Iñupiaq', 'regional' => 'ik_CA'],
// 'dyo' => ['name' => 'Jola-Fonyi', 'script' => 'Latn', 'native' => 'joola', 'regional' => ''],
// 'kea' => ['name' => 'Kabuverdianu', 'script' => 'Latn', 'native' => 'kabuverdianu', 'regional' => ''],
// 'kaj' => ['name' => 'Jju', 'script' => 'Latn', 'native' => 'Kaje', 'regional' => ''],
// 'mh' => ['name' => 'Marshallese', 'script' => 'Latn', 'native' => 'Kajin M̧ajeļ', 'regional' => 'mh_MH'],
// 'kl' => ['name' => 'Kalaallisut', 'script' => 'Latn', 'native' => 'kalaallisut', 'regional' => 'kl_GL'],
// 'kln' => ['name' => 'Kalenjin', 'script' => 'Latn', 'native' => 'Kalenjin', 'regional' => ''],
// 'kr' => ['name' => 'Kanuri', 'script' => 'Latn', 'native' => 'Kanuri', 'regional' => ''],
// 'kcg' => ['name' => 'Tyap', 'script' => 'Latn', 'native' => 'Katab', 'regional' => ''],
// 'kw' => ['name' => 'Cornish', 'script' => 'Latn', 'native' => 'kernewek', 'regional' => 'kw_GB'],
// 'naq' => ['name' => 'Nama', 'script' => 'Latn', 'native' => 'Khoekhoegowab', 'regional' => ''],
// 'rof' => ['name' => 'Rombo', 'script' => 'Latn', 'native' => 'Kihorombo', 'regional' => ''],
// 'kam' => ['name' => 'Kamba', 'script' => 'Latn', 'native' => 'Kikamba', 'regional' => ''],
// 'kg' => ['name' => 'Kongo', 'script' => 'Latn', 'native' => 'Kikongo', 'regional' => ''],
// 'jmc' => ['name' => 'Machame', 'script' => 'Latn', 'native' => 'Kimachame', 'regional' => ''],
// 'rw' => ['name' => 'Kinyarwanda', 'script' => 'Latn', 'native' => 'Kinyarwanda', 'regional' => 'rw_RW'],
// 'asa' => ['name' => 'Kipare', 'script' => 'Latn', 'native' => 'Kipare', 'regional' => ''],
// 'rwk' => ['name' => 'Rwa', 'script' => 'Latn', 'native' => 'Kiruwa', 'regional' => ''],
// 'saq' => ['name' => 'Samburu', 'script' => 'Latn', 'native' => 'Kisampur', 'regional' => ''],
// 'ksb' => ['name' => 'Shambala', 'script' => 'Latn', 'native' => 'Kishambaa', 'regional' => ''],
// 'swc' => ['name' => 'Congo Swahili', 'script' => 'Latn', 'native' => 'Kiswahili ya Kongo', 'regional' => ''],
// 'sw' => ['name' => 'Swahili', 'script' => 'Latn', 'native' => 'Kiswahili', 'regional' => 'sw_KE'],
// 'dav' => ['name' => 'Dawida', 'script' => 'Latn', 'native' => 'Kitaita', 'regional' => ''],
// 'teo' => ['name' => 'Teso', 'script' => 'Latn', 'native' => 'Kiteso', 'regional' => ''],
// 'khq' => ['name' => 'Koyra Chiini', 'script' => 'Latn', 'native' => 'Koyra ciini', 'regional' => ''],
// 'ses' => ['name' => 'Songhay', 'script' => 'Latn', 'native' => 'Koyraboro senni', 'regional' => ''],
// 'mfe' => ['name' => 'Morisyen', 'script' => 'Latn', 'native' => 'kreol morisien', 'regional' => ''],
// 'ht' => ['name' => 'Haitian', 'script' => 'Latn', 'native' => 'Kreyòl ayisyen', 'regional' => 'ht_HT'],
// 'kj' => ['name' => 'Kuanyama', 'script' => 'Latn', 'native' => 'Kwanyama', 'regional' => ''],
// 'ksh' => ['name' => 'Kölsch', 'script' => 'Latn', 'native' => 'Kölsch', 'regional' => ''],
// 'ebu' => ['name' => 'Kiembu', 'script' => 'Latn', 'native' => 'Kĩembu', 'regional' => ''],
// 'mer' => ['name' => 'Kimîîru', 'script' => 'Latn', 'native' => 'Kĩmĩrũ', 'regional' => ''],
// 'lag' => ['name' => 'Langi', 'script' => 'Latn', 'native' => 'Kɨlaangi', 'regional' => ''],
// 'lah' => ['name' => 'Lahnda', 'script' => 'Latn', 'native' => 'Lahnda', 'regional' => ''],
// 'la' => ['name' => 'Latin', 'script' => 'Latn', 'native' => 'latine', 'regional' => ''],
// 'lv' => ['name' => 'Latvian', 'script' => 'Latn', 'native' => 'latviešu', 'regional' => 'lv_LV'],
// 'to' => ['name' => 'Tongan', 'script' => 'Latn', 'native' => 'lea fakatonga', 'regional' => ''],
// 'lt' => ['name' => 'Lithuanian', 'script' => 'Latn', 'native' => 'lietuvių', 'regional' => 'lt_LT'],
// 'li' => ['name' => 'Limburgish', 'script' => 'Latn', 'native' => 'Limburgs', 'regional' => 'li_BE'],
// 'ln' => ['name' => 'Lingala', 'script' => 'Latn', 'native' => 'lingála', 'regional' => ''],
// 'lg' => ['name' => 'Ganda', 'script' => 'Latn', 'native' => 'Luganda', 'regional' => 'lg_UG'],
// 'luy' => ['name' => 'Oluluyia', 'script' => 'Latn', 'native' => 'Luluhia', 'regional' => ''],
// 'lb' => ['name' => 'Luxembourgish', 'script' => 'Latn', 'native' => 'Lëtzebuergesch', 'regional' => 'lb_LU'],
// 'hu' => ['name' => 'Hungarian', 'script' => 'Latn', 'native' => 'magyar', 'regional' => 'hu_HU'],
// 'mgh' => ['name' => 'Makhuwa-Meetto', 'script' => 'Latn', 'native' => 'Makua', 'regional' => ''],
// 'mg' => ['name' => 'Malagasy', 'script' => 'Latn', 'native' => 'Malagasy', 'regional' => 'mg_MG'],
// 'mt' => ['name' => 'Maltese', 'script' => 'Latn', 'native' => 'Malti', 'regional' => 'mt_MT'],
// 'mtr' => ['name' => 'Mewari', 'script' => 'Latn', 'native' => 'Mewari', 'regional' => ''],
// 'mua' => ['name' => 'Mundang', 'script' => 'Latn', 'native' => 'Mundang', 'regional' => ''],
// 'mi' => ['name' => 'Māori', 'script' => 'Latn', 'native' => 'Māori', 'regional' => 'mi_NZ'],
// 'nl' => ['name' => 'Dutch', 'script' => 'Latn', 'native' => 'Nederlands', 'regional' => 'nl_NL'],
// 'nmg' => ['name' => 'Kwasio', 'script' => 'Latn', 'native' => 'ngumba', 'regional' => ''],
// 'yav' => ['name' => 'Yangben', 'script' => 'Latn', 'native' => 'nuasue', 'regional' => ''],
// 'nn' => ['name' => 'Norwegian Nynorsk', 'script' => 'Latn', 'native' => 'nynorsk', 'regional' => 'nn_NO'],
// 'oc' => ['name' => 'Occitan', 'script' => 'Latn', 'native' => 'occitan', 'regional' => 'oc_FR'],
// 'ang' => ['name' => 'Old English', 'script' => 'Runr', 'native' => 'Old English', 'regional' => ''],
// 'xog' => ['name' => 'Soga', 'script' => 'Latn', 'native' => 'Olusoga', 'regional' => ''],
// 'om' => ['name' => 'Oromo', 'script' => 'Latn', 'native' => 'Oromoo', 'regional' => 'om_ET'],
// 'ng' => ['name' => 'Ndonga', 'script' => 'Latn', 'native' => 'OshiNdonga', 'regional' => ''],
// 'hz' => ['name' => 'Herero', 'script' => 'Latn', 'native' => 'Otjiherero', 'regional' => ''],
// 'uz-Latn' => ['name' => 'Uzbek (Latin)', 'script' => 'Latn', 'native' => 'oʼzbekcha', 'regional' => 'uz_UZ'],
// 'nds' => ['name' => 'Low German', 'script' => 'Latn', 'native' => 'Plattdüütsch', 'regional' => 'nds_DE'],
// 'pl' => ['name' => 'Polish', 'script' => 'Latn', 'native' => 'polski', 'regional' => 'pl_PL'],
// 'pt' => ['name' => 'Portuguese', 'script' => 'Latn', 'native' => 'português', 'regional' => 'pt_PT'],
// 'pt-BR' => ['name' => 'Brazilian Portuguese', 'script' => 'Latn', 'native' => 'português do Brasil', 'regional' => 'pt_BR'],
// 'ff' => ['name' => 'Fulah', 'script' => 'Latn', 'native' => 'Pulaar', 'regional' => 'ff_SN'],
// 'pi' => ['name' => 'Pahari-Potwari', 'script' => 'Latn', 'native' => 'Pāli', 'regional' => ''],
// 'aa' => ['name' => 'Afar', 'script' => 'Latn', 'native' => 'Qafar', 'regional' => 'aa_ER'],
// 'ty' => ['name' => 'Tahitian', 'script' => 'Latn', 'native' => 'Reo Māohi', 'regional' => ''],
// 'ksf' => ['name' => 'Bafia', 'script' => 'Latn', 'native' => 'rikpa', 'regional' => ''],
// 'ro' => ['name' => 'Romanian', 'script' => 'Latn', 'native' => 'română', 'regional' => 'ro_RO'],
// 'cgg' => ['name' => 'Chiga', 'script' => 'Latn', 'native' => 'Rukiga', 'regional' => ''],
// 'rm' => ['name' => 'Romansh', 'script' => 'Latn', 'native' => 'rumantsch', 'regional' => ''],
// 'qu' => ['name' => 'Quechua', 'script' => 'Latn', 'native' => 'Runa Simi', 'regional' => ''],
// 'nyn' => ['name' => 'Nyankole', 'script' => 'Latn', 'native' => 'Runyankore', 'regional' => ''],
// 'ssy' => ['name' => 'Saho', 'script' => 'Latn', 'native' => 'Saho', 'regional' => ''],
// 'sc' => ['name' => 'Sardinian', 'script' => 'Latn', 'native' => 'sardu', 'regional' => 'sc_IT'],
// 'de-CH' => ['name' => 'Swiss High German', 'script' => 'Latn', 'native' => 'Schweizer Hochdeutsch', 'regional' => 'de_CH'],
// 'gsw' => ['name' => 'Swiss German', 'script' => 'Latn', 'native' => 'Schwiizertüütsch', 'regional' => ''],
// 'trv' => ['name' => 'Taroko', 'script' => 'Latn', 'native' => 'Seediq', 'regional' => ''],
// 'seh' => ['name' => 'Sena', 'script' => 'Latn', 'native' => 'sena', 'regional' => ''],
// 'nso' => ['name' => 'Northern Sotho', 'script' => 'Latn', 'native' => 'Sesotho sa Leboa', 'regional' => 'nso_ZA'],
// 'st' => ['name' => 'Southern Sotho', 'script' => 'Latn', 'native' => 'Sesotho', 'regional' => 'st_ZA'],
// 'tn' => ['name' => 'Tswana', 'script' => 'Latn', 'native' => 'Setswana', 'regional' => 'tn_ZA'],
// 'sq' => ['name' => 'Albanian', 'script' => 'Latn', 'native' => 'shqip', 'regional' => 'sq_AL'],
// 'sid' => ['name' => 'Sidamo', 'script' => 'Latn', 'native' => 'Sidaamu Afo', 'regional' => 'sid_ET'],
// 'ss' => ['name' => 'Swati', 'script' => 'Latn', 'native' => 'Siswati', 'regional' => 'ss_ZA'],
// 'sk' => ['name' => 'Slovak', 'script' => 'Latn', 'native' => 'slovenčina', 'regional' => 'sk_SK'],
// 'sl' => ['name' => 'Slovene', 'script' => 'Latn', 'native' => 'slovenščina', 'regional' => 'sl_SI'],
// 'so' => ['name' => 'Somali', 'script' => 'Latn', 'native' => 'Soomaali', 'regional' => 'so_SO'],
// 'sr-Latn' => ['name' => 'Serbian (Latin)', 'script' => 'Latn', 'native' => 'Srpski', 'regional' => 'sr_RS'],
// 'sh' => ['name' => 'Serbo-Croatian', 'script' => 'Latn', 'native' => 'srpskohrvatski', 'regional' => ''],
// 'fi' => ['name' => 'Finnish', 'script' => 'Latn', 'native' => 'suomi', 'regional' => 'fi_FI'],
// 'sv' => ['name' => 'Swedish', 'script' => 'Latn', 'native' => 'svenska', 'regional' => 'sv_SE'],
// 'sg' => ['name' => 'Sango', 'script' => 'Latn', 'native' => 'Sängö', 'regional' => ''],
// 'tl' => ['name' => 'Tagalog', 'script' => 'Latn', 'native' => 'Tagalog', 'regional' => 'tl_PH'],
// 'tzm-Latn' => ['name' => 'Central Atlas Tamazight (Latin)', 'script' => 'Latn', 'native' => 'Tamazight', 'regional' => ''],
// 'kab' => ['name' => 'Kabyle', 'script' => 'Latn', 'native' => 'Taqbaylit', 'regional' => 'kab_DZ'],
// 'twq' => ['name' => 'Tasawaq', 'script' => 'Latn', 'native' => 'Tasawaq senni', 'regional' => ''],
// 'shi' => ['name' => 'Tachelhit (Latin)', 'script' => 'Latn', 'native' => 'Tashelhit', 'regional' => ''],
// 'nus' => ['name' => 'Nuer', 'script' => 'Latn', 'native' => 'Thok Nath', 'regional' => ''],
// 'vi' => ['name' => 'Vietnamese', 'script' => 'Latn', 'native' => 'Tiếng Việt', 'regional' => 'vi_VN'],
// 'tg-Latn' => ['name' => 'Tajik (Latin)', 'script' => 'Latn', 'native' => 'tojikī', 'regional' => 'tg_TJ'],
// 'lu' => ['name' => 'Luba-Katanga', 'script' => 'Latn', 'native' => 'Tshiluba', 'regional' => 've_ZA'],
// 've' => ['name' => 'Venda', 'script' => 'Latn', 'native' => 'Tshivenḓa', 'regional' => ''],
// 'tw' => ['name' => 'Twi', 'script' => 'Latn', 'native' => 'Twi', 'regional' => ''],
// 'tr' => ['name' => 'Turkish', 'script' => 'Latn', 'native' => 'Türkçe', 'regional' => 'tr_TR'],
// 'ale' => ['name' => 'Aleut', 'script' => 'Latn', 'native' => 'Unangax tunuu', 'regional' => ''],
// 'ca-valencia' => ['name' => 'Valencian', 'script' => 'Latn', 'native' => 'valencià', 'regional' => ''],
// 'vai-Latn' => ['name' => 'Vai (Latin)', 'script' => 'Latn', 'native' => 'Viyamíĩ', 'regional' => ''],
// 'vo' => ['name' => 'Volapük', 'script' => 'Latn', 'native' => 'Volapük', 'regional' => ''],
// 'fj' => ['name' => 'Fijian', 'script' => 'Latn', 'native' => 'vosa Vakaviti', 'regional' => ''],
// 'wa' => ['name' => 'Walloon', 'script' => 'Latn', 'native' => 'Walon', 'regional' => 'wa_BE'],
// 'wae' => ['name' => 'Walser', 'script' => 'Latn', 'native' => 'Walser', 'regional' => 'wae_CH'],
// 'wen' => ['name' => 'Sorbian', 'script' => 'Latn', 'native' => 'Wendic', 'regional' => ''],
// 'wo' => ['name' => 'Wolof', 'script' => 'Latn', 'native' => 'Wolof', 'regional' => 'wo_SN'],
// 'ts' => ['name' => 'Tsonga', 'script' => 'Latn', 'native' => 'Xitsonga', 'regional' => 'ts_ZA'],
// 'dje' => ['name' => 'Zarma', 'script' => 'Latn', 'native' => 'Zarmaciine', 'regional' => ''],
// 'yo' => ['name' => 'Yoruba', 'script' => 'Latn', 'native' => 'Èdè Yorùbá', 'regional' => 'yo_NG'],
// 'de-AT' => ['name' => 'Austrian German', 'script' => 'Latn', 'native' => 'Österreichisches Deutsch', 'regional' => 'de_AT'],
// 'is' => ['name' => 'Icelandic', 'script' => 'Latn', 'native' => 'íslenska', 'regional' => 'is_IS'],
// 'cs' => ['name' => 'Czech', 'script' => 'Latn', 'native' => 'čeština', 'regional' => 'cs_CZ'],
// 'bas' => ['name' => 'Basa', 'script' => 'Latn', 'native' => 'Ɓàsàa', 'regional' => ''],
// 'mas' => ['name' => 'Masai', 'script' => 'Latn', 'native' => 'ɔl-Maa', 'regional' => ''],
// 'haw' => ['name' => 'Hawaiian', 'script' => 'Latn', 'native' => 'ʻŌlelo Hawaiʻi', 'regional' => ''],
// 'el' => ['name' => 'Greek', 'script' => 'Grek', 'native' => 'Ελληνικά', 'regional' => 'el_GR'],
// 'uz' => ['name' => 'Uzbek (Cyrillic)', 'script' => 'Cyrl', 'native' => 'Ўзбек', 'regional' => 'uz_UZ'],
// 'az-Cyrl' => ['name' => 'Azerbaijani (Cyrillic)', 'script' => 'Cyrl', 'native' => 'Азәрбајҹан', 'regional' => 'uz_UZ'],
// 'ab' => ['name' => 'Abkhazian', 'script' => 'Cyrl', 'native' => 'Аҧсуа', 'regional' => ''],
// 'os' => ['name' => 'Ossetic', 'script' => 'Cyrl', 'native' => 'Ирон', 'regional' => 'os_RU'],
// 'ky' => ['name' => 'Kyrgyz', 'script' => 'Cyrl', 'native' => 'Кыргыз', 'regional' => 'ky_KG'],
// 'sr' => ['name' => 'Serbian (Cyrillic)', 'script' => 'Cyrl', 'native' => 'Српски', 'regional' => 'sr_RS'],
// 'av' => ['name' => 'Avaric', 'script' => 'Cyrl', 'native' => 'авар мацӀ', 'regional' => ''],
// 'ady' => ['name' => 'Adyghe', 'script' => 'Cyrl', 'native' => 'адыгэбзэ', 'regional' => ''],
// 'ba' => ['name' => 'Bashkir', 'script' => 'Cyrl', 'native' => 'башҡорт теле', 'regional' => ''],
// 'be' => ['name' => 'Belarusian', 'script' => 'Cyrl', 'native' => 'беларуская', 'regional' => 'be_BY'],
// 'bg' => ['name' => 'Bulgarian', 'script' => 'Cyrl', 'native' => 'български', 'regional' => 'bg_BG'],
// 'kv' => ['name' => 'Komi', 'script' => 'Cyrl', 'native' => 'коми кыв', 'regional' => ''],
// 'mk' => ['name' => 'Macedonian', 'script' => 'Cyrl', 'native' => 'македонски', 'regional' => 'mk_MK'],
// 'mn' => ['name' => 'Mongolian (Cyrillic)', 'script' => 'Cyrl', 'native' => 'монгол', 'regional' => 'mn_MN'],
// 'ce' => ['name' => 'Chechen', 'script' => 'Cyrl', 'native' => 'нохчийн мотт', 'regional' => 'ce_RU'],
// 'ru' => ['name' => 'Russian', 'script' => 'Cyrl', 'native' => 'русский', 'regional' => 'ru_RU'],
// 'sah' => ['name' => 'Yakut', 'script' => 'Cyrl', 'native' => 'саха тыла', 'regional' => ''],
// 'tt' => ['name' => 'Tatar', 'script' => 'Cyrl', 'native' => 'татар теле', 'regional' => 'tt_RU'],
// 'tg' => ['name' => 'Tajik (Cyrillic)', 'script' => 'Cyrl', 'native' => 'тоҷикӣ', 'regional' => 'tg_TJ'],
// 'tk' => ['name' => 'Turkmen', 'script' => 'Cyrl', 'native' => 'түркменче', 'regional' => 'tk_TM'],
// 'uk' => ['name' => 'Ukrainian', 'script' => 'Cyrl', 'native' => 'українська', 'regional' => 'uk_UA'],
// 'cv' => ['name' => 'Chuvash', 'script' => 'Cyrl', 'native' => 'чӑваш чӗлхи', 'regional' => 'cv_RU'],
// 'cu' => ['name' => 'Church Slavic', 'script' => 'Cyrl', 'native' => 'ѩзыкъ словѣньскъ', 'regional' => ''],
// 'kk' => ['name' => 'Kazakh', 'script' => 'Cyrl', 'native' => 'қазақ тілі', 'regional' => 'kk_KZ'],
// 'hy' => ['name' => 'Armenian', 'script' => 'Armn', 'native' => 'Հայերեն', 'regional' => 'hy_AM'],
// 'yi' => ['name' => 'Yiddish', 'script' => 'Hebr', 'native' => 'ייִדיש', 'regional' => 'yi_US'],
// 'he' => ['name' => 'Hebrew', 'script' => 'Hebr', 'native' => 'עברית', 'regional' => 'he_IL'],
// 'ug' => ['name' => 'Uyghur', 'script' => 'Arab', 'native' => 'ئۇيغۇرچە', 'regional' => 'ug_CN'],
// 'ur' => ['name' => 'Urdu', 'script' => 'Arab', 'native' => 'اردو', 'regional' => 'ur_PK'],
// 'ar' => ['name' => 'Arabic', 'script' => 'Arab', 'native' => 'العربية', 'regional' => 'ar_AE'],
// 'uz-Arab' => ['name' => 'Uzbek (Arabic)', 'script' => 'Arab', 'native' => 'اۉزبېک', 'regional' => ''],
// 'tg-Arab' => ['name' => 'Tajik (Arabic)', 'script' => 'Arab', 'native' => 'تاجیکی', 'regional' => 'tg_TJ'],
// 'sd' => ['name' => 'Sindhi', 'script' => 'Arab', 'native' => 'سنڌي', 'regional' => 'sd_IN'],
// 'fa' => ['name' => 'Persian', 'script' => 'Arab', 'native' => 'فارسی', 'regional' => 'fa_IR'],
// 'pa-Arab' => ['name' => 'Punjabi (Arabic)', 'script' => 'Arab', 'native' => 'پنجاب', 'regional' => 'pa_IN'],
// 'ps' => ['name' => 'Pashto', 'script' => 'Arab', 'native' => 'پښتو', 'regional' => 'ps_AF'],
// 'ks' => ['name' => 'Kashmiri (Arabic)', 'script' => 'Arab', 'native' => 'کأشُر', 'regional' => 'ks_IN'],
// 'ku' => ['name' => 'Kurdish', 'script' => 'Arab', 'native' => 'کوردی', 'regional' => 'ku_TR'],
// 'dv' => ['name' => 'Divehi', 'script' => 'Thaa', 'native' => 'ދިވެހިބަސް', 'regional' => 'dv_MV'],
// 'ks-Deva' => ['name' => 'Kashmiri (Devaganari)', 'script' => 'Deva', 'native' => 'कॉशुर', 'regional' => 'ks_IN'],
// 'kok' => ['name' => 'Konkani', 'script' => 'Deva', 'native' => 'कोंकणी', 'regional' => 'kok_IN'],
// 'doi' => ['name' => 'Dogri', 'script' => 'Deva', 'native' => 'डोगरी', 'regional' => 'doi_IN'],
// 'ne' => ['name' => 'Nepali', 'script' => 'Deva', 'native' => 'नेपाली', 'regional' => ''],
// 'pra' => ['name' => 'Prakrit', 'script' => 'Deva', 'native' => 'प्राकृत', 'regional' => ''],
// 'brx' => ['name' => 'Bodo', 'script' => 'Deva', 'native' => 'बड़ो', 'regional' => 'brx_IN'],
// 'bra' => ['name' => 'Braj', 'script' => 'Deva', 'native' => 'ब्रज भाषा', 'regional' => ''],
// 'mr' => ['name' => 'Marathi', 'script' => 'Deva', 'native' => 'मराठी', 'regional' => 'mr_IN'],
// 'mai' => ['name' => 'Maithili', 'script' => 'Tirh', 'native' => 'मैथिली', 'regional' => 'mai_IN'],
// 'raj' => ['name' => 'Rajasthani', 'script' => 'Deva', 'native' => 'राजस्थानी', 'regional' => ''],
// 'sa' => ['name' => 'Sanskrit', 'script' => 'Deva', 'native' => 'संस्कृतम्', 'regional' => 'sa_IN'],
// 'hi' => ['name' => 'Hindi', 'script' => 'Deva', 'native' => 'हिन्दी', 'regional' => 'hi_IN'],
// 'as' => ['name' => 'Assamese', 'script' => 'Beng', 'native' => 'অসমীয়া', 'regional' => 'as_IN'],
// 'bn' => ['name' => 'Bengali', 'script' => 'Beng', 'native' => 'বাংলা', 'regional' => 'bn_BD'],
// 'mni' => ['name' => 'Manipuri', 'script' => 'Beng', 'native' => 'মৈতৈ', 'regional' => 'mni_IN'],
// 'pa' => ['name' => 'Punjabi (Gurmukhi)', 'script' => 'Guru', 'native' => 'ਪੰਜਾਬੀ', 'regional' => 'pa_IN'],
// 'gu' => ['name' => 'Gujarati', 'script' => 'Gujr', 'native' => 'ગુજરાતી', 'regional' => 'gu_IN'],
// 'or' => ['name' => 'Oriya', 'script' => 'Orya', 'native' => 'ଓଡ଼ିଆ', 'regional' => 'or_IN'],
// 'ta' => ['name' => 'Tamil', 'script' => 'Taml', 'native' => 'தமிழ்', 'regional' => 'ta_IN'],
// 'te' => ['name' => 'Telugu', 'script' => 'Telu', 'native' => 'తెలుగు', 'regional' => 'te_IN'],
// 'kn' => ['name' => 'Kannada', 'script' => 'Knda', 'native' => 'ಕನ್ನಡ', 'regional' => 'kn_IN'],
// 'ml' => ['name' => 'Malayalam', 'script' => 'Mlym', 'native' => 'മലയാളം', 'regional' => 'ml_IN'],
// 'si' => ['name' => 'Sinhala', 'script' => 'Sinh', 'native' => 'සිංහල', 'regional' => 'si_LK'],
// 'th' => ['name' => 'Thai', 'script' => 'Thai', 'native' => 'ไทย', 'regional' => 'th_TH'],
// 'lo' => ['name' => 'Lao', 'script' => 'Laoo', 'native' => 'ລາວ', 'regional' => 'lo_LA'],
// 'bo' => ['name' => 'Tibetan', 'script' => 'Tibt', 'native' => 'པོད་སྐད་', 'regional' => 'bo_IN'],
// 'dz' => ['name' => 'Dzongkha', 'script' => 'Tibt', 'native' => 'རྫོང་ཁ', 'regional' => 'dz_BT'],
// 'my' => ['name' => 'Burmese', 'script' => 'Mymr', 'native' => 'မြန်မာဘာသာ', 'regional' => 'my_MM'],
// 'ka' => ['name' => 'Georgian', 'script' => 'Geor', 'native' => 'ქართული', 'regional' => 'ka_GE'],
// 'byn' => ['name' => 'Blin', 'script' => 'Ethi', 'native' => 'ብሊን', 'regional' => 'byn_ER'],
// 'tig' => ['name' => 'Tigre', 'script' => 'Ethi', 'native' => 'ትግረ', 'regional' => 'tig_ER'],
// 'ti' => ['name' => 'Tigrinya', 'script' => 'Ethi', 'native' => 'ትግርኛ', 'regional' => 'ti_ET'],
// 'am' => ['name' => 'Amharic', 'script' => 'Ethi', 'native' => 'አማርኛ', 'regional' => 'am_ET'],
// 'wal' => ['name' => 'Wolaytta', 'script' => 'Ethi', 'native' => 'ወላይታቱ', 'regional' => 'wal_ET'],
// 'chr' => ['name' => 'Cherokee', 'script' => 'Cher', 'native' => 'ᏣᎳᎩ', 'regional' => ''],
// 'iu' => ['name' => 'Inuktitut (Canadian Aboriginal Syllabics)', 'script' => 'Cans', 'native' => 'ᐃᓄᒃᑎᑐᑦ', 'regional' => 'iu_CA'],
// 'oj' => ['name' => 'Ojibwa', 'script' => 'Cans', 'native' => 'ᐊᓂᔑᓈᐯᒧᐎᓐ', 'regional' => ''],
// 'cr' => ['name' => 'Cree', 'script' => 'Cans', 'native' => 'ᓀᐦᐃᔭᐍᐏᐣ', 'regional' => ''],
// 'km' => ['name' => 'Khmer', 'script' => 'Khmr', 'native' => 'ភាសាខ្មែរ', 'regional' => 'km_KH'],
// 'mn-Mong' => ['name' => 'Mongolian (Mongolian)', 'script' => 'Mong', 'native' => 'ᠮᠣᠨᠭᠭᠣᠯ ᠬᠡᠯᠡ', 'regional' => 'mn_MN'],
// 'shi-Tfng' => ['name' => 'Tachelhit (Tifinagh)', 'script' => 'Tfng', 'native' => 'ⵜⴰⵎⴰⵣⵉⵖⵜ', 'regional' => ''],
// 'tzm' => ['name' => 'Central Atlas Tamazight (Tifinagh)','script' => 'Tfng', 'native' => 'ⵜⴰⵎⴰⵣⵉⵖⵜ', 'regional' => ''],
// 'yue' => ['name' => 'Yue', 'script' => 'Hant', 'native' => '廣州話', 'regional' => 'yue_HK'],
// 'ja' => ['name' => 'Japanese', 'script' => 'Jpan', 'native' => '日本語', 'regional' => 'ja_JP'],
// 'zh' => ['name' => 'Chinese (Simplified)', 'script' => 'Hans', 'native' => '简体中文', 'regional' => 'zh_CN'],
// 'zh-Hant' => ['name' => 'Chinese (Traditional)', 'script' => 'Hant', 'native' => '繁體中文', 'regional' => 'zh_CN'],
// 'ii' => ['name' => 'Sichuan Yi', 'script' => 'Yiii', 'native' => 'ꆈꌠꉙ', 'regional' => ''],
// 'vai' => ['name' => 'Vai (Vai)', 'script' => 'Vaii', 'native' => 'ꕙꔤ', 'regional' => ''],
// 'jv-Java' => ['name' => 'Javanese (Javanese)', 'script' => 'Java', 'native' => 'ꦧꦱꦗꦮ', 'regional' => ''],
// 'ko' => ['name' => 'Korean', 'script' => 'Hang', 'native' => '한국어', 'regional' => 'ko_KR'],
],
// @phpcs:enable
// Requires middleware `LaravelSessionRedirect.php`.
//
// Automatically determine locale from browser
// (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language)
// on first call if it's not defined in the URL. Redirect user to computed localized url.
// For example, if users browser language is `de`, and `de` is active in the array `supportedLocales`,
// the `/about` would be redirected to `/de/about`.
//
// The locale will be stored in session and only be computed from browser
// again if the session expires.
//
// If false, system will take app.php locale attribute.
'useAcceptLanguageHeader' => false,
// If `hideDefaultLocaleInURL` is true, then a url without locale
// is identical with the same url with default locale.
// For example, if `en` is default locale, then `/en/about` and `/about`
// would be identical.
//
// If in addition the middleware `LaravelLocalizationRedirectFilter` is active, then
// every url with default locale is redirected to url without locale.
// For example, `/en/about` would be redirected to `/about`.
// It is recommended to use `hideDefaultLocaleInURL` only in
// combination with the middleware `LaravelLocalizationRedirectFilter`
// to avoid duplicate content (SEO).
//
// If `useAcceptLanguageHeader` is true, then the first time
// the locale will be determined from browser and redirect to that language.
// After that, `hideDefaultLocaleInURL` behaves as usual.
'hideDefaultLocaleInURL' => true,
// If you want to display the locales in particular order in the language selector you should write the order here.
// CAUTION: Please consider using the appropriate locale code otherwise it will not work
// Example: 'localesOrder' => ['es','en'].
'localesOrder' => ['fr', 'en'],
// If you want to use custom language URL segments like 'at' instead of 'de-AT', you can map them to allow the
// LanguageNegotiator to assign the desired locales based on HTTP Accept Language Header. For example, if you want
// to use 'at' instead of 'de-AT', you would map 'de-AT' to 'at' (ie. ['de-AT' => 'at']).
'localesMapping' => [],
// Locale suffix for LC_TIME and LC_MONETARY
// Defaults to most common ".UTF-8". Set to blank on Windows systems, change to ".utf8" on CentOS and similar.
'utf8suffix' => env('LARAVELLOCALIZATION_UTF8SUFFIX', '.UTF-8'),
// URLs which should not be processed, e.g. '/nova', '/nova/*', '/nova-api/*' or specific application URLs
// Defaults to [].
'urlsIgnored' => ['/skipped'],
'httpMethodsIgnored' => ['POST', 'PUT', 'PATCH', 'DELETE'],
];

138
config/logging.php Normal file
View file

@ -0,0 +1,138 @@
<?php
declare(strict_types=1);
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
use Monolog\Processor\PsrLogMessageProcessor;
return [
/*
*--------------------------------------------------------------------------
* Default Log Channel
*--------------------------------------------------------------------------
*
* This option defines the default log channel that is utilized to write
* messages to your logs. The value provided here should match one of
* the channels present in the list of "channels" configured below.
*
*/
'default' => env('LOG_CHANNEL', 'stack'),
/*
*--------------------------------------------------------------------------
* Deprecations Log Channel
*--------------------------------------------------------------------------
*
* This option controls the log channel that should be used to log warnings
* regarding deprecated PHP and library features. This allows you to get
* your application ready for upcoming major versions of dependencies.
*
*/
'deprecations' => [
'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
'trace' => env('LOG_DEPRECATIONS_TRACE', false),
],
/*
*--------------------------------------------------------------------------
* Log Channels
*--------------------------------------------------------------------------
*
* Here you may configure the log channels for your application. Laravel
* utilizes the Monolog PHP logging library, which includes a variety
* of powerful log handlers and formatters that you're free to use.
*
* Available drivers: "single", "daily", "slack", "syslog",
* "errorlog", "monolog", "custom", "stack"
*
*/
'channels' => [
'deprecations' => [
'driver' => 'single',
'path' => storage_path('logs/deprecations.log'),
],
'stack' => [
'driver' => 'stack',
'channels' => explode(',', (string) env('LOG_STACK', 'single')),
'ignore_exceptions' => false,
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
'days' => env('LOG_DAILY_DAYS', 14),
'replace_placeholders' => true,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => env('LOG_SLACK_USERNAME', 'Laravel Log'),
'emoji' => env('LOG_SLACK_EMOJI', ':boom:'),
'level' => env('LOG_LEVEL', 'critical'),
'replace_placeholders' => true,
],
'papertrail' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class),
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
'connectionString' => 'tls://' . env('PAPERTRAIL_URL') . ':' . env('PAPERTRAIL_PORT'),
],
'processors' => [PsrLogMessageProcessor::class],
],
'stderr' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'handler_with' => [
'stream' => 'php://stderr',
],
'formatter' => env('LOG_STDERR_FORMATTER'),
'processors' => [PsrLogMessageProcessor::class],
],
'syslog' => [
'driver' => 'syslog',
'level' => env('LOG_LEVEL', 'debug'),
'facility' => env('LOG_SYSLOG_FACILITY', LOG_USER),
'replace_placeholders' => true,
],
'errorlog' => [
'driver' => 'errorlog',
'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
],
'null' => [
'driver' => 'monolog',
'handler' => NullHandler::class,
],
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
],
];

119
config/mail.php Normal file
View file

@ -0,0 +1,119 @@
<?php
declare(strict_types=1);
return [
/*
*--------------------------------------------------------------------------
* Default Mailer
*--------------------------------------------------------------------------
*
* This option controls the default mailer that is used to send all email
* messages unless another mailer is explicitly specified when sending
* the message. All additional mailers can be configured within the
* "mailers" array. Examples of each type of mailer are provided.
*
*/
'default' => env('MAIL_MAILER', 'smtp'),
/*
*--------------------------------------------------------------------------
* Mailer Configurations
*--------------------------------------------------------------------------
*
* Here you may configure all of the mailers used by your application plus
* their respective settings. Several examples have been configured for
* you and you are free to add your own as your application requires.
*
* Laravel supports a variety of mail "transport" drivers that can be used
* when delivering an email. You may specify which one you're using for
* your mailers below. You may also add additional mailers if needed.
*
* Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
* "postmark", "resend", "log", "array",
* "failover", "roundrobin"
*
*/
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME'),
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', '127.0.0.1'),
'port' => env('MAIL_PORT', 2525),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env(
'MAIL_EHLO_DOMAIN',
parse_url((string) env('APP_URL', 'http://localhost'), PHP_URL_HOST)
),
],
'ses' => [
'transport' => 'ses',
],
'postmark' => [
'transport' => 'postmark',
],
'resend' => [
'transport' => 'resend',
],
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
],
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
'array' => [
'transport' => 'array',
],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
'retry_after' => 60,
],
'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
'retry_after' => 60,
],
],
/*
*--------------------------------------------------------------------------
* Global "From" Address
*--------------------------------------------------------------------------
*
* You may wish for all emails sent by your application to be sent from
* the same address. Here you may specify a name and address that is
* used globally for all emails that are sent by your application.
*
*/
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
];

129
config/queue.php Normal file
View file

@ -0,0 +1,129 @@
<?php
declare(strict_types=1);
return [
/*
*--------------------------------------------------------------------------
* Default Queue Connection Name
*--------------------------------------------------------------------------
*
* Laravel's queue supports a variety of backends via a single, unified
* API, giving you convenient access to each backend using identical
* syntax for each. The default queue connection is defined below.
*
*/
'default' => env('QUEUE_CONNECTION', 'database'),
/*
*--------------------------------------------------------------------------
* Queue Connections
*--------------------------------------------------------------------------
*
* Here you may configure the connection options for every queue backend
* used by your application. An example configuration is provided for
* each backend supported by Laravel. You're also free to add more.
*
* Drivers: "sync", "database", "beanstalkd", "sqs", "redis",
* "deferred", "background", "failover", "null"
*
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'connection' => env('DB_QUEUE_CONNECTION'),
'table' => env('DB_QUEUE_TABLE', 'jobs'),
'queue' => env('DB_QUEUE', 'default'),
'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90),
'after_commit' => false,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'),
'queue' => env('BEANSTALKD_QUEUE', 'default'),
'retry_after' => (int) env('BEANSTALKD_QUEUE_RETRY_AFTER', 90),
'block_for' => 0,
'after_commit' => false,
],
'sqs' => [
'driver' => 'sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'default'),
'suffix' => env('SQS_SUFFIX'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'after_commit' => false,
],
'redis' => [
'driver' => 'redis',
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90),
'block_for' => null,
'after_commit' => false,
],
'deferred' => [
'driver' => 'deferred',
],
'background' => [
'driver' => 'background',
],
'failover' => [
'driver' => 'failover',
'connections' => [
'database',
'deferred',
],
],
],
/*
*--------------------------------------------------------------------------
* Job Batching
*--------------------------------------------------------------------------
*
* The following options configure the database and table that store job
* batching information. These options can be updated to any database
* connection and table which has been defined by your application.
*
*/
'batching' => [
'database' => env('DB_CONNECTION', 'sqlite'),
'table' => 'job_batches',
],
/*
*--------------------------------------------------------------------------
* Failed Queue Jobs
*--------------------------------------------------------------------------
*
* These options configure the behavior of failed queue job logging so you
* can control how and where failed jobs are stored. Laravel ships with
* support for storing failed jobs in a simple file or in a database.
*
* Supported drivers: "database-uuids", "dynamodb", "file", "null"
*
*/
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'sqlite'),
'table' => 'failed_jobs',
],
];

19
config/robots-txt.php Normal file
View file

@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
return [
'environments' => [
'developement' => [
'paths' => [
'*' => [
'disallow' => [],
'allow' => []
],
],
'sitemaps' => [
'sitemap.xml'
]
]
]
];

65
config/sentry.php Normal file
View file

@ -0,0 +1,65 @@
<?php
declare(strict_types=1);
use Uwil\LaravelCommon\Helpers\ExceptionsHelper;
return [
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
// The release version of your application.
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')).
'release' => env('SENTRY_RELEASE'),
// When left empty or `null` the Laravel environment will be used.
'environment' => env('SENTRY_ENVIRONMENT'),
'breadcrumbs' => [
// Capture Laravel logs in breadcrumbs.
'logs' => true,
// Capture SQL queries in breadcrumbs.
'sql_queries' => true,
// Capture bindings on SQL queries logged in breadcrumbs.
'sql_bindings' => false,
// Capture queue job information in breadcrumbs.
'queue_info' => true,
// Capture command information in breadcrumbs.
'command_info' => true,
],
'tracing' => [
// Trace queue jobs as their own transactions.
'queue_job_transactions' => env('SENTRY_TRACE_QUEUE_ENABLED', false),
// Capture queue jobs as spans when executed on the sync driver.
'queue_jobs' => true,
// Capture SQL queries as spans.
'sql_queries' => true,
// Try to find out where the SQL query originated from and add it to the query spans.
'sql_origin' => true,
// Capture views as spans.
'views' => true,
// Indicates if the tracing integrations supplied by Sentry should be loaded.
'default_integrations' => true,
// Indicates that requests without a matching route should be traced.
'missing_routes' => false,
],
// See: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send-default-pii.
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),
// See: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate.
'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_TRACES_SAMPLE_RATE'),
'before_send' => ExceptionsHelper::sentryEventHandler(...),
];

39
config/services.php Normal file
View file

@ -0,0 +1,39 @@
<?php
declare(strict_types=1);
return [
/*
*--------------------------------------------------------------------------
* Third Party Services
*--------------------------------------------------------------------------
*
* This file is for storing the credentials for third party services such
* as Mailgun, Postmark, AWS and more. This file provides the de facto
* location for this type of information, allowing packages to have
* a conventional file to locate the various service credentials.
*
*/
'postmark' => [
'key' => env('POSTMARK_API_KEY'),
],
'resend' => [
'key' => env('RESEND_API_KEY'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
];

219
config/session.php Normal file
View file

@ -0,0 +1,219 @@
<?php
declare(strict_types=1);
use Illuminate\Support\Str;
return [
/*
*--------------------------------------------------------------------------
* Default Session Driver
*--------------------------------------------------------------------------
*
* This option determines the default session driver that is utilized for
* incoming requests. Laravel supports a variety of storage options to
* persist session data. Database storage is a great default choice.
*
* Supported: "file", "cookie", "database", "memcached",
* "redis", "dynamodb", "array"
*
*/
'driver' => env('SESSION_DRIVER', 'file'),
/*
*--------------------------------------------------------------------------
* Session Lifetime
*--------------------------------------------------------------------------
*
* Here you may specify the number of minutes that you wish the session
* to be allowed to remain idle before it expires. If you want them
* to expire immediately when the browser is closed then you may
* indicate that via the expire_on_close configuration option.
*
*/
'lifetime' => (int) env('SESSION_LIFETIME', 120),
'expire_on_close' => env('SESSION_EXPIRE_ON_CLOSE', false),
/*
*--------------------------------------------------------------------------
* Session Encryption
*--------------------------------------------------------------------------
*
* This option allows you to easily specify that all of your session data
* should be encrypted before it's stored. All encryption is performed
* automatically by Laravel and you may use the session like normal.
*
*/
'encrypt' => env('SESSION_ENCRYPT', false),
/*
*--------------------------------------------------------------------------
* Session File Location
*--------------------------------------------------------------------------
*
* When utilizing the "file" session driver, the session files are placed
* on disk. The default storage location is defined here; however, you
* are free to provide another location where they should be stored.
*
*/
'files' => storage_path('framework/sessions'),
/*
*--------------------------------------------------------------------------
* Session Database Connection
*--------------------------------------------------------------------------
*
* When using the "database" or "redis" session drivers, you may specify a
* connection that should be used to manage these sessions. This should
* correspond to a connection in your database configuration options.
*
*/
'connection' => env('SESSION_CONNECTION'),
/*
*--------------------------------------------------------------------------
* Session Database Table
*--------------------------------------------------------------------------
*
* When using the "database" session driver, you may specify the table to
* be used to store sessions. Of course, a sensible default is defined
* for you; however, you're welcome to change this to another table.
*
*/
'table' => env('SESSION_TABLE', 'sessions'),
/*
*--------------------------------------------------------------------------
* Session Cache Store
*--------------------------------------------------------------------------
*
* When using one of the framework's cache driven session backends, you may
* define the cache store which should be used to store the session data
* between requests. This must match one of your defined cache stores.
*
* Affects: "dynamodb", "memcached", "redis"
*
*/
'store' => env('SESSION_STORE'),
/*
*--------------------------------------------------------------------------
* Session Sweeping Lottery
*--------------------------------------------------------------------------
*
* Some session drivers must manually sweep their storage location to get
* rid of old sessions from storage. Here are the chances that it will
* happen on a given request. By default, the odds are 2 out of 100.
*
*/
'lottery' => [2, 100],
/*
*--------------------------------------------------------------------------
* Session Cookie Name
*--------------------------------------------------------------------------
*
* Here you may change the name of the session cookie that is created by
* the framework. Typically, you should not need to change this value
* since doing so does not grant a meaningful security improvement.
*
*/
'cookie' => env(
'SESSION_COOKIE',
Str::slug((string) env('APP_NAME', 'laravel')) . '-session'
),
/*
*--------------------------------------------------------------------------
* Session Cookie Path
*--------------------------------------------------------------------------
*
* The session cookie path determines the path for which the cookie will
* be regarded as available. Typically, this will be the root path of
* your application, but you're free to change this when necessary.
*
*/
'path' => env('SESSION_PATH', '/'),
/*
*--------------------------------------------------------------------------
* Session Cookie Domain
*--------------------------------------------------------------------------
*
* This value determines the domain and subdomains the session cookie is
* available to. By default, the cookie will be available to the root
* domain without subdomains. Typically, this shouldn't be changed.
*
*/
'domain' => env('SESSION_DOMAIN'),
/*
*--------------------------------------------------------------------------
* HTTPS Only Cookies
*--------------------------------------------------------------------------
*
* By setting this option to true, session cookies will only be sent back
* to the server if the browser has a HTTPS connection. This will keep
* the cookie from being sent to you when it can't be done securely.
*
*/
'secure' => env('SESSION_SECURE_COOKIE'),
/*
*--------------------------------------------------------------------------
* HTTP Access Only
*--------------------------------------------------------------------------
*
* Setting this value to true will prevent JavaScript from accessing the
* value of the cookie and the cookie will only be accessible through
* the HTTP protocol. It's unlikely you should disable this option.
*
*/
'http_only' => env('SESSION_HTTP_ONLY', true),
/*
*--------------------------------------------------------------------------
* Same-Site Cookies
*--------------------------------------------------------------------------
*
* This option determines how your cookies behave when cross-site requests
* take place, and can be used to mitigate CSRF attacks. By default, we
* will set this value to "lax" to permit secure cross-site requests.
*
* See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
*
* Supported: "lax", "strict", "none", null
*
*/
'same_site' => env('SESSION_SAME_SITE', 'lax'),
/*
*--------------------------------------------------------------------------
* Partitioned Cookies
*--------------------------------------------------------------------------
*
* Setting this value to true will tie the cookie to the top-level site for
* a cross-site context. Partitioned cookies are accepted by the browser
* when flagged "secure" and the Same-Site attribute is set to "none".
*
*/
'partitioned' => env('SESSION_PARTITIONED_COOKIE', false),
];

View file

@ -0,0 +1,69 @@
<?php
declare(strict_types=1);
return [
/**
* Single route names
*
* Ex:
*
* 'singlePages' => [
* 'homepage',
* ],
*/
'singlePages' => [
'front.homepage',
'mentions-legales',
'charte-confidentialite'
],
/**
* Model namespaces with filters
*
* Ex: (modelFilters & relationFilters are not necessaries)
* 'cruds' => [
* [
* 'model' => 'App\Models\Product',
* 'modelFilters' => [
* ['published', '=', true]
* ],
* 'relationFilters' => [
* 'range' => fn(Builder $q) => $q->where('status', true),
* ],
* 'allowNullRelations' => ['range'],
* ],
* [
* 'model' => 'App\Models\Article',
* ]
* ],
*/
'cruds' => [],
/**
* Enable or disable schedule for the job
* If set to true the sitemap generator will be run
* using the 'cron' instruction
*/
'schedule' => true,
/**
* If you want to set specific
* instruction for when to schedule job
* you can set this with a cron instruction
* You can generate one using https://crontab.guru/
*
* schedule must be set to true
*
* Default is every day at 15:45
*/
'cron' => '45 15 * * *',
/**
* All supported locales in the project.
* When used with mcamara/laravel-localization, you can get the values from the package config :
* 'supported_locales' => array_keys(config('laravellocalization.supportedLocales', ['fr' => "Fr"]))
*/
'supported_locales' => array_keys(config('laravellocalization.supportedLocales', ['fr' => "Fr"]))
];

View file

View file

View file

View file

@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Uwil\LaravelCommon\Enums\SeederCategoryEnum;
use Uwil\LaravelCommon\Support\SeederRegistry;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
SeederRegistry::runAll(SeederCategoryEnum::classic);
}
}

View file

View file

@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Uwil\LaravelCommon\Enums\SeederCategoryEnum;
use Uwil\LaravelCommon\Support\SeederRegistry;
class MandatorySeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
SeederRegistry::runAll(SeederCategoryEnum::mandatory);
}
}

118
eslint.config.js Normal file
View file

@ -0,0 +1,118 @@
import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
import importX from "eslint-plugin-import-x";
import jsxA11y from "eslint-plugin-jsx-a11y";
import prettier from "eslint-plugin-prettier/recommended";
import react from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";
import globals from "globals";
import tseslint from "typescript-eslint";
export default tseslint.config(
{
files: ["resources/ts/**/*.{ts,tsx,js,jsx}"],
},
{
ignores: [
"node_modules/**",
"public/**",
"vendor/**",
"packages/**",
"resources/ts/components/ui/**",
],
},
tseslint.configs.recommended,
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
{
languageOptions: {
globals: {
...globals.browser,
...globals.es2021,
...globals.node,
},
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
ecmaFeatures: { jsx: true },
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
{
...react.configs.flat.recommended,
...react.configs.flat["jsx-runtime"],
settings: {
react: { version: "19.0" },
},
rules: {
...react.configs.flat.recommended.rules,
...react.configs.flat["jsx-runtime"].rules,
"react/jsx-filename-extension": "off",
"react/prop-types": "off",
"react/require-default-props": "off",
},
},
reactHooks.configs.flat.recommended,
{
plugins: { "jsx-a11y": jsxA11y },
rules: { ...jsxA11y.configs.recommended.rules },
},
{
plugins: { "import-x": importX },
settings: {
"import-x/resolver-next": [
createTypeScriptImportResolver({
project: "./tsconfig.json",
}),
],
},
rules: {
...importX.configs.recommended.rules,
...importX.configs.typescript.rules,
"import-x/extensions": [
"error",
"ignorePackages",
{ ts: "never", tsx: "never", js: "never", jsx: "never" },
],
"import-x/order": [
"error",
{
groups: [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
],
"newlines-between": "always",
alphabetize: { order: "asc", caseInsensitive: true },
},
],
},
},
{
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
],
"@typescript-eslint/consistent-type-imports": [
"error",
{ prefer: "type-imports", fixStyle: "inline-type-imports" },
],
"@typescript-eslint/no-explicit-any": "warn",
},
},
{
rules: {
"no-console": ["warn", { allow: ["warn", "error"] }],
},
},
{
files: ["*.js", "*.ts", "*.cjs", "*.mjs"],
extends: [tseslint.configs.disableTypeChecked],
},
prettier,
);

62
lang/de/errors.php Normal file
View file

@ -0,0 +1,62 @@
<?php
declare(strict_types=1);
return [
'400' => [
'title' => 'Ungültige Anfrage',
'description' => 'Der Server konnte Ihre Anfrage nicht verstehen. Bitte überprüfen
Sie sie und versuchen Sie es erneut.',
],
'401' => [
'title' => 'Nicht autorisiert',
'description' => 'Sie müssen angemeldet sein, um auf diese Seite zuzugreifen.',
],
'403' => [
'title' => 'Zugriff verweigert',
'description' => 'Entschuldigung, Sie haben keine Berechtigung, auf diese Seite zuzugreifen.',
],
'404' => [
'title' => 'Seite nicht gefunden',
'description' => 'Entschuldigung, die von Ihnen gesuchte Seite konnte nicht gefunden werden.',
],
'405' => [
'title' => 'Methode nicht erlaubt',
'description' => 'Die für diese Anfrage verwendete Methode ist nicht erlaubt.',
],
'408' => [
'title' => 'Zeitüberschreitung',
'description' => 'Der Server hat zu lange gebraucht, um zu antworten. Bitte versuchen Sie es erneut.',
],
'419' => [
'title' => 'Seite abgelaufen',
'description' => 'Ihre Sitzung ist abgelaufen. Bitte aktualisieren Sie die Seite und versuchen Sie es erneut.',
],
'422' => [
'title' => 'Nicht verarbeitbare Entität',
'description' => 'Die bereitgestellten Daten sind ungültig. Bitte überprüfen Sie sie und
versuchen Sie es erneut.',
],
'429' => [
'title' => 'Zu viele Anfragen',
'description' => 'Sie haben zu viele Anfragen in kurzer Zeit gesendet. Bitte warten Sie
einen Moment und versuchen Sie es erneut.',
],
'500' => [
'title' => 'Serverfehler',
'description' => 'Ups, es ist ein Fehler auf unseren Servern aufgetreten.',
],
'502' => [
'title' => 'Fehlerhafte Gateway-Antwort',
'description' => 'Der Server hat eine ungültige Antwort erhalten. Bitte versuchen Sie es später erneut.',
],
'503' => [
'title' => 'Dienst nicht verfügbar',
'description' => 'Entschuldigung, wir führen gerade Wartungsarbeiten durch. Bitte versuchen
Sie es später erneut.',
],
'504' => [
'title' => 'Gateway-Zeitüberschreitung',
'description' => 'Der Server hat zu lange gebraucht, um zu antworten. Bitte versuchen Sie es später erneut.',
],
];

18
lang/de/footer.php Normal file
View file

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
return [
'contactSlug' => 'Kontakt',
'title' => 'kontakt',
'contactText' => 'Bei Fragen kontaktieren Sie uns unter​',
'email' => 'info@qualimaine.com',
'company' => 'SYVOL QUALIMAINE',
'address' => 'La Cour du Bois',
'postalCity' => '72550 COULANS SUR GÉE',
'country' => 'FRANCE',
'disclaimer' => 'QUALIMAINE ist eine gemeinsam getragene Organisation, die Zuchtprogramme mit festgelegten und kontrollierten Anfo rderungen durchführt.',
'legalNotice' => 'Impressum und AGB',
'privacyPolicy' => 'Datenschutzerklärung',
'cookieManagement' => 'Cookie-Einstellungen',
];

178
lang/de/front.php Normal file
View file

@ -0,0 +1,178 @@
<?php
declare(strict_types=1);
return [
'back_to_your_website' => 'Zurück zur Startseite',
'seo_title' => 'QUALIMAINE | Geflügelprogramm für Hähnchen, Puten und Enten',
'seo_description' => 'Entdecken Sie QUALIMAINE – ein Geflügelprogramm für Hähnchen, Puten und Enten mit definierten Tierwohlkriterien, unabhängigen Kontrollen und transparenter Herkunft.',
'logo_title' => 'Logo QUALIMAINE',
'logo_alt' => 'QUALIMAINE | Geflügelprogramm für Hähnchen, Puten und Enten',
'menus' => [
'about_us' => 'Wer sind wir ?',
'engagements' => 'Engagements',
'normes' => 'Aufzuchtstandards',
'contact' => 'Kontakt',
],
'slides' => [
'next' => 'Weiter',
'previous' => 'Zurück'
],
'header' => [
'heroImg' => [
'title' => 'Geflügelzüchter',
'alt' => 'Ein Geflügelzüchter geht mit Geflügel über ein Feld'
],
'title' => "QUALIMAINE konkrete Verpflichtungen\nfür das Wohl des Geflügels",
'subtitle' => "QUALIMAINE fördert das Tierwohl in der Aufzucht, arbeitet mit engagierten Landwirten zusammen und lässt die Haltungsbedingungen von einer unabhängigen Stelle kontrollieren und zertifizieren.",
'cta_label' => 'Unsere Verpflichtungen entdecken'
],
'whoAreWeSection' => [
'slug' => 'wer-wir-sind',
'title' => 'wer wir sind',
'whoAreWeImg' => [
'title' => 'Hähnchenfreilandhaltung',
'alt' => 'Hähnchen, die auf den bewaldeten Auslauf gehen'
],
'text_section_1' => 'Im Herzen des historischen Maine-Gebiets, am Zusammenfluss der drei
Flüsse Sarthe, Mayenne und Loire, wurde QUALIMAINE im Jahr 1959 gegründet.
QUALIMAINE ist tief in diese Region verwurzelt und steht für
Geflügelaufzuchtprogramme. Diese natürliche Umgebung, geprägt von Wasser, Wiesen
und Heckenlandschaften, bildet seit jeher ein günstiges Umfeld für eine respektvolle
und nachhaltige Aufzucht.',
'text_section_2' => 'QUALIMAINE wird von engagierten Züchtern getragen und fördert naturnahe
Aufzuchtmethoden: grasreiche, von Bäume n gesäumte Ausläufe, in denen sich das
Geflügel in einem natürlichen Gleichgewicht zwischen Tierwohl und Beachtung der
natürlichen Zyklen bewegt.',
'features' => [
'one' => [
'title' => 'Transparenz',
'text' => "QUALIMAINE setzt auf transparente Prozesse entlang der gesamten Wertschöpfungskette. Herkunft, Haltungsbedingungen und Produktion sind klar dokumentiert und nachvollziehbar",
],
'two' => [
'title' => 'Tierwo hl',
'text' => 'Das Wohl des Geflügels steht im Herzen unseres Programms. Die Aufzucht erfolgt unter Berücksichtigung der natürlichen Bedürfnisse der Tiere und unter Einhaltung aller geltenden gesetzlichen Bestimmungen.',
],
'three' => [
'title' => 'Qualität',
'text' => 'QUALIMAINE steht für hohe Standards in der Geflügelproduktion. Durch regelmäßige Kontrollen und klar definierte Anforderungen garantieren wir eine gleichbleibend hohe Produktqualität.',
]
],
],
'certifications' => [
'title' => 'Offizielle Zertifizierungen',
'subtitle' => 'Jedem Aufzuchtprogramm ordnet QUALIMAINE mehrere offizielle Zertifizierungen zu – für Qualität, Herkunft, Produktionsweise, Konformität, Tierwohl oder Umweltschutz.',
'quality' => [
'text' => 'AUSGEZEICHNETE QUALITÄT',
'title' => 'Label Rouge',
'alt' => 'Logo Label Rouge'
],
'origin' => [
'text' => 'GEOGRAFISCHE HERKUNFTSANGABE',
'title' => 'Geografische Herkunftsangabe',
'alt' => 'Logo geografische Herkunftsangabe'
],
'organic' => [
'text' => 'BIOLOGISCHE LANDWIRTSCHAFT',
'title' => 'Biologische Landwirtschaft',
'alt' => 'Logo biologische Landwirtschaft'
],
'product_cerf' => [
'text' => 'PRODUKTKONFORMITÄTSZERTIFIZIERUNG',
'title' => 'Produktkonformitätszertifizierung',
'alt' => 'Logo Produktkonformitätszertifizierung'
],
'animalWelfare' => [
'text' => 'TIERWOHL',
'title' => 'Tierwohl',
'alt' => 'Logo tierwohl'
],
'environmentalImpact' => [
'text' => 'UMWELTAUSWIRKU NGEN',
'title' => 'Umweltauswirkungen',
'alt' => 'Logo umweltauswirkungen'
]
],
'controls' => [
'certipaq' => [
'title' => 'Certipaq',
'alt' => 'Logo Certipaq'
],
'euFlag' => [
'title' => 'Europäische Union',
'alt' => 'Flagge der Europäischen Union'
],
'independentControls' => [
'title' => 'Unabhängige Kontrollen',
'text1' => 'Die externen Kontrollen der QUALIMAINE-Aufzuchtprogramme werden von Certipaq gemäß den in den',
'text1_1' => 'vorgegebenen Kontrollplänen durchgeführt',
'chargesLabel' => 'Lastenheften',
'chargesUrl' => '/de#aufzuchtstandards',
'text2' => 'Certipaq ist eine gemäß DIN EN ISO/IEC 17065 akkreditierte Zertifizierungsstelle.',
'text3' => 'Weitere Informationen unter',
],
'loyalty' => [
'title' => 'Verlässlichkeit der Verpflichtungen',
'text1' => 'Die europäische Richtlinie 2024/825 EmpCo schützt die Verbraucher vor irreführenden Nachhaltigkeitsaussagen und legt Anfo rderungen an Zertifizierungslabels fest.',
'text2' => 'QUALIMAINE stützt sich seit der Gründung im Jahr 1959 auf offizielle Zertifizierungen und wirkt an deren Entwicklung mit. Selbstverständlich setzt QUALIMAINE diese Richtlinie für seine Verpflichtungen um.',
'text3' => 'Die',
'directiveLabel' => 'EmpCo (UE 2024/825) Richtlinie einsehen',
'directiveUrl' => 'https://eur-lex.europa.eu/legal-content/de/TXT/HTML/?uri=OJ:L_202400825',
],
],
'engagements' => [
'slug' => 'engagements',
'title' => 'engagements',
'subtitle' => 'Aufzuchtprogramme, die auf einer gemeinsamen Grundlage für das Wohl des Geflügels aufbauen.',
'livingSpace' => [
'title' => 'Lebensraum',
'text' => 'Das Geflügel profitiert von einer reduzierten Besatzdichte im Stall und hat grundsächlich Zugang ins Freie. So wird sein natürliches Verhalten gefördert.',
'imgTitle' => 'Züchter im Hühnerstall',
'imgAlt' => 'Freilandgeflügelzüchter im Hühnerstall'
],
'enrichments' => [
'title' => 'Anreicherungen',
'text' => 'Materialien zum Picken und Erkunden sowie Sitzstangen werden bereitgestellt, um die Aktivität des Geflügels anzuregen.',
'imgAlt' => 'Geflügel, das im Stall eine Sitzstange nutzt',
'imgTitle' => 'Vogelsitz'
],
'feeding' => [
'title' => 'Fütterung',
'text' => 'Das Geflügel wird hauptsächlich mit Getreide gefüttert. Die Fütterung wird durch weitere pflanzliche Bestandteile und Mineralien ergänzt. Keine tierischen Bestandteile.​',
'imgAlt' => 'Geflügelfutter auf der Basis von Weizen, Vitaminen und Mineralstoffen',
'imgTitle' => 'Geflügelfutter'
],
'monitoring' => [
'title' => 'Verstärkte Überwachung',
'text' => 'Die Züchter überwachen täglich das Geflügel (Tränke, Fütterung, Gesundheit) sowie dessen Umgebung.',
'imgTitle' => 'Verstärkte Überwachung von Geflügel',
'imgAlt' => 'Der Züchter überwacht den Ausgang der Hähchen ins Freie, wenn die Klappen geöffnet werden'
],
'trainingFarmers' => [
'title' => 'Ausbildung der Züchter',
'text' => 'Alle Züchter, die an einem Aufzuchtprogramm teilnehmen, werden in guter Praxis für das Tierwohl geschult.',
'imgTitle' => 'Entenzüchter',
'imgAlt' => 'Enten im Freien mit ihrem Züchter'
],
'control' => [
'title' => 'Unabhängige Kontrollen',
'text' => 'Die Einhaltung jedes Kriteriums wird in den Betrieben von Prüfern der unabhängigen Zertifizierungsstelle',
'linkLabel' => 'Certipaq',
'text_after' => 'überprüft.',
'imgTitle' => 'Unabhängige Kontrollen',
'imgAlt' => 'Certipaq kontrolliert die Zuchtbetriebe, um die Einhaltung des Anforderungskatalogs zu bestätigen'
]
],
'pages' => [
'legalNotice' => [
'pageTitle' => 'Impressum und Allgemeine Nutzungsbedingungen der Website QUALIMAINE',
'seoTitle' => 'Impressum | QUALIMAINE',
'seoDesc' => 'Lesen Sie das Impressum von QUALIMAINE mit Informationen zum Herausgeber, Hosting, geistigen Eigentum und den rechtlichen Verantwortlichkeiten der Website.'
],
'privacyPolicy' => [
'pageTitle' => 'Datenschutzerklärung',
'seoTitle' => 'Datenschutzerklärung | Datenschutz | QUALIMAINE',
'seoDesc' => 'Erfahren Sie, wie QUALIMAINE Ihre personenbezogenen Daten erhebt, verarbeitet, schützt und speichert – gemäß den geltenden Datenschutzvorschriften.'
],
]
];

70
lang/de/norms.php Normal file
View file

@ -0,0 +1,70 @@
<?php
declare(strict_types=1);
return [
'slug' => 'aufzuchtstandards',
'title' => 'AUFZUCHTSTANDARDS',
'subtitle' => 'Die wichtigsten Merkmale der Geflügelaufzucht.',
'labels' => [
'livingSpace' => 'Lebensraum',
'enrichments' => 'Anreicherungen',
'outdoorAccess' => 'Auslauf im Freien',
'feeding' => 'Fütterung',
'rearingDuration' => 'Aufzuchtdauer',
'operation' => 'Betrieb',
'externalControls' => 'Externe Kontrollen',
],
'chicken' => [
'title' => 'HÄHNCHEN',
'imgAlt' => 'Freilandhähnchen aus Stallhaltung mit Zugang ins Freie',
'imgTitle' => 'Freilandhähnchen',
'downloadLabel' => 'Anforderungskatalog HÄHNCHEN herunterladen',
'texts' => [
'livingSpace' => 'max. 27,5 kg/m² im Stall​',
'enrichments' => 'Strohballen, Sitzstangen und Pickobjekte​',
'outdoorAccess' => 'Zugang zu einem Auslauf von mindestens 1 m² pro Tier während mindestens der Hälfte ihres Lebens',
'feeding' => 'ohne GVO, mindestens 70 % lokales Getreide',
'rearingDuration' => 'mindestens 56 Tage​',
'operation' => 'Ställe auf Familienbetrieben',
'externalControls' => 'durchgeführt von einer unabhängigen, nach ISO/IEC 17065 akkreditierten Zertifizierungsstelle',
],
],
'turkey' => [
'title' => 'pute',
'imgAlt' => 'Freilandpute aus Stallhaltung mit Zugang ins Freie',
'imgTitle' => 'Freilandpute',
'downloadLabel' => 'Anforderungskatalog PUTE herunterladen',
'texts' => [
'livingSpace' => 'max. 35 kg/m² in der nutzbaren Fläche',
'enrichments' => 'Strohballen, Sitzstangen und Pickobjekte​',
'outdoorAccess' => 'Zugang zu einem Auslauf von mindestens 4 m² pro Tier während mindestens der Hälfte ihres Lebens',
'feeding' => 'ohne GVO, mindestens 70 % lokales Getreide',
'rearingDuration' => 'mindestens 112 Tagen (Hähne) bzw. 88 Tagen (Hennen) für die Zerlegung und 70 Tage für ganze Puten.',
'operation' => 'Ställe auf Familienbetrieben',
'externalControls' => 'durchgeführt von einer unabhängigen, nach ISO/IEC 17065 akkreditierten Zertifizierungsstelle',
],
],
'duck' => [
'title' => 'ente',
'imgAlt' => 'Freilandente aus Stallhaltung mit Zugang ins Freie',
'imgTitle' => 'Freilandente',
'downloadLabel' => ' Anforderungskatalog ENTE herunterladen',
'texts' => [
'livingSpace' => 'max. 25 kg/m² im Stall​',
'enrichments' => 'Strohballen, Wasserstellen und Pickobjekte​',
'outdoorAccess' => 'Zugang zu einem Auslauf von mindestens 2 m² pro Tier während mindestens der Hälfte ihres Lebens​',
'feeding' => 'ohne GVO, mindestens 70 % lokales Getreide​',
'rearingDuration' => 'mindestens 49 Tage​',
'operation' => 'Ställe auf Familienbetrieben​',
'externalControls' => 'durchgeführt von einer unabhängigen, nach ISO/IEC 17065 akkreditierten Zertifizierungsstelle',
],
],
'title_2' =>' Teilnahmebedingungen',
'subtitle_2' => 'Unsere gesamten Teilnahmebedingungen können Sie hier ausführlich nachlesen',
'cta_label' => 'teilnahmebedingungen',
];

8
lang/de/routes.php Normal file
View file

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
return [
'mentions-legales' => 'impressum-und-AGB',
'charte-confidentialite' => 'datenschutzrichtlinie',
];

58
lang/fr/errors.php Normal file
View file

@ -0,0 +1,58 @@
<?php
declare(strict_types=1);
return [
'400' => [
'title' => 'Requête invalide',
'description' => 'Le serveur n’a pas pu comprendre votre requête. Veuillez vérifier et réessayer.',
],
'401' => [
'title' => 'Non autorisé',
'description' => 'Vous devez être connecté pour accéder à cette page.',
],
'403' => [
'title' => 'Accès interdit',
'description' => 'Désolé, vous n’êtes pas autorisé à accéder à cette page.',
],
'404' => [
'title' => 'Page introuvable',
'description' => 'Désolé, la page que vous recherchez est introuvable.',
],
'405' => [
'title' => 'Méthode non autorisée',
'description' => 'La méthode utilisée pour cette requête n’est pas autorisée.',
],
'408' => [
'title' => 'Délai d’attente dépassé',
'description' => 'Le serveur a mis trop de temps à répondre. Veuillez réessayer.',
],
'419' => [
'title' => 'Page expirée',
'description' => 'Votre session a expiré. Veuillez actualiser et réessayer.',
],
'422' => [
'title' => 'Entité non traitable',
'description' => 'Les données fournies ne sont pas valides. Veuillez vérifier et réessayer.',
],
'429' => [
'title' => 'Trop de requêtes',
'description' => 'Vous avez effectué trop de requêtes en peu de temps. Veuillez patienter avant de réessayer.',
],
'500' => [
'title' => 'Erreur serveur',
'description' => 'Oups, une erreur est survenue sur nos serveurs.',
],
'502' => [
'title' => 'Mauvaise passerelle',
'description' => 'Le serveur a reçu une réponse invalide. Veuillez réessayer plus tard.',
],
'503' => [
'title' => 'Service indisponible',
'description' => 'Désolé, nous effectuons une maintenance. Merci de revenir plus tard.',
],
'504' => [
'title' => 'Délai d’attente de la passerelle dépassé',
'description' => 'Le serveur a mis trop de temps à répondre. Veuillez réessayer plus tard.',
],
];

18
lang/fr/footer.php Normal file
View file

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
return [
'contactSlug' => 'contact',
'title' => 'contact',
'contactText' => 'Pour toute question contactez nous sur',
'email' => 'info@qualimaine.com',
'company' => 'SYVOL QUALIMAINE',
'address' => 'La Cour du Bois',
'postalCity' => '72550 COULANS SUR GÉE',
'country' => 'FRANCE',
'disclaimer' => 'QUALIMAINE est une structure collective portant des programmes d’élevage aux exigences définies et contrôlées.',
'legalNotice' => 'Mentions légales & CGU',
'privacyPolicy' => ' Charte de confidentialité ',
'cookieManagement' => 'Gestion des cookies',
];

175
lang/fr/front.php Normal file
View file

@ -0,0 +1,175 @@
<?php
declare(strict_types=1);
return [
'back_to_your_website' => "Revenir à la page d'accueil",
'seo_title' => 'QUALIMAINE | Programme d\'élevage de poulets, dindes et canards',
'seo_description' => 'Depuis 1959, QUALIMAINE rassemble des éleveurs engagés dans une démarche structurée pour le poulet, la dinde et le canard, avec des exigences spécifiques, des contrôles réguliers et une traçabilité renforcée.',
'logo_title' => 'Logo QUALIMAINE',
'logo_alt' => 'QUALIMAINE | Programme d\'élevage de poulets, dindes et canards',
'menus' => [
'about_us' => 'Qui sommes-nous ?',
'engagements' => 'Engagements',
'normes' => 'Normes d\'élevage',
'contact' => 'Contact',
],
'slides' => [
'next' => 'Suivant',
'previous' => 'Précédent'
],
'header' => [
'heroImg' => [
'title' => 'Éleveur de volaille',
'alt' => 'Éleveur de volaille marche dans un champ avec des volailles'
],
'title' => "QUALIMAINE des engagements\nconcrets pour le bien-être des volailles",
'subtitle' => "QUALIMAINE fait progresser le bien-être animal en élevage, implique des\n agriculteurs engagés et soumet les conditions d'élevage au contrôle d'un\n organisme indépendant.",
'cta_label' => 'Découvrir nos engagements'
],
'whoAreWeSection' => [
'slug' => 'qui-sommes-nous',
'title' => 'qui sommes-nous ?',
'whoAreWeImg' => [
'title' => 'Élevage de poulet plein air',
'alt' => 'Poulets sortant à l\'extérieur sur le parcours arboré'
],
'text_section_1' => "Au coeur du bassin historique du Maine, à la confluence des trois rivières
Sarthe, Mayenne et Loir, QUALIMAINE créé en 1959, incarne des programmes d’élevage
de volailles profondément ancré dans son territoire. Ce cadre naturel, façonné par
l’eau, les prairies et les haies bocagères, constitue depuis toujours un environnement
propice à un élevage respectueux et durable.",
'text_section_2' => "Porté par des éleveurs engagés, QUALIMAINE valorise des pratiques au plus près de la
nature : des parcours riches en herbe, bordés d’arbres, où les volailles évoluent dans
un équilibre préservé entre bien-être animal et respect des cycles naturels.",
'features' => [
'one' => [
'title' => 'Transparence',
'text' => "QUALIMAINE mise sur des processus transparents tout au long de la chaîne de valeur. L'origine, les conditions d'élevage et la production sont clairement documentées et vérifiables.",
],
'two' => [
'title' => 'Bien-être animal',
'text' => 'Le bien-être des volailles est au cœur de notre programme. Leur élevage est mené en tenant compte de leurs besoins naturels et dans le respect des dispositions légales en vigueur.',
],
'three' => [
'title' => 'Qualité',
'text' => 'QUALIMAINE est synonyme de normes élevées dans la production avicole. Grâce à des contrôles réguliers et à des exigences clairement définies, nous garantissons une haute qualité de produit et constante.',
]
]
],
'certifications' => [
'title' => 'Certifications officielles',
'subtitle' => 'À chaque programme d’élevage, QUALIMAINE associe plusieurs certifications officielles de qualité, d’origine, de mode de production, de conformité, de bien-être animal ou de respect de l’environnement.',
'quality' => [
'text' => 'QUALITÉ SUPÉRIEURE',
'title' => 'Label Rouge',
'alt' => 'Logo Label Rouge'
],
'origin' => [
'text' => 'ORIGINE GÉOGRAPHIQUE',
'title' => 'Indication géographique protégée',
'alt' => 'Logo Indication géographique protégée'
],
'organic' => [
'text' => 'AGRICULTURE BIOLOGIQUE',
'title' => 'Agriculture biologique',
'alt' => 'Logo Agriculture biologique'
],
'product_cerf' => [
'text' => 'CONFORMITÉ CERTIFIÉE',
'title' => 'Produit certifié',
'alt' => 'Logo Produit certifié'
],
'animalWelfare' => [
'text' => 'Bien-être animal',
'title' => 'Bien-être animal',
'alt' => 'Logo Bien-être animal'
],
'environmentalImpact' => [
'text' => 'IMPACT ENVIRONNEMENTAL',
'title' => 'Planet score ',
'alt' => 'Logo planet score'
]
],
'controls' => [
'certipaq' => [
'title' => 'Certipaq',
'alt' => 'Logo Certipaq'
],
'euFlag' => [
'title' => 'Union Européenne',
'alt' => 'Drapeau de l\'union Européenne'
],
'independentControls' => [
'title' => 'Contrôles indépendants',
'text1' => 'Certipaq réalise le contrôle externe des programmes d\'élevage QUALIMAINE selon des plans de contrôle associés aux',
'chargesLabel' => 'cahiers des charges',
'chargesUrl' => '/#normes-delevage',
'text2' => 'Certipaq est un organisme accrédité selon la norme ISO/CEI 17065.',
'text3' => 'Plus d\'informations sur',
],
'loyalty' => [
'title' => 'Loyauté des engagements',
'text1' => 'La directive européenne 2024/825 EmpCo protège les consommateurs contre les allégations trompeuses en matière de durabilité et fixe des exigences concernant les labels de certification.',
'text2' => 'Depuis sa création en 1959, QUALIMAINE s\'appuie sur des certifications officielles et participe à leur construction. Il est naturel que QUALIMAINE mette en œuvre cette directive pour ses engagements.',
'text3' => 'Consulter la',
'directiveLabel' => 'directive EmpCo (UE 2024/825)',
'directiveUrl' => ' https://eur-lex.europa.eu/legal-content/FR/TXT/HTML/?uri=OJ:L_202400825',
],
],
'engagements' => [
'slug' => 'engagements',
'title' => 'engagements',
'subtitle' => 'Des programmes d’élevage conçus autour d’un socle commun pour le bien-être des volailles.',
'livingSpace' => [
'title' => 'Espace de vie',
'text' => 'Les volailles bénéficient d\'une densité d\'élevage réduite dans le poulailler et obligatoirement un accès à l’extérieur afin de favoriser leurs comportements naturels.',
'imgTitle' => 'Éleveur en poulailler',
'imgAlt' => 'Éleveur de volailles plein air dans le poulailler'
],
'enrichments' => [
'title' => 'Enrichissements',
'text' => 'Des matériaux à picorer, explorer et des perchoirs sont mis à disposition afin de stimuler l\'activité des volailles.',
'imgAlt' => 'Volailles utilisant un perchoir en bâtiment',
'imgTitle' => 'Perchoir des volailles '
],
'feeding' => [
'title' => 'Alimentation',
'text' => 'Les volailles sont nourries principalement avec des céréales. Leur alimentation est complétée d’autres végétaux et de minéraux. Pas de matières d’origine animale.',
'imgAlt' => 'Alimentation des volailles à base de blé, de vitamines et de minéraux',
'imgTitle' => 'Alimentation des volailles'
],
'monitoring' => [
'title' => 'Surveillance renforcée',
'text' => 'Les éleveurs assurent un suivi quotidien de leurs volailles (abreuvement, alimentation, santé) et de leur environnement.',
'imgTitle' => 'Surveillance renforcée des volailles',
'imgAlt' => 'Éleveur contrôle la sortie en extérieur des poulets lors de l\'ouverture des trappes'
],
'trainingFarmers' => [
'title' => 'Formation des éleveurs',
'text' => 'Tous les éleveurs engagés dans un programme d’élevage sont formés aux bonnes pratiques pour le bien-être animal.',
'imgTitle' => 'Éleveur de canard',
'imgAlt' => 'Canards en extérieur avec leur éleveur'
],
'control' => [
'title' => 'Contrôles indépendants',
'text' => 'Le respect de chaque critère est vérifié en élevage par des contrôleurs',
'linkLabel' => 'Certipaq,',
'text_after' => 'organisme indépendant.',
'imgTitle' => 'Contrôles indépendants',
'imgAlt' => 'Certipaq contrôle les élevages pour certifier le cahier des charges'
]
],
'pages' => [
'legalNotice' => [
'pageTitle' => 'Mentions légales et conditions générales d\'utilisation du site internet QUALIMAINE',
'seoTitle' => 'Mentions légales | QUALIMAINE',
'seoDesc' => 'Consultez les mentions légales du site QUALIMAINE : informations sur l’éditeur, l’hébergement, les droits de propriété intellectuelle et les responsabilités.'
],
'privacyPolicy' => [
'pageTitle' => 'Charte de confidentialité',
'seoTitle' => 'Charte de confidentialité | Protection des données | QUALIMAINE',
'seoDesc' => 'Consultez la charte de confidentialité de QUALIMAINE et découvrez comment vos données personnelles sont collectées, utilisées, protégées et conservées.'
],
]
];

67
lang/fr/norms.php Normal file
View file

@ -0,0 +1,67 @@
<?php
declare(strict_types=1);
return [
'slug' => 'normes-delevage',
'title' => 'Normes d’élevage',
'subtitle' => 'Caractéristiques principales d’élevage des volailles.',
'labels' => [
'livingSpace' => 'Espace de vie',
'enrichments' => 'Enrichissements',
'outdoorAccess' => 'Accès extérieur',
'feeding' => 'Alimentation',
'rearingDuration' => 'Durée d’élevage',
'operation' => 'Exploitation',
'externalControls' => 'Contrôles externes',
],
'chicken' => [
'title' => 'Poulet',
'imgAlt' => 'Poulet plein air élévé en bâtiment avec accès à l\'extérieur',
'imgTitle' => 'Poulet plein air',
'downloadLabel' => 'Télécharger le cahier des charges POULET',
'texts' => [
'livingSpace' => 'max. 27,5 kg/m² dans le poulailler',
'enrichments' => 'bottes de paille, perchoirs et objets à picorer',
'outdoorAccess' => 'accès à un parcours extérieur d’au moins 1m² par volaille pendant au moins la moitié de leur vie',
'feeding' => 'sans OGM, minimum 70% de céréales locales',
'rearingDuration' => '56 jours minimum',
'operation' => 'poulaillers sur des fermes familiales',
'externalControls' => 'réalisés par organisme indépendant accrédité norme ISO/CEI 17065',
],
],
'turkey' => [
'title' => 'Dinde',
'imgAlt' => 'Dindes plein air élevées en bâtiment avec accès à l\'extérieur',
'imgTitle' => 'Dinde plein air',
'downloadLabel' => 'Télécharger le cahier des charges DINDE',
'texts' => [
'livingSpace' => 'max. 35 kg/m² dans le poulailler et courette',
'enrichments' => 'bottes de paille, perchoirs et objets à picorer',
'outdoorAccess' => 'accès à un parcours extérieur d’au moins 4m² par volaille et pendant au moins la moitié de leur vie',
'feeding' => 'sans OGM, minimum 70% de céréales locales',
'rearingDuration' => '88 jours pour les dindes, 112 jours pour les dindons minimum et 70 jours minimum pour les dindes entières',
'operation' => 'poulaillers sur des fermes familiales',
'externalControls' => 'réalisés par organisme indépendant accrédité norme ISO/CEI 17065',
],
],
'duck' => [
'title' => 'Canard',
'imgAlt' => 'Canards plein air en bâtiment avec accès à l\'extérieur',
'imgTitle' => 'Canards plein air',
'downloadLabel' => 'Télécharger le cahier des charges CANARD',
'texts' => [
'livingSpace' => 'max. 25 kg/m² dans le poulailler',
'enrichments' => 'bottes de paille, points d’eau et objets à picorer',
'outdoorAccess' => 'accès à un parcours extérieur d’au moins 2m² par volaille pendant au moins la moitié de leur vie',
'feeding' => 'sans OGM, minimum 70% de céréales locales',
'rearingDuration' => '49 jours minimum',
'operation' => 'poulaillers sur des fermes familiales',
'externalControls' => 'réalisés par organisme indépendant accrédité norme ISO/CEI 17065',
],
]
];

8
lang/fr/routes.php Normal file
View file

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
return [
'mentions-legales' => 'mentions-legales-cgu',
'charte-confidentialite' => 'charte-de-confidentialite',
];

View file

@ -1,3 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ${CI_PROJECT_PATH_SLUG}-config-map
data:
APP_NAME: "${APP_APP_NAME}"
APP_ENV: "${APP_APP_ENV}"
APP_KEY: "${APP_APP_KEY}"
APP_DEBUG: "${APP_APP_DEBUG}"
APP_URL: "https://${APP_DOMAIN}"
LOG_CHANNEL: "k8s"
SENTRY_LARAVEL_DSN: "${APP_SENTRY_LARAVEL_DSN}"
MATOMO_SITE_ID: "${APP_MATOMO_SITE_ID}"
---
apiVersion: apps/v1
kind: Deployment
metadata:
@ -12,23 +26,83 @@ spec:
labels:
app: ${CI_PROJECT_PATH_SLUG}-app
spec:
securityContext:
runAsUser: 82
runAsGroup: 82
fsGroup: 82
fsGroupChangePolicy: OnRootMismatch
volumes:
- name: apache-run
emptyDir: {}
- name: laravel-cache
emptyDir: {}
containers:
- name: ${CI_PROJECT_PATH_SLUG}-container
image: $IMAGE_TAG
resources:
limits:
cpu: "${APP_CI_CPU_LIMIT}"
memory: "${APP_CI_MEMORY_LIMIT}"
requests:
cpu: "${APP_CI_CPU_REQUEST}"
memory: "${APP_CI_MEMORY_REQUEST}"
- name: ${CI_PROJECT_PATH_SLUG}-container
image: $IMAGE_TAG
env:
- name: XDG_CONFIG_HOME # For tinker
value: /tmp
envFrom:
- configMapRef:
name: ${CI_PROJECT_PATH_SLUG}-config-map
volumeMounts:
- name: apache-run
mountPath: /var/run
- name: laravel-cache
mountPath: /app/srcs/bootstrap/cache
securityContext:
runAsUser: 82
runAsGroup: 82
# TODO : Faire le lien symbolique au build de l'image
# readOnlyRootFilesystem: true
# TODO : a priori incompatible avec PVC
# allowPrivilegeEscalation: false
resources:
limits:
cpu: "${APP_CI_CPU_LIMIT}"
memory: "${APP_CI_MEMORY_LIMIT}"
requests:
cpu: "${APP_CI_CPU_REQUEST}"
memory: "${APP_CI_MEMORY_REQUEST}"
- name: ${CI_PROJECT_PATH_SLUG}-ssr
image: $SSR_IMAGE_TAG
ports:
- containerPort: 13714
readinessProbe:
httpGet:
path: /health
port: 13714
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 3
livenessProbe:
httpGet:
path: /health
port: 13714
initialDelaySeconds: 15
periodSeconds: 20
timeoutSeconds: 2
failureThreshold: 3
startupProbe:
httpGet:
path: /health
port: 13714
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 12
resources:
limits:
cpu: "${APP_CI_CPU_LIMIT}"
memory: "${APP_CI_MEMORY_LIMIT}"
requests:
cpu: "${APP_CI_CPU_REQUEST}"
memory: "${APP_CI_MEMORY_REQUEST}"
securityContext:
allowPrivilegeEscalation: false
imagePullSecrets:
- name: docker-registry-credentials
securityContext:
runAsUser: 33
runAsGroup: 33
fsGroup: 33
fsGroupChangePolicy: "OnRootMismatch"
---
apiVersion: v1
kind: Service
@ -60,3 +134,55 @@ spec:
tls:
secretName: ${CRT_TLS_NAME}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: ${CI_PROJECT_PATH_SLUG}-cronjob
spec:
schedule: "* * * * *"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
spec:
securityContext:
runAsUser: 82
runAsGroup: 82
fsGroup: 82
fsGroupChangePolicy: OnRootMismatch
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- ${CI_PROJECT_PATH_SLUG}-app
topologyKey: "kubernetes.io/hostname"
namespaces: [ $KUBE_NAMESPACE ]
containers:
- name: ${CI_PROJECT_PATH_SLUG}-scheduled
image: $IMAGE_TAG
imagePullPolicy: IfNotPresent
command:
- "php"
args:
- "artisan"
- "schedule:run"
envFrom:
- configMapRef:
name: ${CI_PROJECT_PATH_SLUG}-config-map
securityContext:
runAsUser: 82
runAsGroup: 82
# TODO : valider le POC
# readOnlyRootFilesystem: true
# TODO : a priori incompatible avec PVC
# allowPrivilegeEscalation: false
imagePullSecrets:
- name: docker-registry-credentials
restartPolicy: OnFailure

9734
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

86
package.json Normal file
View file

@ -0,0 +1,86 @@
{
"$schema": "https://www.schemastore.org/package.json",
"private": true,
"type": "module",
"scripts": {
"prod": "vite build --mode production && vite build --mode production --ssr",
"dev": "NODE_ENV=development vite build -d --mode development && NODE_ENV=development vite build -d --mode development --ssr",
"eslint": "node ./node_modules/.bin/eslint --config './eslint.config.js' --max-warnings 0 'resources/ts/**/*.{ts,tsx}'",
"eslint-fix": "node ./node_modules/.bin/eslint --config './eslint.config.js' --max-warnings 0 'resources/ts/**/*.{ts,tsx}' --fix",
"eslint-ci": "node ./node_modules/.bin/eslint --config './eslint.config.js' --max-warnings 0 'resources/ts/**/*.{ts,tsx}' -f junit",
"stylelint": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --max-warnings 0 'resources/sass/**/*.scss'",
"stylelint-fix": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --max-warnings 0 'resources/sass/**/*.scss' --fix",
"stylelint-ci": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --max-warnings 0 'resources/sass/**/*.scss' -f json"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/postcss": "^4.3.3",
"@tailwindcss/typography": "^0.5.20",
"@tailwindcss/vite": "^4.3.3",
"@types/pluralize": "^0.0.33",
"@vitejs/plugin-react": "^6.0.3",
"autoprefixer": "^10.5.2",
"concurrently": "^9.0.1",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-formatter-junit": "^9.0.1",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.17.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"prettier": "^3.8.4",
"rollup-plugin-copy": "^3.5.0",
"sass-embedded": "^1.100.0",
"stylelint": "^17.14.0",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-sass-guidelines": "^13.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-scss": "^7.2.0",
"tailwindcss": "^4.3.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.0",
"vite": "^8.0.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-stylelint": "^6.3.0"
},
"dependencies": {
"@inertiajs/core": "^3.6.1",
"@inertiajs/react": "^3.6.1",
"@radix-ui/react-label": "^2.1.12",
"@radix-ui/react-switch": "^1.3.4",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"axios": "^1.18.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"globals": "^17.7.0",
"laravel-vite-plugin": "^3.1.3",
"lucide-react": "^0.503.0",
"motion": "^12.42.2",
"pluralize": "^8.0.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"slugify": "^1.6.9",
"tailwind-merge": "^3.6.0",
"ziggy-js": "^2.6.3",
"zod": "^4.4.3",
"zustand": "^5.0.14"
},
"overrides": {
"eslint-plugin-react": {
"eslint": "^10.4.1"
},
"eslint-plugin-import": {
"eslint": "^10.4.1"
},
"eslint-plugin-jsx-a11y": {
"eslint": "^10.4.1"
}
},
"trustedDependencies": [
"@uwil/husky-config"
]
}

66
phpcs.xml Normal file
View file

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Php Coding Standard"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>Optimized standard: Static analysis complementary to Pint.</description>
<arg name="colors" />
<arg name="extensions" value="php" />
<arg name="parallel" value="75" />
<file>app/</file>
<file>config/</file>
<file>database/</file>
<file>routes/</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/storage/*</exclude-pattern>
<exclude-pattern>*/packages/*</exclude-pattern>
<exclude-pattern type="relative">*.blade.php</exclude-pattern>
<rule ref="PSR12"/>
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<rule ref="Generic.Metrics.CyclomaticComplexity">
<properties>
<property name="complexity" value="10"/>
<property name="absoluteComplexity" value="20"/>
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.PHP.ForbiddenFunctions"/>
<rule ref="Generic.PHP.NoSilencedErrors"/>
<rule ref="Squiz.PHP.Eval"/>
<rule ref="Squiz.PHP.GlobalKeyword"/>
<rule ref="Squiz.PHP.NonExecutableCode"/>
<rule ref="Squiz.Scope.StaticThisUsage"/>
<rule ref="Generic.NamingConventions.ConstructorName"/>
<rule ref="Generic.NamingConventions.CamelCapsFunctionName"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="150"/>
<property name="absoluteLineLimit" value="250"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses" />
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="spacesCountAroundEqualsSign" value="0" />
<property name="declareOnFirstLine" value="false" />
<property name="linesCountBeforeDeclare" value="1" />
<property name="linesCountAfterDeclare" value="1" />
</properties>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>*/database/migrations/*</exclude-pattern>
</rule>
</ruleset>

13
phpstan.neon Normal file
View file

@ -0,0 +1,13 @@
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- app/
- bootstrap/
- config/
- database/
- lang/
- routes/
level: 7

36
phpunit.xml Normal file
View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>app</directory>
</include>
</source>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="BROADCAST_CONNECTION" value="null"/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_URL" value=""/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="NIGHTWATCH_ENABLED" value="false"/>
</php>
</phpunit>

80
pint.json Normal file
View file

@ -0,0 +1,80 @@
{
"preset": "laravel",
"exclude": [
"packages"
],
"rules": {
"indentation_type": true,
"single_line_empty_body": false,
"types_spaces": {
"space": "single",
"space_multiple_catch": "single"
},
"control_structure_braces": true,
"new_with_parentheses": {
"anonymous_class": true,
"named_class": true
},
"class_definition": {
"single_item_single_line": false,
"single_line": false,
"space_before_parenthesis": true
},
"curly_braces_position": {
"allow_single_line_empty_anonymous_classes": false,
"classes_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_classes_opening_brace": "next_line_unless_newline_at_signature_end",
"control_structures_opening_brace": "same_line",
"functions_opening_brace": "next_line_unless_newline_at_signature_end",
"anonymous_functions_opening_brace": "same_line"
},
"binary_operator_spaces": {
"default": "align_single_space_minimal",
"operators": {
"=": "align_single_space",
"|": "single_space",
"=>": "align_single_space",
".=": "align_single_space"
}
},
"concat_space": {
"spacing": "one"
},
"align_multiline_comment": {
"comment_type": "all_multiline"
},
"array_indentation": true,
"method_chaining_indentation": true,
"statement_indentation": {
"stick_comment_to_next_continuous_control_statement": true
},
"no_unused_imports": true,
"fully_qualified_strict_types": {
"import_symbols": true,
"leading_backslash_in_global_namespace": true,
"phpdoc_tags": []
},
"visibility_required": {
"elements": [
"const",
"method",
"property"
]
},
"no_useless_else": true,
"function_declaration": {
"closure_function_spacing": "one",
"closure_fn_spacing": "one",
"trailing_comma_single_line": false
},
"single_line_after_imports": true,
"combine_consecutive_issets": true,
"array_syntax": {
"syntax": "short"
},
"single_quote": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"declare_strict_types": true
}
}

6
postcss.config.js Normal file
View file

@ -0,0 +1,6 @@
export default {
plugins: {
'@tailwindcss/postcss': {},
autoprefixer: {},
},
};

90
public/.htaccess Normal file
View file

@ -0,0 +1,90 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Redirect /index.php/anything to /anything
RewriteCond %{THE_REQUEST} /index\.php/([^\s?]*) [NC]
RewriteRule ^index\.php/(.*)$ /$1 [L,R=301,NC]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
# Images
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
# CSS / JS
ExpiresByType text/css "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
# WOFF / WOFF2 / Fonts
ExpiresByType application/font-woff "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
ExpiresByType application/font-woff2 "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
# Favicon
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>
<FilesMatch "\.(jpe?g|png|gif|webp|css|js|woff|woff2|ico)$">
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch>
<IfModule mod_brotli.c>
AddOutputFilterByType BROTLI_COMPRESS text/html text/css text/plain text/xml text/javascript application/javascript application/x-javascript
AddType text/plain .br
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE image/svg+xml
</IfModule>
<IfModule mod_mime.c>
AddType application/javascript .js
AddType font/woff2 .woff2
AddType application/font-woff2 .woff2
AddType application/font-woff .woff
AddType font/woff .woff
AddType image/svg+xml .svg
</IfModule>
<FilesMatch "\.(css|js|jpg|jpeg|gif|png|ico|svg|woff|woff2)$">
FileETag None
Header unset ETag
Header unset Set-Cookie
</FilesMatch>

BIN
public/android-icon-36.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -1,61 +0,0 @@
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
}
.main {
height: 100vh;
position: relative;
width: 100%;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 80px;
width: 100%;
}
.down_text {
color: #464341;
font-size: 45px;
font-weight: 400;
font-family: "Noto Sans", sans-serif;
text-align: center;
}
.logo {
max-width: 350px;
width: 70%;
height: auto;
}
.composition-footer {
position: absolute;
opacity: 10%;
bottom: 0;
left: 50%;
transform: translateX(-50%);
max-width: 850px;
width: 70%;
}
@media (max-width: 768px) {
.down_text {
font-size: 32px;
}
}
@media (max-width: 480px) {
.down_text {
font-size: 24px;
}
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,21 +1,22 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<title>Qualimaine - Site en maintenance</title>
<link rel="stylesheet" href="./assets/css/main.css">
</head>
<body>
<section class="main">
<div class="content">
<img class="logo" src="./assets/images/logo.svg" alt="label du programme d'élevage de bien-être des volailles qualimaine" title="Logo Qualimaine">
<p class="down_text">Découvrez prochainement notre site internet qualimaine.com</p>
</div>
<img class="composition-footer" src="./assets/images/composition-footer.svg" alt="Composition footer - Qualimaine" title="Composition footer - Logo Qualimaine">
</section>
</body>
</html>
<?php
declare(strict_types=1);
use Illuminate\Foundation\Application;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__ . '/../vendor/autoload.php';
// Bootstrap Laravel and handle the request...
/** @var Application $app */
$app = require_once __DIR__ . '/../bootstrap/app.php';
$app->handleRequest(Request::capture());

56
rector.php Normal file
View file

@ -0,0 +1,56 @@
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use RectorLaravel\Rector\Class_\CommandHiddenPropertyToHiddenAttributeRector;
use RectorLaravel\Rector\Class_\DescriptionPropertyToDescriptionAttributeRector;
use RectorLaravel\Rector\Class_\FillablePropertyToFillableAttributeRector;
use RectorLaravel\Rector\Class_\HiddenPropertyToHiddenAttributeRector;
use RectorLaravel\Rector\Class_\ModelCastsPropertyToCastsMethodRector;
use RectorLaravel\Rector\Class_\SignaturePropertyToSignatureAttributeRector;
use RectorLaravel\Rector\Class_\TablePropertyToTableAttributeRector;
use RectorLaravel\Rector\Class_\WithoutTimestampsPropertyToWithoutTimestampsAttributeRector;
use RectorLaravel\Rector\MethodCall\ValidationRuleArrayStringValueToArrayRector;
use RectorLaravel\Set\LaravelLevelSetList;
use RectorLaravel\Set\LaravelSetList;
use RectorLaravel\Set\LaravelSetProvider;
return RectorConfig::configure()
->withSetProviders(LaravelSetProvider::class)
->withPaths([
__DIR__ . '/app',
__DIR__ . '/bootstrap',
__DIR__ . '/config',
__DIR__ . '/database',
__DIR__ . '/lang',
__DIR__ . '/routes',
])
->withPhpSets()
->withComposerBased(laravel: true)
->withSets([
LaravelLevelSetList::UP_TO_LARAVEL_130,
LaravelSetList::LARAVEL_ARRAYACCESS_TO_METHOD_CALL,
LaravelSetList::LARAVEL_CODE_QUALITY,
LaravelSetList::LARAVEL_COLLECTION,
LaravelSetList::LARAVEL_IF_HELPERS,
LaravelSetList::LARAVEL_LEGACY_FACTORIES_TO_CLASSES,
LaravelSetList::LARAVEL_TYPE_DECLARATIONS,
])
->withTypeCoverageLevel(0)
->withDeadCodeLevel(0)
->withCodeQualityLevel(0)
->withSkip([
// Disable Laravel notations.
CommandHiddenPropertyToHiddenAttributeRector::class,
DescriptionPropertyToDescriptionAttributeRector::class,
FillablePropertyToFillableAttributeRector::class,
HiddenPropertyToHiddenAttributeRector::class,
ModelCastsPropertyToCastsMethodRector::class,
SignaturePropertyToSignatureAttributeRector::class,
TablePropertyToTableAttributeRector::class,
WithoutTimestampsPropertyToWithoutTimestampsAttributeRector::class,
// Validation.
ValidationRuleArrayStringValueToArrayRector::class,
]);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="LOGO_-_cnotrolé_par" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 498.61 285.17"><path id="Filet" d="M467.23,0c17.3,0,31.38,14.08,31.38,31.39v222.4c0,17.3-14.08,31.38-31.38,31.38H31.38c-17.3,0-31.38-14.08-31.38-31.38V31.39C0,14.08,14.08,0,31.38,0h435.85" style="fill:#039;"/><g id="EU_EU-emblem_standard-version_positive_FR"><g id="EU-emblem_standard"><g id="EU_EU-emblem_flag_flag-positive"><g id="EU_flag"><path id="_-stars" d="M243.75,53.4l-8.98-6.56h11.11l3.43-10.64,3.43,10.64h11.11l-8.98,6.56,3.43,10.7-8.98-6.62-8.98,6.62,3.43-10.7h0ZM254.86,238.33l3.43,10.64-8.98-6.56-8.98,6.56,3.43-10.64-8.98-6.56h11.11l3.43-10.7,3.43,10.7h11.11l-8.98,6.56ZM157.46,149.68l-8.98,6.62,3.43-10.64-8.98-6.38h11.11l3.43-10.64,3.43,10.64h11.17l-9.04,6.62,3.43,10.64-8.98-6.62v-.24ZM208.94,65.75l3.43,10.64-8.98-6.5-8.98,6.56,3.43-10.64-8.98-6.56h11.11l3.43-10.64,3.43,10.64h11.11l-8.98,6.5ZM166.56,93.06l3.43-10.64,3.49,10.64h10.82l-8.98,6.62,3.43,10.64-9.04-6.62-9.04,6.62,3.43-10.64-8.98-6.62h11.47ZM155.22,185.49h11.35l3.43-10.64,3.49,10.64h10.82l-8.98,6.62,3.43,10.64-9.04-6.56-9.04,6.56,3.43-10.64-8.98-6.62h.12ZM197.83,225.92l-8.98-6.5h11.11l3.43-10.64,3.43,10.64h11.11l-8.98,6.5,3.43,10.64-8.98-6.56-8.98,6.56,3.43-10.64ZM346.7,145.89l3.43,10.64-8.98-6.62-9.1,6.62,3.43-10.64-9.04-6.62h11.52l3.43-10.64,3.43,10.64h10.87l-8.98,6.62ZM289.67,65.75l-8.98-6.5h11.11l3.43-10.64,3.43,10.64h11.11l-8.98,6.5,3.43,10.64-8.98-6.5-8.98,6.56,3.43-10.64v-.06ZM325.13,93l3.49-10.64,3.43,10.64h11.11l-8.75,6.68,3.43,10.64-8.98-6.62-9.04,6.62,3.43-10.64-8.92-6.62,10.82-.06ZM332.05,185.49h11.11l-8.75,6.62,3.43,10.64-8.98-6.56-9.04,6.56,3.43-10.64-8.92-6.62h11.11l3.49-10.64,3.43,10.64h-.3ZM309.76,219.41l-8.98,6.5,3.43,10.64-8.98-6.56-8.98,6.56,3.43-10.64-8.98-6.5h11.11l3.43-10.64,3.43,10.64h11.11Z" style="fill:#fc0;"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Some files were not shown because too many files have changed in this diff Show more