PHPackages                             idnexacloud/laravel-bytedocs - 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. idnexacloud/laravel-bytedocs

ActiveLibrary[API Development](/categories/api)

idnexacloud/laravel-bytedocs
============================

Alternative Swagger with better design, auto-detect routes, and AI integration for Laravel

v1.2.0(6mo ago)8107MITBladePHP ^8.0

Since Oct 1Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/idnexacloud/bytedocs-laravel)[ Packagist](https://packagist.org/packages/idnexacloud/laravel-bytedocs)[ RSS](/packages/idnexacloud-laravel-bytedocs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (8)Versions (4)Used By (0)

ByteDocs Laravel Package
========================

[](#bytedocs-laravel-package)

[![Latest Stable Version](https://camo.githubusercontent.com/47957c214c034aeda6ed438d5e9bd8bc9eb9a762a15619b1178b02902ccc9e29/68747470733a2f2f706f7365722e707567782e6f72672f69646e657861636c6f75642f62797465646f63732d6c61726176656c2f762f737461626c65)](https://packagist.org/packages/idnexacloud/laravel-bytedocs)[![License](https://camo.githubusercontent.com/00eb1314241f9c6306d09d0faebd1fb9e0b324bd198f565ad0280e7b8af59956/68747470733a2f2f706f7365722e707567782e6f72672f69646e657861636c6f75642f62797465646f63732d6c61726176656c2f6c6963656e7365)](https://packagist.org/packages/idnexacloud/laravel-bytedocs)[![PHP Version](https://camo.githubusercontent.com/f32695bd6f65b12545162e869707d33dac6bcb5f6e5dc0d48b6d1f8162b6c247/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e302d626c75652e737667)](https://php.net/)[![Laravel Version](https://camo.githubusercontent.com/9c2b239c705e3ea83b7801af260504d28f2334daa223a52a9b9480363e6d118a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d253345253344392e302d7265642e737667)](https://laravel.com/)

[![bytedocs web here](https://camo.githubusercontent.com/8362c33fa44e812b4b8f14a1a4e4c5aa33272b0ae9a6abb7d6f5327f900f8db9/68747470733a2f2f696b2e696d6167656b69742e696f2f776f73346638706c692f62797465646f63732d7765622e706e67)](https://camo.githubusercontent.com/8362c33fa44e812b4b8f14a1a4e4c5aa33272b0ae9a6abb7d6f5327f900f8db9/68747470733a2f2f696b2e696d6167656b69742e696f2f776f73346638706c692f62797465646f63732d7765622e706e67)

**ByteDocs Laravel** is a modern alternative to Swagger with better design, auto-detection, and AI integration for Laravel applications. It automatically generates beautiful API documentation from your Laravel routes with zero configuration required.

Features
--------

[](#features)

- 🚀 **Auto Route Detection** - Automatically discovers and documents all your Laravel routes
- 🎨 **Beautiful Modern UI** - Clean, responsive interface with dark mode support
- 🤖 **AI Integration** - Built-in AI assistant to help users understand your API
- 📱 **Mobile Responsive** - Works perfectly on all device sizes
- 🔍 **Advanced Search** - Quickly find endpoints with powerful search
- 📊 **OpenAPI Compatible** - Exports standard OpenAPI 3.1.0 specification in JSON and YAML formats
- 🔐 **Authentication Support** - Protect your docs with session-based authentication
- ⚡ **Zero Configuration** - Works out of the box with sensible defaults
- 🔧 **Highly Customizable** - Configure everything to match your needs
- ⚙️ **FormRequest Auto-Detection** - Automatically parses Laravel FormRequest validation rules

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

[](#installation)

Install the package via Composer:

```
composer require idnexacloud/laravel-bytedocs
```

The package will automatically register its service provider.

Quick Start
-----------

[](#quick-start)

### 1. Publish Configuration (Optional)

[](#1-publish-configuration-optional)

```
php artisan vendor:publish --provider="ByteDocs\Laravel\ByteDocsServiceProvider" --tag="bytedocs-config"
```

### 2. Add to Your Routes

[](#2-add-to-your-routes)

ByteDocs automatically detects all your routes! Just visit `/docs` to see your documentation.

### 3. Add Route Annotations (Optional)

[](#3-add-route-annotations-optional)

Enhance your documentation with PHPDoc comments:

```
