PHPackages                             irazasyed/docgen - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. irazasyed/docgen

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

irazasyed/docgen
================

Streamline your Laravel package development with automatic facade documentation using Docgen for Laravel

0.2.0(3y ago)233.8k1[5 PRs](https://github.com/irazasyed/docgen/pulls)10MITPHPPHP &gt;=8.0CI passing

Since Mar 16Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/irazasyed/docgen)[ Packagist](https://packagist.org/packages/irazasyed/docgen)[ Docs](https://github.com/irazasyed/docgen)[ RSS](/packages/irazasyed-docgen/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (11)Used By (10)

Docgen for Laravel Facade
=========================

[](#docgen-for-laravel-facade)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4e32bb70e3a519963dc3027f3df63e9976ace06a76e8e1d601e74e949ebe31ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6972617a61737965642f646f6367656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/docgen)[![GitHub Tests Action Status](https://camo.githubusercontent.com/db50f9fa5d16851aafd6ccf12ecd66362b072606fb98bdf8eb28f3d77c61f87d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6972617a61737965642f646f6367656e2f63692e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/irazasyed/docgen/actions?query=workflow%3Aci+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a989b1a2ba09159561905e7bc7e18bc8da48a701853b2f025cd2d2a67ac29194/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6972617a61737965642f646f6367656e2f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/irazasyed/docgen/actions?query=workflow%3A%22Code+Style%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/df138646628eb8cfa4316db6118b0566dd38627fc04f32d4f58e15e918475927/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6972617a61737965642f646f6367656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/docgen)

> 📖 Streamline your Laravel package development with automatic facade documentation using Docgen for Laravel Facade.

[![Docgen](https://user-images.githubusercontent.com/1915268/225490242-13903347-b8a7-40ea-897b-0a5429208cbb.jpg)](https://user-images.githubusercontent.com/1915268/225490242-13903347-b8a7-40ea-897b-0a5429208cbb.jpg)

Introduction
------------

[](#introduction)

Docgen for Laravel packages, the ultimate solution for Laravel package developers.

This heroic package automatically generates documentation for your Laravel package facade, eliminating the tedious task of maintaining it yourself.

With this package, IDEs will provide you and the developers using your package with method suggestions, making your development journey a breeze.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require irazasyed/docgen --dev
```

Usage
-----

[](#usage)

There are a number of ways to use the CLI tool.

### Basic

[](#basic)

Let's start with the basic usage.

Call the command with the name of the facade:

```
vendor/bin/docgen -f "Namespace\Path\To\Laravel\Facade::class"
```

### Advanced

[](#advanced)

Create a new config file in your package's root directory named `docgen.php` and add the following code:

```
