feat: page licences des composants tiers

This commit is contained in:
Cedric Abonnel
2026-05-08 19:02:11 +02:00
parent 74c91cf313
commit 34c5425391
5 changed files with 155 additions and 1 deletions
+148
View File
@@ -0,0 +1,148 @@
<?php
ob_start();
?>
<div class="posts-list">
<h1 class="mb-1">Licences</h1>
<p class="text-muted mb-4">Composants logiciels tiers utilisés par ce site et leurs licences.</p>
<section class="mb-5">
<h2 class="h5 mb-3">Bibliothèques (production)</h2>
<div class="card">
<div class="card-body p-0">
<table class="table table-sm mb-0">
<thead class="table-light">
<tr>
<th>Composant</th>
<th>Version</th>
<th>Licence</th>
<th>Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Bootstrap</strong></td>
<td>5.3.3</td>
<td><span class="badge bg-light text-dark border">MIT</span></td>
<td>Framework CSS/JS (jsDelivr CDN)</td>
</tr>
<tr>
<td><strong>PHPMailer</strong></td>
<td>6.12.0</td>
<td><span class="badge bg-light text-dark border">LGPL-2.1</span></td>
<td>Envoi d'e-mails SMTP</td>
</tr>
<tr>
<td><strong>phpdotenv</strong></td>
<td>5.6.2</td>
<td><span class="badge bg-light text-dark border">BSD-3-Clause</span></td>
<td>Variables d'environnement</td>
</tr>
<tr>
<td><strong>openid-connect-php</strong></td>
<td>1.0.2</td>
<td><span class="badge bg-light text-dark border">Apache-2.0</span></td>
<td>Authentification SSO (OIDC)</td>
</tr>
<tr>
<td>
<strong>Police Inter</strong>
</td>
<td>v20</td>
<td><span class="badge bg-light text-dark border">OFL-1.1</span></td>
<td>
Typographie — auto-hébergée
(<a href="/assets/fonts/LICENSE-Inter.txt">voir la licence</a>)
</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section class="mb-5">
<h2 class="h5 mb-3">Outils de développement</h2>
<div class="card">
<div class="card-body p-0">
<table class="table table-sm mb-0">
<thead class="table-light">
<tr>
<th>Composant</th>
<th>Version</th>
<th>Licence</th>
<th>Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>PHPStan</strong></td>
<td>1.12.32</td>
<td><span class="badge bg-light text-dark border">MIT</span></td>
<td>Analyse statique PHP</td>
</tr>
<tr>
<td><strong>PHP-CS-Fixer</strong></td>
<td>3.89.1</td>
<td><span class="badge bg-light text-dark border">MIT</span></td>
<td>Formatage du code</td>
</tr>
<tr>
<td><strong>Claude Code CLI</strong></td>
<td>—</td>
<td><span class="badge bg-light text-dark border">Commercial</span></td>
<td>
Outil de développement (Anthropic) —
<a href="https://www.anthropic.com/legal/aup" target="_blank" rel="noopener">Conditions d'utilisation</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section class="mb-5">
<h2 class="h5 mb-3">Infrastructure</h2>
<div class="card">
<div class="card-body p-0">
<table class="table table-sm mb-0">
<thead class="table-light">
<tr>
<th>Composant</th>
<th>Licence</th>
<th>Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>PHP 8.3</strong></td>
<td><span class="badge bg-light text-dark border">PHP License v3.01</span></td>
<td>Langage côté serveur</td>
</tr>
<tr>
<td><strong>PostgreSQL</strong></td>
<td><span class="badge bg-light text-dark border">PostgreSQL License</span></td>
<td>Base de données relationnelle</td>
</tr>
<tr>
<td><strong>Apache HTTP Server</strong></td>
<td><span class="badge bg-light text-dark border">Apache-2.0</span></td>
<td>Serveur web</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<p class="text-muted" style="font-size:0.82rem">
Le contenu éditorial de ce blog est publié sous licence
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener">CC BY 4.0</a>.
</p>
</div>
<?php
$content = ob_get_clean();
$title = 'Licences — varlog';
include __DIR__ . '/layout.php';