[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109632: marked as done (ITP: php-slim -- PHP micro framework for web applications and APIs)



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 <owner@bugs.debian.org> wrote:
Your message dated Sun, 10 Aug 2025 15:45:06 +0200
with message-id <198943a261a.128607e99394474.6146403675296746199@wdes.fr>
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 owner@bugs.debian.org
immediately.)


--
1109632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109632
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems



---------- Forwarded message ----------
From: Ahmed Gamal <ahmed.gamal9541@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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 <ahmed.gamal9541@gmail.com>

* Package name    : php-slim
  Version         : 3.12.3
  Upstream Author : Josh Lockhart <info@slimframework.com>
* 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 <ahmed.gamal9541@gmail.com> as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team



---------- Forwarded message ----------
From: William Desportes <williamdes@wdes.fr>
To: 1109364-done <1109364-done@bugs.debian.org>, 1109365-done <1109365-done@bugs.debian.org>, 1109613-done <1109613-done@bugs.debian.org>, 1109615-done <1109615-done@bugs.debian.org>, 1109621-done <1109621-done@bugs.debian.org>, 1109624-done <1109624-done@bugs.debian.org>, 1109625-done <1109625-done@bugs.debian.org>, 1109632-done <1109632-done@bugs.debian.org>, 1109633-done <1109633-done@bugs.debian.org>, 1109634-done <1109634-done@bugs.debian.org>, 1109640-done <1109640-done@bugs.debian.org>
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 to: