# Mettle — Third-Party Licences

All libraries used in Mettle are free and open-source with permissive licences.

## Server-side (PHP / Composer)

| Package | Version | Licence | URL |
|---|---|---|---|
| slim/slim | ^4.14 | MIT | https://github.com/slimphp/Slim |
| slim/psr7 | ^1.7 | MIT | https://github.com/slimphp/Slim-Psr7 |
| php-di/php-di | ^7.0 | MIT | https://github.com/PHP-DI/PHP-DI |
| slim/twig-view | ^3.4 | MIT | https://github.com/slimphp/Twig-View |
| twig/twig | ^3.14 | BSD-3-Clause | https://github.com/twigphp/Twig |
| robmorgan/phinx | ^0.16 | MIT | https://github.com/cakephp/phinx |
| vlucas/phpdotenv | ^5.6 | BSD-3-Clause | https://github.com/vlucas/phpdotenv |
| monolog/monolog | ^3.7 | MIT | https://github.com/Seldaek/monolog |
| phpmailer/phpmailer | ^6.9 | LGPL-2.1 | https://github.com/PHPMailer/PHPMailer |
| respect/validation | ^2.3 | MIT | https://github.com/Respect/Validation |
| minishlink/web-push | ^9.0 | MIT | https://github.com/web-push-libs/web-push-php |
| intervention/image | ^3.9 | MIT | https://github.com/Intervention/image |
| dompdf/dompdf | ^3.0 | LGPL-2.1 | https://github.com/dompdf/dompdf |
| nesbot/carbon | ^3.8 | MIT | https://github.com/briannesbitt/Carbon |
| phpunit/phpunit | ^11.0 | BSD-3-Clause | https://github.com/sebastianbergmann/phpunit |
| phpstan/phpstan | ^1.12 | MIT | https://github.com/phpstan/phpstan |

## Client-side (JavaScript / CSS)

| Library | Licence | URL |
|---|---|---|
| htmx | BSD-2-Clause | https://github.com/bigskysoftware/htmx |
| Alpine.js | MIT | https://github.com/alpinejs/alpine |
| Tailwind CSS | MIT | https://github.com/tailwindlabs/tailwindcss |
| Chart.js | MIT | https://github.com/chartjs/Chart.js |
| anime.js | MIT | https://github.com/juliangarnier/anime |
| canvas-confetti | ISC | https://github.com/catdad/canvas-confetti |
| Lucide icons | ISC | https://github.com/lucide-icons/lucide |
| Howler.js | MIT | https://github.com/goldfire/howler.js |
| Dexie.js | Apache-2.0 | https://github.com/dexie/Dexie.js |
| Workbox | MIT | https://github.com/GoogleChrome/workbox |

## Fonts

| Font | Licence | URL |
|---|---|---|
| Cinzel | SIL OFL 1.1 | https://fonts.google.com/specimen/Cinzel |
| Inter | SIL OFL 1.1 | https://fonts.google.com/specimen/Inter |

## Open Data Sources

| Source | Licence | Attribution required |
|---|---|---|
| wger exercise database | CC-BY-SA 4.0 | Yes — "Exercise data from wger Workout Manager (wger.de), CC-BY-SA 4.0" |
| FSANZ Australian Food Composition Database | Free with attribution | Yes — "Food composition data from Food Standards Australia New Zealand (FSANZ)" |
| USDA FoodData Central | Public domain | Recommended — "Nutrient data from USDA FoodData Central" |
| Open Food Facts | ODbL 1.0 | Yes — "Contains information from Open Food Facts (openfoodfacts.org), licensed under ODbL 1.0" |
