Download the PHP package idnexacloud/laravel-bytedocs without Composer
On this page you can find all versions of the php package idnexacloud/laravel-bytedocs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idnexacloud/laravel-bytedocs
More information about idnexacloud/laravel-bytedocs
Files in idnexacloud/laravel-bytedocs
Package laravel-bytedocs
Short Description Alternative Swagger with better design, auto-detect routes, and AI integration for Laravel
License MIT
Informations about the package laravel-bytedocs
ByteDocs Laravel Package

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
- 🚀 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
Install the package via Composer:
The package will automatically register its service provider.
Quick Start
1. Publish Configuration (Optional)
2. Add to Your Routes
ByteDocs automatically detects all your routes! Just visit /docs to see your documentation.
3. Add Route Annotations (Optional)
Enhance your documentation with PHPDoc comments:
Configuration
Basic Configuration
AI Integration
Enable AI assistance for your API documentation:
Add to your .env:
Supported AI Providers
OpenAI
Google Gemini
OpenRouter
Claude
Advanced Usage
Manual Route Registration
Export OpenAPI Specifications
Exclude Routes
Custom UI Configuration
API Endpoints
Once installed, ByteDocs provides these endpoints:
GET /docs- Main documentation interface with beautiful UIGET /docs/api-data.json- Raw documentation dataGET /docs/openapi.json- OpenAPI 3.1.0 specification (JSON format)GET /docs/openapi.yaml- OpenAPI 3.1.0 specification (YAML format)POST /docs/chat- AI chat endpoint (if AI is enabled)
Environment Variables
Annotation Reference
Document your routes with PHPDoc comments:
Parameters:
parameter_name: Name of the parameterlocation:path,query,header, orbodytype:string,integer,boolean,array, etc.required:trueorfalse"Description": Human-readable description in quotes
Examples:
Requirements
- PHP 8.0+
- Laravel 9.0+
- GuzzleHTTP 7.0+
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
The MIT License (MIT). Please see License File for more information.
Support
Made with ❤️ for the Laravel community
All versions of laravel-bytedocs with dependencies
laravel/framework Version ^9.0|^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
illuminate/routing Version ^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0
symfony/yaml Version ^5.0|^6.0|^7.0