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-library
and summary can be on https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json
laminas/laminas-text (Assigned to: @bienvenu.ushindi)
| AlternativePackageName | Class Namespace | PHP version | Contribution Activity | Selected |
| povils/figlet | Povils\Figlet\Figlet | php5 | last contribution: 3 years ago Install by: 5 743 Github Stars: 59 Github fork: 23 more | Status: NO Why: Can't be used without setting a background , Very old and no support for php8 |
| amasiye/figlet | Amasiye\Figlet\Figlet | php8.2 | last contribution: 11 months ago Install by: 200 more | 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 |
| Macrame | 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 here |
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 figlet
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/41
OK please add info to https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json
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 | ||||
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-Bundle | EcPhp\CasBundle | PHP 8.1 | last contribution: 3 months Star: 46 Fork: 9 | Status: NO Why: This is used for symfony project |
| phpCAS | 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/7506
| 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/7792
| 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 co |
1.6. php-http/message-factory (Assigned to: @Olivier Kango) https://gitlab.com/tikiwiki/tiki/-/merge_requests/7726
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 instead |
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/
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/
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/7591
1.11. laminas/laminas-dom (Assigned to: @bienvenu.ushindi) https://gitlab.com/tikiwiki/tiki/-/merge_requests/8001
1.12. laminas/laminas-loader (Assigned to: @bienvenu.ushindi) No MR
https://gitlab.com/tikiwiki/tiki/-/commit/98308faf844877011038fc60c3a02489bbedffd9