Skip to content

It seems laminas-component-installer does not install api-tools-documentation as a module #26

@haclong

Description

@haclong

Bug Report

Q A
Version(s) 1.5.x

Summary

As instructed, i have used

composer require laminas-api-tools/api-tools-documentation

the installation goes well so far but either this method does not trigger the laminas-component-installer (to be honest, i don't know how the installer is triggered / used - when it happens, it happens and if not, i'm unaware it did not be used)

Current behavior

when i go to [my domain]/api-tools/documentation, there's a error (i think it is runtime exception) saying the documentation route can not be found

How to reproduce

on a fresh install
install api-tools (eventually, you don't want the api-tools-documentation yet)
then install api-tools-documentation

Expected behavior

i am not sure it is an "expected" behaviour :

when i do composer require laminas-api-tools/api-tools-documentation-swagger, the Laminas\ApiTools\Documentation\Swagger module is automatically added to the modules.conf.php

when i do composer require laminas-api-tools/api-tools-documentation, i have to add Laminas\ApiTools\Documentation module manually to the modules.conf.php

this is not a big issue but the different behaviour between two packages by the same vendor feels strange...

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions