Laravel Apidoc Generator

screenshot of Laravel Apidoc Generator
laravel

Laravel API Documentation Generator

Overview

The Laravel API Documentation Generator is a tool that allows users to automatically create API documentation from existing Laravel, Lumen, or Dingo routes. By running a simple command, users can generate comprehensive documentation for their APIs. This tool is compatible with PHP 7.2 and Laravel/Lumen 5.7 or higher, ensuring its compatibility with modern web development practices.

Features

  • Automatic Documentation Generation: Easily create API documentation from Laravel/Lumen/Dingo routes.
  • Support for Modern Versions: Compatible with PHP 7.2 and Laravel/Lumen 5.7 or higher.
  • User-friendly Configuration: Simple installation steps to set up and customize the documentation generator.
  • Free and Open Source: Licensed under the MIT license, making it accessible to developers.

Laravel

  1. Publish the config file by running:
    php artisan vendor:publish --provider="Mpociot\ApiDoc\ApiDocGeneratorServiceProvider"
    
  2. This will create an apidoc.php file in your config folder.

Lumen

  1. Run the following command to install the package:
laravel
Laravel

Laravel is a powerful and elegant PHP framework that provides developers with a comprehensive set of tools and features to build robust web applications. It follows the Model-View-Controller (MVC) architectural pattern, offering a clean and organized structure for writing efficient and maintainable code.