PHPackages                             anandpilania/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. anandpilania/laravel-docs

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

anandpilania/laravel-docs
=========================

Docs reader for laravel.

1.0.0(9y ago)014MITHTML

Since Jun 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/AnandPilania/laravel-docs)[ Packagist](https://packagist.org/packages/anandpilania/laravel-docs)[ RSS](/packages/anandpilania-laravel-docs/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

laravel-docs
============

[](#laravel-docs)

Docs reader for laravel, currently supported extensions is: `.md`Helpful to use it as `knowledge base` or `faq` of your project or features.

Features
========

[](#features)

- Render `.md` docs
- Security: Configure access
- You can request/suggest more features

How to use
==========

[](#how-to-use)

- Install:

    - `git` : `git clone https://github.com/AnandPilania/laravel-docs.git`
    - `composer` : `composer install anandpilania/laravel-docs`
    - Register `Provider` to `config/app.php` :
    - `AP\Docs\ServiceProvider::class`

    Instead of `Facade`, I used `Contract`, so `Docs` can be directly accessible to any `class`.
- Publish the `config` and `resources`:

    - `php artisan vendor:publish`
- Configure package according to your need (`app/docs.php`):

    - `disk.root` =&gt; Root path of all documents (by default: storage/app/docs)

    `http` : Responsible for default routes

    - `prefix` =&gt; Route prefix (default: /docs)
    - `middleware` =&gt; By default, `web` is used as a middleware group

    `default' : This section responsible for rendering the default `doc`

    - `vendor` =&gt; Default: storage/app/docs/laravel
    - `version` =&gt; Default: 5.4
    - `page` =&gt; Load default (installation) file while accessing //HOSTNAME/docs/laravel/5.4.
    - `index` =&gt; Default `index` file
    - `extension` =&gt; Currently this package supports only `.md`, so don't change it.

    `security` : Limit the access of `docs`

    - `enabled` =&gt; Its up to you, to enable this feature or not. `true`||`false`
    - `file` =&gt; Configure the file name of `security` according to your wish. default `security.json`Add this `security.file` to the `vendor` directory.

    `extensions` :

    - `supported` =&gt; Add extensions those are supported for render (currently `.md`), remaning extensions will excluded
    - `excluded` =&gt; Files containing these extensions will not displayed in the list
- Sample `security.json` (ex: /storage/docs/app/laravel/security.json):

    { "roles": \["users"\], "permissions": \["docs.show.versions"\] }

NOTE: Default `route` are hard-coded to the `ServiceProvider` file of the package.
==================================================================================

[](#note-default-route-are-hard-coded-to-the-serviceprovider-file-of-the-package)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3288d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1209e551536746ac78a8a4b7f5a2cc13f776629484c441edc5d3f1a50edbea0?d=identicon)[AnandPilania](/maintainers/AnandPilania)

---

Top Contributors

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

---

Tags

docsdocs-readerlaravellaravel-packagelaraveldocsanandpilaniadocs-reader

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9772.3M122](/packages/roots-acorn)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M122](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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