Dear William, I need to reopen this ITP due to major breaking changes between Slim Framework versions that prevent FOSSology from functioning.
MAJOR VERSION INCOMPATIBILITY: FOSSology requires Slim Framework 3.12.3, but Debian provides Slim 4.x or 5.x. These major versions have extensive breaking changes that make migration infeasible within packaging scope. BREAKING CHANGES SLIM 3 → 4: - Complete PSR-15 middleware rewrite (breaking all middleware) - Route handling mechanism completely changed - Container dependency injection API overhaul - Request/Response object handling modified - App class constructor and configuration changed MIGRATION SCOPE: Updating FOSSology to Slim 4.x+ would require: - Rewriting all middleware components - Updating route definitions throughout codebase - Modifying container configuration - Extensive testing of web interfaces - Major development effort beyond packaging work EVIDENCE: FOSSology's web components, APIs, and routing are built against Slim 3.x APIs and cannot function with newer versions without extensive code changes. PROPOSED SOLUTION: Package as php-slim-3 (version-specific naming) following Debian's pattern for framework version incompatibilities. PRECEDENT: Similar to maintaining different versions when major framework changes break backward compatibility. OFFICIAL DOCUMENTATION: Slim's own upgrade guide shows the extensive breaking changes: https://www.slimframework.com/docs/v4/start/upgrade.html REQUEST: Please reopen to discuss version-specific Slim packaging for FOSSology compatibility. Best regards, Ahmed Gamal FOSSology Debian Packaging Team On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System < [email protected]> wrote: > This is an automatic notification regarding your Bug report > which was filed against the wnpp package: > > #1109632: ITP: php-slim -- PHP micro framework for web applications and > APIs > > It has been closed by William Desportes <[email protected]>. > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact William Desportes < > [email protected]> by > replying to this email. > > > -- > 1109632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109632 > Debian Bug Tracking System > Contact [email protected] with problems > > > > ---------- Forwarded message ---------- > From: William Desportes <[email protected]> > To: 1109364-done <[email protected]>, 1109365-done < > [email protected]>, 1109613-done <[email protected]>, > 1109615-done <[email protected]>, 1109621-done < > [email protected]>, 1109624-done <[email protected]>, > 1109625-done <[email protected]>, 1109632-done < > [email protected]>, 1109633-done <[email protected]>, > 1109634-done <[email protected]>, 1109640-done < > [email protected]> > Cc: > Bcc: > Date: Sun, 10 Aug 2025 15:45:06 +0200 > Subject: The package already exists in Debian > > Please do some research before opening ITP/RFP bugs. > This package already exists in Debian. > > -- > William Desportes > > > ---------- Forwarded message ---------- > From: Ahmed Gamal <[email protected]> > To: Debian Bug Tracking System <[email protected]> > Cc: > Bcc: > Date: Mon, 21 Jul 2025 07:05:00 +0000 > Subject: ITP: php-slim -- PHP micro framework for web applications and APIs > Package: wnpp > Severity: wishlist > Owner: Ahmed Gamal <[email protected]> > > * Package name : php-slim > Version : 3.12.3 > Upstream Author : Josh Lockhart <[email protected]> > * URL : https://github.com/slimphp/Slim > * License : MIT > Programming Lang: PHP > Section : php > > Description: > PHP micro framework for web applications and APIs > > Slim is a PHP micro framework that helps you quickly write simple yet > powerful web applications and APIs. It provides a minimal and fast > foundation with a focus on HTTP routing, middleware, and dependency > injection, making it ideal for building RESTful APIs and small-to-medium > web projects. > > Slim supports PSR-7 HTTP message interfaces, middleware architecture, and > easy integration with other PHP components. It is widely used in the PHP > ecosystem for its simplicity, flexibility, and performance. > > Rationale: > This package is required as a dependency for FOSSology, an open source > license compliance system. FOSSology uses PHP-based tools for source code > analysis and license detection, and Slim is used as a lightweight framework > for building web-based components and APIs within the project. > > The php-slim package is essential for: > - Providing a robust and flexible web framework for FOSSology's web > components > - Supporting RESTful API development and HTTP routing > - Enabling middleware-based request/response processing > - Ensuring compatibility with PSR-7 and modern PHP standards > - Facilitating rapid development of web interfaces and services > > Technical Details: > - Requires PHP >= 5.5 > - Supports PSR-7 HTTP message interfaces > - Middleware architecture for extensibility > - MIT licensed for maximum compatibility > - Well-documented and widely adopted in the PHP community > > Dependencies: > - php (>= 5.5) > - Build dependencies: phpunit, php-codesniffer > > The package will be maintained by Ahmed Gamal <[email protected]> > as part > of the FOSSology packaging effort. > > -- > Ahmed Gamal > FOSSology Debian Packaging Team >

