PHPackages                             ahmetbarut/laravel-route-docs - 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. [API Development](/categories/api)
4. /
5. ahmetbarut/laravel-route-docs

ActivePackage[API Development](/categories/api)

ahmetbarut/laravel-route-docs
=============================

v0.1.3(4y ago)615MITPHPPHP ^7.4|^8.0

Since Oct 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ahmetbarut/laravel-route-docs)[ Packagist](https://packagist.org/packages/ahmetbarut/laravel-route-docs)[ RSS](/packages/ahmetbarut-laravel-route-docs/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Laravel Route Documentation
===========================

[](#laravel-route-documentation)

Maybe we are wondering where these routes lead or what could be their purpose? This package decides to solve this solution.

The package allows us to easily retrieve documents using `docBlock` comments way of working:

```
    /**
    * @route-doc
    * All comments written between these tags are collected and returned by the filter.
    * @end-doc
    */
    Route::get('/home', function (){
        return 'Hello Docs';
    });
```

Usage inside the controller

```
    Route::get('/home', 'HomeController@index');

    // HomeController.php
    /**
    * @route-doc
    * All comments written between these tags are collected and returned by the filter.
    * @end-doc
    */
    public function index()
    {
        return 'Hello Docs !';
    }
```

Install
-------

[](#install)

```
composer require ahmetbarut/laravel-route-docs
```

And then by executing `php artisan route:docs` the documentation is created.

Arguments
---------

[](#arguments)

This package currently only outputs markdown. `path` is available, for this it should be written as `php artisan route:docs /path/to`.

!Tip
----

[](#tip)

If no default directory is specified, it will look for the `docs' folder in the root directory and generate an error if it cannot find it.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Total

3

Last Release

1515d ago

PHP version history (2 changes)v0.1.2PHP &gt;=7.4 || 8.\*

v0.1.3PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/530008a3a5e32fa689343dc342c6686b50267ba86905e55e5f42ad2d1c8c193c?d=identicon)[ahmetbarut](/maintainers/ahmetbarut)

---

Top Contributors

[![ahmetbarut](https://avatars.githubusercontent.com/u/36641723?v=4)](https://github.com/ahmetbarut "ahmetbarut (10 commits)")

### Embed Badge

![Health badge](/badges/ahmetbarut-laravel-route-docs/health.svg)

```
[![Health](https://phpackages.com/badges/ahmetbarut-laravel-route-docs/health.svg)](https://phpackages.com/packages/ahmetbarut-laravel-route-docs)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
