Fullscreen
Loading...
 
Skip to main content

Review-and-address-all-outdated-or-abandoned-dependencies-in-vendor_bundled-composer-json

Brainstorming and decisions would be better to have in public as per https://dev.tiki.org/How-to-pick-a-software-libraryQuestion and summary can be on https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.jsonQuestion

laminas/laminas-text (Assigned to: @bienvenu.ushindi)

AlternativePackageName Class Namespace PHP version Contribution Activity Selected
povils/figletQuestion Povils\Figlet\Figlet php5 last contribution: 3 years ago
Install by: 5 743
Github Stars: 59
Github fork: 23 moreQuestion
Status: NO
Why: Can't be used without setting a background , Very old and no support for php8
amasiye/figletQuestion Amasiye\Figlet\Figlet php8.2 last contribution: 11 months ago
Install by: 200 moreQuestion
Status: NO
Why: Can't be used without setting a background, No support for width but this is also a potential candidate. It is a fork of povils/figlet
MacrameQuestion Gbhorwood\Macrame\Macrame ✅ php7.5 and higher last contribution: 3 months
Install by: not available
Status: NO
Why: It has an issue that I reported hereQuestion and Currently there is no support for width which solve responsiveness issue but it is a potential candidate. This also dependends on povils/figlet when we check the dependencies list
Conclusion

The laminas/text package was officially archived in December 2024. However, no actively maintained PHP FIGlet library currently provides comparable functionality. Given the package’s stability and the limited scope of our use case, I propose we retain it for now and add an inline comment to document its deprecated status. This will make future replacement easier should a suitable alternative emerge.
Note: I found a npm-based figletQuestion alternative, which can produce similar results. However, it introduces additional complexity and dependencies compared to the current PHP-based solution, making it less ideal for this lightweight use case.
Related: https://github.com/laminas/laminas-captcha/issues/41Question

OK please add info to https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.jsonQuestion and see if you can find a way to suppress warnings about it.

1.2. candy-chat/xmpp-prebind-php (Assigned to: @bienvenu.ushindi)

AlternativePackageName Class Namespace PHP version Contribution Activity Selected
This appears to be complex


item91415

1.3. jasig/phpcas (Assigned to: @Espoir Baraka)

Check this item118571-phpCAS-is-unmaintained for extra information

AlternativePackageName Class Namespace PHP version Contribution Activity Selected
CAS-BundleQuestion EcPhp\CasBundle PHP 8.1 last contribution: 3 months
Star: 46
Fork: 9
Status: NO
Why: This is used for symfony project
phpCASQuestion Psr\Log\LoggerInterface php 7.1 last contribution: 10 months
Star: 796
Status: NO
Why: phpCAS is no longer maintained

1.4. laminas/laminas-log (Assigned to: @Olivier Kango) https://gitlab.com/tikiwiki/tiki/-/merge_requests/7506Question

AlternativePackageName Class Namespace PHP version Contribution Activity Selected
monolog/monolog Monolog\Logger PHP >= 8.1 Last contribution: 3 weeks ago
Used by: +7.5K
Status: YES
Why: Actively maintained, widely adopted, PSR-3 compliant

1.5. laminas/laminas-config (Assigned to: @Doddy Matabaro) https://gitlab.com/tikiwiki/tiki/-/merge_requests/7792Question

AlternativePackageName Class Namespace PHP version Contribution Activity Selected
hassankhan/config Hassankhan\Config\Config PHP >=5.4 last contribution: 2017-11-06 (archived)
Used by: ~600
Status: NO
Why: Archived, not maintained, lacks modern PHP compatibility
league/config League\Config PHP >=7.4 last contribution: 2 months ago
Used by: ~1K
Status: NO
Why: Strict on immutable configs and requires more structural changes
Native Tiki Config Tiki\Config\Config PHP >=8.0 Ongoing
Used by: Tiki core itself
Status: YES
Why: Fully compatible with Tiki's needs, preserves existing behavior (merge, nesting, readOnly), minimal changes across codebase.

1.6. php-http/message-factory (Assigned to: @Olivier Kango) https://gitlab.com/tikiwiki/tiki/-/merge_requests/7726Question merged !

AlternativePackageName Class Namespace PHP version Contribution Activity Selected
sentry/sentry: ^4.0 \Sentry\ PHP >= 8.1 Last contribution: 4 days ago
Installs:183M+
Forks: 458
Status: YES
Why: Actively maintained. sentry/sdk is a meta package that historically shipped sentry/sentry. They recommend using sentry/sentry insteadQuestion and which solve the php-http/message-factory warning


1.7. laminas/laminas-mail and laminas/laminas-mime (@bienvenu.ushindi)

Check item118613-Deal-with-the-abandonment-of-laminas-mail-and-laminas-mime for more details

1.8. laminas/laminas-oauth (Assigned to: @Doddy Matabaro)

https://gitlab.com/tikiwiki/tiki/-/merge_requests/7591/Question

1.9. laminas/laminas-twitter (Assigned to: @Doddy Matabaro)

Was used by laminas/laminas-oauth which got replaced in https://gitlab.com/tikiwiki/tiki/-/merge_requests/7591/Question

1.10. laminas/laminas-crypt (Assigned to: @Doddy Matabaro)

Was used by laminas/laminas-oauth which got replaced via https://gitlab.com/tikiwiki/tiki/-/merge_requests/7591Question

1.11. laminas/laminas-dom (Assigned to: @bienvenu.ushindi) https://gitlab.com/tikiwiki/tiki/-/merge_requests/8001Question

1.12. laminas/laminas-loader (Assigned to: @bienvenu.ushindi) No MR

https://gitlab.com/tikiwiki/tiki/-/commit/98308faf844877011038fc60c3a02489bbedffd9Question

Show PHP error messages