Add composer.json with league/commonmark, guzzlehttp/guzzle, phpmailer/phpmailer; wire autoloader into bootstrap; document de-librairisation strategy and PHP extension setup

This commit is contained in:
Pontoporeia
2026-05-20 00:53:37 +02:00
parent 728f05502c
commit 4683ba4116
7 changed files with 4210 additions and 2 deletions

32
composer.json Normal file
View File

@@ -0,0 +1,32 @@
{
"name": "erg/xamxam",
"description": "Répertoire des TFE de l'ERG — École de Recherche Graphique",
"type": "project",
"license": "proprietary",
"require": {
"php": ">=8.4",
"ext-json": "*",
"ext-pdo": "*",
"ext-openssl": "*",
"league/commonmark": "^2.4",
"guzzlehttp/guzzle": "^7.9",
"phpmailer/phpmailer": "^6.9"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.95",
"phpstan/phpstan": "^2.1",
"symfony/polyfill-iconv": "^1.31"
},
"autoload": {
"classmap": [
"app/src/"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.4"
}
}
}