Dear William,

I need to address the version compatibility issue that led to this ITP
filing.

VERSION INCOMPATIBILITY:
FOSSology requires php-slim version 3.12.3, while current Debian provides
Slim v4.x or v5.x. These major versions have significant breaking changes
that prevent FOSSology from functioning.

MAJOR BREAKING CHANGES BETWEEN VERSIONS:
Slim 3.x → 4.x introduced:
- Complete PSR-15 middleware rewrite (breaking middleware interfaces)
- Route handling mechanism changes
- Container dependency injection API overhaul
- Request/Response object handling modifications
- App class constructor and configuration changes

EVIDENCE FROM FOSSology INTEGRATION:
FOSSology's web components were built against Slim 3.12.3 APIs:
- Route definitions use Slim 3.x syntax
- Middleware implementations follow Slim 3.x patterns
- Container configuration expects Slim 3.x interfaces
- Request/response handling uses Slim 3.x methods

TECHNICAL REQUIREMENT:
Migrating FOSSology from Slim 3.x to 4.x+ would require:
- Rewriting all middleware components
- Updating route definitions throughout the codebase
- Modifying container configuration
- Testing all web interfaces for compatibility
- This is a major development effort beyond packaging scope

PROPOSED SOLUTION:
Package as php-slim-3 to provide legacy Slim 3.x compatibility alongside
newer versions, following Debian's pattern for maintaining incompatible
framework versions.

DEBIAN PRECEDENT:
Similar to how Debian maintains:
- Multiple Symfony versions (when applications require specific versions)
- Different framework versions for backward compatibility
- Legacy library versions when applications cannot migrate easily

JUSTIFICATION:
FOSSology is a mature license compliance system with established web
interfaces. Providing Slim 3.x enables its integration into Debian without
forcing extensive upstream rewrites.

REQUEST:
Could we reopen this ITP to discuss version-specific Slim packaging? This
would enable FOSSology's web components to function properly in Debian.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

Migration guide reference:
https://www.slimframework.com/docs/v4/start/upgrade.html

On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System <
[email protected]> wrote:

> Your message dated Sun, 10 Aug 2025 15:45:06 +0200
> with message-id <[email protected]>
> and subject line The package already exists in Debian
> has caused the Debian Bug report #1109632,
> regarding ITP: php-slim -- PHP micro framework for web applications and
> APIs
> to be marked as done.
>
> This means that you claim that the problem has been dealt with.
> If this is not the case it is now your responsibility to reopen the
> Bug report if necessary, and/or fix the problem forthwith.
>
> (NB: If you are a system administrator and have no idea what this
> message is talking about, this may indicate a serious mail system
> misconfiguration somewhere. Please contact [email protected]
> immediately.)
>
>
> --
> 1109632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109632
> Debian Bug Tracking System
> Contact [email protected] with problems
>
>
>
> ---------- 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
>
>
>
> ---------- 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

Reply via email to