Skip to content

Add dflydev/fig-cookies as composer Dependency for ILIAS 12 - #10651

Closed
chfsx wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
srsolutionsag:dependencies/12/dflydev-fig-cookies
Closed

Add dflydev/fig-cookies as composer Dependency for ILIAS 12#10651
chfsx wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
srsolutionsag:dependencies/12/dflydev-fig-cookies

Conversation

@chfsx

@chfsx chfsx commented Dec 5, 2025

Copy link
Copy Markdown
Member

Assessment:
dflydev/fig-cookies is a lightweight PHP library that simplifies cookie handling by providing a PSR-7-compliant interface for working with cookies in HTTP requests and responses.

General Information:

  • Name of the dependency: dflydev/fig-cookies
  • Version: v3.1.0
  • this dependency was already used in ILIAS.
  • the dependency's license is compatible with ILIAS' license: MIT

Type of dependency:

  • composer
  • npm

Usage:

  • \ILIAS\HTTP\Services

Reasoning:
The library ensures that cookie management in ILIAS remains consistent and standardized across the project, offering easy integration with other PSR-7-compliant libraries, and providing a clean API for setting, getting, and deleting cookies.

Maintenance:
Last update of the Library: 2023-07-18, PHP Version: ^7.2 || ^8.0

Links:

Alternatives:
Alternatives like native PHP functions (setcookie, $_COOKIE) are simpler but lack the structured and modern approach of dflydev/fig-cookies, while libraries like symfony/http-foundation are more comprehensive but may be overkill for basic cookie management, making dflydev/fig-cookies a more efficient and lightweight choice for ILIAS.

@chfsx chfsx added the dependencies Pull requests that update a dependency file label Dec 5, 2025
@matthiaskunkel

Copy link
Copy Markdown
Member

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

@lscharmer

Copy link
Copy Markdown
Contributor

Merged with PR: #11255

@lscharmer lscharmer closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants