Home  >  Q&A  >  body text

Generate API documentation in Laravel/lumen without using annotations: a step-by-step guide

I cannot generate API documentation in Laravel/lumen via Composer require Rakutentech/Laravel-request-docs --dev.

Is there any tool available for automatically generating documentation in Laravel/lumen.

P粉662614213P粉662614213259 days ago378

reply all(1)I'll reply

  • P粉564301782

    P粉5643017822024-01-09 00:41:09

    First of all, there are no suppliers: publishing in Lumen. You can check using php artisan list and it will show that it is missing the vendor command:

    Available commands:
    completion           Dump the shell completion script
    help                 Display help for a command
    list                 List commands
    migrate              Run the database migrations
    auth
     auth:clear-resets    Flush expired password reset tokens
    cache
     cache:clear          Flush the application cache
    ....
    schedule
     schedule:run         Run the scheduled commands
     schedule:work        Start the schedule worker
    schema
     schema:dump          Dump the given database schema

    You can use various solutions, such as:


    It will be easier for you if you have already started your research from the error message.

    Also, a bit of advice, generally avoid requesting off-site resources. Please be careful whenever you ask for an alternative package.

    reply
    0
  • Cancelreply